#187CEF

Closest named color: Clear Blue (#247AFD). oklch(59.7% 0.193 256.2), rgb(24, 124, 239).

Aa

Black text reads best on this color (5.16:1).

About this color

#187CEF is a medium-dark, vivid blue. In OKLCH its lightness is 60%, its chroma 0.193 and its hue 256°. Its hue sits on the cool side of the wheel. The nearest named color is Clear Blue (#247AFD), ΔE 0.023 away. Black text reads best on it, at 5.16:1.

Hue familyBlues
Lightnessmedium-dark (60%)
Chromavivid (0.193)
Temperaturecool
Nearest nameClear Blue (#247AFD)
Black text5.16:1
White text4.06:1

Values

HEX#187CEF
RGBrgb(24, 124, 239)
HSLhsl(212, 87%, 52%)
OKLCHoklch(59.7% 0.193 256.2)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #187CEF 4.06:1 AA large text Lc -72.7 Content text, not long reading
Black text on #187CEF 5.16:1 AA Lc 36.9 Non-text elements, placeholder text
#187CEF text on white 4.06:1 AA large text Lc 67.2 Content text, not long reading
#187CEF text on black 5.16:1 AA Lc -34.5 Non-text elements, placeholder text

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 500.

  1. Step 50

    50

    #F0F6FE

    oklch(97.1% 0.012 255.5)

  2. Step 100

    100

    #DEEBFD

    oklch(93.6% 0.028 256.5)

  3. Step 200

    200

    #C3DBFC

    oklch(88.4% 0.052 256.4)

  4. Step 300

    300

    #99C3FD

    oklch(80.8% 0.094 256.6)

  5. Step 400

    400

    #5DA2FD

    oklch(70.8% 0.151 256)

  6. Step 500

    500 (this color)

    #187CEF

    oklch(59.7% 0.193 256.2)

  7. Step 600

    600

    #006FDF

    oklch(55.6% 0.191 256.1)

  8. Step 700

    700

    #005DBD

    oklch(49.1% 0.169 256.1)

  9. Step 800

    800

    #004C9D

    oklch(42.8% 0.147 256.2)

  10. Step 900

    900

    #033F82

    oklch(37.6% 0.126 256.1)

  11. Step 950

    950

    #07264C

    oklch(27.1% 0.079 255.8)

Export this scale for Tailwind in the Tailwind colors tool

#187CEF with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#3688F30.038
Deuteranopia (no green cones)#0075ED0.020
Tritanopia (no blue cones)#0098AA0.145
Achromatopsia (no color)#7E7E7E0.193

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #187CEF

    #187CEF

    oklch(59.7% 0.193 256.2)

  • #A97300

    #A97300

    oklch(59.6% 0.125 76.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #187CEF

    #187CEF

    oklch(59.7% 0.193 256.2)

  • #008CB3

    #008CB3

    oklch(59.6% 0.114 226.2)

  • #7A65EB

    #7A65EB

    oklch(59.7% 0.194 286.1)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #187CEF

    #187CEF

    oklch(59.7% 0.193 256.2)

  • #CC5700

    #CC5700

    oklch(59.8% 0.167 46.3)

  • #8A8300

    #8A8300

    oklch(59.7% 0.127 105.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #187CEF

    #187CEF

    oklch(59.7% 0.193 256.2)

  • #DA3C56

    #DA3C56

    oklch(59.7% 0.194 16.2)

  • #479600

    #479600

    oklch(59.9% 0.179 136.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #187CEF

    #187CEF

    oklch(59.7% 0.193 256.2)

  • #CB4197

    #CB4197

    oklch(59.8% 0.194 346.2)

  • #A97300

    #A97300

    oklch(59.6% 0.125 76.2)

  • #00966E

    #00966E

    oklch(59.7% 0.124 166)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #187CEF, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #187CEF in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.