#287D8C

Closest named color: Ocean (#017B92). oklch(54.6% 0.082 211.7), rgb(40, 125, 140).

Aa

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

About this color

#287D8C is a medium-dark, moderately saturated teal or cyan. In OKLCH its lightness is 55%, its chroma 0.082 and its hue 212°. Its hue sits on the cool side of the wheel. The nearest named color is Ocean (#017B92), ΔE 0.018 away. White text reads best on it, at 4.77:1.

Hue familyTeals and cyans
Lightnessmedium-dark (55%)
Chromamoderately saturated (0.082)
Temperaturecool
Nearest nameOcean (#017B92)
Black text4.40:1
White text4.77:1

Values

HEX#287D8C
RGBrgb(40, 125, 140)
HSLhsl(189, 56%, 35%)
OKLCHoklch(54.6% 0.082 211.7)

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 #287D8C 4.77:1 AA Lc -78.3 Fine for body text
Black text on #287D8C 4.40:1 AA large text Lc 31.3 Non-text elements, placeholder text
#287D8C text on white 4.77:1 AA Lc 72.8 Content text, not long reading
#287D8C text on black 4.40:1 AA large text Lc -28.9 Dividers and decoration only

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

    #F2F6F7

    oklch(97% 0.004 214.3)

  2. Step 100

    100

    #E2ECEE

    oklch(93.6% 0.011 211)

  3. Step 200

    200

    #CBDDE1

    oklch(88.5% 0.02 212.6)

  4. Step 300

    300

    #A6C7CE

    oklch(80.8% 0.037 212)

  5. Step 400

    400

    #75ABB6

    oklch(70.7% 0.059 211.7)

  6. Step 500

    500

    #4D96A4

    oklch(63.2% 0.076 211.6)

  7. Step 600

    600 (this color)

    #287D8C

    oklch(54.6% 0.082 211.7)

  8. Step 700

    700

    #1D6C7A

    oklch(49.1% 0.076 212.2)

  9. Step 800

    800

    #1B5863

    oklch(42.7% 0.063 211.9)

  10. Step 900

    900

    #1E4951

    oklch(37.9% 0.049 211.5)

  11. Step 950

    950

    #132B2F

    oklch(27.2% 0.031 209.5)

Export this scale for Tailwind in the Tailwind colors tool

#287D8C 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)#71798D0.076
Deuteranopia (no green cones)#636E8C0.069
Tritanopia (no blue cones)#0083820.031
Achromatopsia (no color)#7373730.082

Harmonies

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

Complementary

The opposite hue (180°).

  • #287D8C

    #287D8C

    oklch(54.6% 0.082 211.7)

  • #9A5E52

    #9A5E52

    oklch(54.6% 0.081 32)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #287D8C

    #287D8C

    oklch(54.6% 0.082 211.7)

  • #2C8074

    #2C8074

    oklch(54.6% 0.082 182)

  • #42769C

    #42769C

    oklch(54.6% 0.082 242)

Open the analogous palette in the generator

Split complementary

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

  • #287D8C

    #287D8C

    oklch(54.6% 0.082 211.7)

  • #985C6D

    #985C6D

    oklch(54.7% 0.081 1.8)

  • #93653C

    #93653C

    oklch(54.6% 0.082 61.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #287D8C

    #287D8C

    oklch(54.6% 0.082 211.7)

  • #8D5E86

    #8D5E86

    oklch(54.6% 0.083 332)

  • #826F34

    #826F34

    oklch(54.7% 0.082 91.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #287D8C

    #287D8C

    oklch(54.6% 0.082 211.7)

  • #796599

    #796599

    oklch(54.7% 0.082 301.4)

  • #9A5E52

    #9A5E52

    oklch(54.6% 0.081 32)

  • #697840

    #697840

    oklch(54.7% 0.081 121.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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