#287FE2

Closest named color: Clear Blue (#247AFD). oklch(59.8% 0.171 254.8), rgb(40, 127, 226).

Aa

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

About this color

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

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

Values

HEX#287FE2
RGBrgb(40, 127, 226)
HSLhsl(212, 76%, 52%)
OKLCHoklch(59.8% 0.171 254.8)

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 #287FE2 4.01:1 AA large text Lc -72.5 Content text, not long reading
Black text on #287FE2 5.22:1 AA Lc 37.1 Non-text elements, placeholder text
#287FE2 text on white 4.01:1 AA large text Lc 67.0 Content text, not long reading
#287FE2 text on black 5.22:1 AA Lc -34.7 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

    #F1F6FD

    oklch(97.1% 0.011 256.7)

  2. Step 100

    100

    #DFEBFA

    oklch(93.6% 0.024 254)

  3. Step 200

    200

    #C5DBF8

    oklch(88.4% 0.047 255.4)

  4. Step 300

    300

    #9CC4F6

    oklch(80.9% 0.083 254.3)

  5. Step 400

    400

    #64A3F2

    oklch(70.7% 0.134 254.9)

  6. Step 500

    500 (this color)

    #287FE2

    oklch(59.8% 0.171 254.8)

  7. Step 600

    600

    #0071DA

    oklch(55.6% 0.182 254.8)

  8. Step 700

    700

    #005FB9

    oklch(49.2% 0.161 254.8)

  9. Step 800

    800

    #004D99

    oklch(42.7% 0.14 255)

  10. Step 900

    900

    #0D417B

    oklch(37.7% 0.112 254.9)

  11. Step 950

    950

    #0A2748

    oklch(27.1% 0.07 254.2)

Export this scale for Tailwind in the Tailwind colors tool

#287FE2 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)#4B88E60.038
Deuteranopia (no green cones)#2377E00.022
Tritanopia (no blue cones)#0097A50.129
Achromatopsia (no color)#7F7F7F0.171

Harmonies

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

Complementary

The opposite hue (180°).

  • #287FE2

    #287FE2

    oklch(59.8% 0.171 254.8)

  • #AB7300

    #AB7300

    oklch(59.9% 0.126 75.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #287FE2

    #287FE2

    oklch(59.8% 0.171 254.8)

  • #008DB2

    #008DB2

    oklch(59.8% 0.113 224.8)

  • #786BE0

    #786BE0

    oklch(59.8% 0.172 285)

Open the analogous palette in the generator

Split complementary

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

  • #287FE2

    #287FE2

    oklch(59.8% 0.171 254.8)

  • #CE5502

    #CE5502

    oklch(59.8% 0.17 44.9)

  • #8C8300

    #8C8300

    oklch(59.9% 0.127 104.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #287FE2

    #287FE2

    oklch(59.8% 0.171 254.8)

  • #D1495E

    #D1495E

    oklch(59.8% 0.171 14.9)

  • #4E940B

    #4E940B

    oklch(59.7% 0.17 134.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #287FE2

    #287FE2

    oklch(59.8% 0.171 254.8)

  • #C24D97

    #C24D97

    oklch(59.7% 0.17 344.6)

  • #AB7300

    #AB7300

    oklch(59.9% 0.126 75.1)

  • #00976C

    #00976C

    oklch(59.9% 0.127 164.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #287FE2 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.