#287CAC

Closest named color: Nice Blue (#107AB0). oklch(55.9% 0.108 238.6), rgb(40, 124, 172).

Aa

White text reads best on this color (4.59:1).

About this color

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

Hue familyBlues
Lightnessmedium-dark (56%)
Chromamoderately saturated (0.108)
Temperaturecool
Nearest nameNice Blue (#107AB0)
Black text4.56:1
White text4.59:1

Values

HEX#287CAC
RGBrgb(40, 124, 172)
HSLhsl(202, 62%, 42%)
OKLCHoklch(55.9% 0.108 238.6)

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 #287CAC 4.59:1 AA Lc -77.0 Fine for body text
Black text on #287CAC 4.56:1 AA Lc 32.5 Non-text elements, placeholder text
#287CAC text on white 4.59:1 AA Lc 71.6 Content text, not long reading
#287CAC text on black 4.56:1 AA Lc -30.1 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

    #F2F6F9

    oklch(97.1% 0.006 239.8)

  2. Step 100

    100

    #E2EBF2

    oklch(93.5% 0.014 241)

  3. Step 200

    200

    #CADCE9

    oklch(88.5% 0.026 239.1)

  4. Step 300

    300

    #A4C6DD

    oklch(80.9% 0.049 237.8)

  5. Step 400

    400

    #72A8CC

    oklch(70.7% 0.078 238.5)

  6. Step 500

    500

    #4992BF

    oklch(63.2% 0.1 238.2)

  7. Step 600

    600 (this color)

    #287CAC

    oklch(55.9% 0.108 238.6)

  8. Step 700

    700

    #186893

    oklch(49.2% 0.1 238.3)

  9. Step 800

    800

    #185577

    oklch(42.8% 0.082 238.1)

  10. Step 900

    900

    #1B4660

    oklch(37.7% 0.065 238.5)

  11. Step 950

    950

    #112938

    oklch(26.9% 0.041 238.3)

Export this scale for Tailwind in the Tailwind colors tool

#287CAC 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)#657CAE0.058
Deuteranopia (no green cones)#5370AB0.047
Tritanopia (no blue cones)#00888D0.070
Achromatopsia (no color)#7575750.108

Harmonies

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

Complementary

The opposite hue (180°).

  • #287CAC

    #287CAC

    oklch(55.9% 0.108 238.6)

  • #A2632B

    #A2632B

    oklch(55.9% 0.108 59.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #287CAC

    #287CAC

    oklch(55.9% 0.108 238.6)

  • #008392

    #008392

    oklch(55.8% 0.096 208.8)

  • #5A70B4

    #5A70B4

    oklch(55.8% 0.109 269.1)

Open the analogous palette in the generator

Split complementary

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

  • #287CAC

    #287CAC

    oklch(55.9% 0.108 238.6)

  • #AA594F

    #AA594F

    oklch(55.8% 0.108 28.3)

  • #8E7014

    #8E7014

    oklch(55.9% 0.108 88.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #287CAC

    #287CAC

    oklch(55.9% 0.108 238.6)

  • #A65773

    #A65773

    oklch(55.9% 0.108 358.6)

  • #6E7D2A

    #6E7D2A

    oklch(56% 0.109 118.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #287CAC

    #287CAC

    oklch(55.9% 0.108 238.6)

  • #965C94

    #965C94

    oklch(55.9% 0.108 328.1)

  • #A2632B

    #A2632B

    oklch(55.9% 0.108 59.1)

  • #42854F

    #42854F

    oklch(55.8% 0.108 148.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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