#287FB2

Closest named color: Nice Blue (#107AB0). oklch(56.9% 0.112 239.4), rgb(40, 127, 178).

Aa

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

About this color

#287FB2 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 57%, its chroma 0.112 and its hue 239°. Its hue sits on the cool side of the wheel. The nearest named color is Nice Blue (#107AB0), ΔE 0.019 away. Black text reads best on it, at 4.76:1.

Hue familyBlues
Lightnessmedium-dark (57%)
Chromamoderately saturated (0.112)
Temperaturecool
Nearest nameNice Blue (#107AB0)
Black text4.76:1
White text4.40:1

Values

HEX#287FB2
RGBrgb(40, 127, 178)
HSLhsl(202, 63%, 43%)
OKLCHoklch(56.9% 0.112 239.4)

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 #287FB2 4.40:1 AA large text Lc -75.7 Fine for body text
Black text on #287FB2 4.76:1 AA Lc 33.9 Non-text elements, placeholder text
#287FB2 text on white 4.40:1 AA large text Lc 70.2 Content text, not long reading
#287FB2 text on black 4.76:1 AA Lc -31.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 600.

  1. Step 50

    50

    #F1F6FA

    oklch(97.1% 0.008 241.7)

  2. Step 100

    100

    #E1EBF3

    oklch(93.5% 0.015 241.8)

  3. Step 200

    200

    #C9DCEA

    oklch(88.5% 0.028 239.7)

  4. Step 300

    300

    #A4C6DE

    oklch(81% 0.05 239)

  5. Step 400

    400

    #70A8CE

    oklch(70.7% 0.081 239.1)

  6. Step 500

    500

    #4791C1

    oklch(63% 0.103 239.7)

  7. Step 600

    600 (this color)

    #287FB2

    oklch(56.9% 0.112 239.4)

  8. Step 700

    700

    #136795

    oklch(49% 0.104 239.6)

  9. Step 800

    800

    #155479

    oklch(42.6% 0.087 240)

  10. Step 900

    900

    #1A4661

    oklch(37.7% 0.067 239.1)

  11. Step 950

    950

    #112939

    oklch(27% 0.042 240.1)

Export this scale for Tailwind in the Tailwind colors tool

#287FB2 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)#677FB40.059
Deuteranopia (no green cones)#5472B10.048
Tritanopia (no blue cones)#008C910.075
Achromatopsia (no color)#7878780.112

Harmonies

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

Complementary

The opposite hue (180°).

  • #287FB2

    #287FB2

    oklch(56.9% 0.112 239.4)

  • #A76529

    #A76529

    oklch(56.9% 0.112 59.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #287FB2

    #287FB2

    oklch(56.9% 0.112 239.4)

  • #008797

    #008797

    oklch(57.1% 0.099 209.3)

  • #5D73B9

    #5D73B9

    oklch(57% 0.111 269.4)

Open the analogous palette in the generator

Split complementary

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

  • #287FB2

    #287FB2

    oklch(56.9% 0.112 239.4)

  • #B05B4F

    #B05B4F

    oklch(57% 0.113 29.4)

  • #91730F

    #91730F

    oklch(56.9% 0.112 89.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #287FB2

    #287FB2

    oklch(56.9% 0.112 239.4)

  • #AB5975

    #AB5975

    oklch(56.9% 0.111 359.5)

  • #70802A

    #70802A

    oklch(56.9% 0.112 119.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #287FB2

    #287FB2

    oklch(56.9% 0.112 239.4)

  • #9B5D97

    #9B5D97

    oklch(56.8% 0.113 329.3)

  • #A76529

    #A76529

    oklch(56.9% 0.112 59.3)

  • #408952

    #408952

    oklch(56.9% 0.112 149.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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