#287F8A

Closest named color: Teal (#008080). oklch(55.1% 0.082 207.2), rgb(40, 127, 138).

Aa

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

About this color

#287F8A is a medium-dark, moderately saturated teal or cyan. In OKLCH its lightness is 55%, its chroma 0.082 and its hue 207°. Its hue sits on the cool side of the wheel. The nearest named color is Teal (#008080), ΔE 0.023 away. White text reads best on it, at 4.67:1.

Hue familyTeals and cyans
Lightnessmedium-dark (55%)
Chromamoderately saturated (0.082)
Temperaturecool
Nearest nameTeal (#008080)
Black text4.49:1
White text4.67:1

Values

HEX#287F8A
RGBrgb(40, 127, 138)
HSLhsl(187, 55%, 35%)
OKLCHoklch(55.1% 0.082 207.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 #287F8A 4.67:1 AA Lc -77.6 Fine for body text
Black text on #287F8A 4.49:1 AA large text Lc 31.9 Non-text elements, placeholder text
#287F8A text on white 4.67:1 AA Lc 72.2 Content text, not long reading
#287F8A text on black 4.49:1 AA large text Lc -29.5 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

    #E2ECED

    oklch(93.6% 0.011 204.1)

  3. Step 200

    200

    #CADDE0

    oklch(88.4% 0.021 208.1)

  4. Step 300

    300

    #A6C8CD

    oklch(81% 0.037 207.3)

  5. Step 400

    400

    #74ABB3

    oklch(70.6% 0.059 207.4)

  6. Step 500

    500

    #4C96A1

    oklch(63% 0.075 208.1)

  7. Step 600

    600 (this color)

    #287F8A

    oklch(55.1% 0.082 207.2)

  8. Step 700

    700

    #1B6D77

    oklch(49.2% 0.076 207.1)

  9. Step 800

    800

    #1A5960

    oklch(42.8% 0.063 205.7)

  10. Step 900

    900

    #1D494F

    oklch(37.7% 0.049 207.4)

  11. Step 950

    950

    #122B2E

    oklch(27.1% 0.031 205.7)

Export this scale for Tailwind in the Tailwind colors tool

#287F8A 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)#747A8B0.079
Deuteranopia (no green cones)#66708A0.072
Tritanopia (no blue cones)#0085820.028
Achromatopsia (no color)#7474740.082

Harmonies

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

Complementary

The opposite hue (180°).

  • #287F8A

    #287F8A

    oklch(55.1% 0.082 207.2)

  • #9C5F57

    #9C5F57

    oklch(55.1% 0.081 28)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #287F8A

    #287F8A

    oklch(55.1% 0.082 207.2)

  • #328171

    #328171

    oklch(55% 0.081 177.5)

  • #3F799C

    #3F799C

    oklch(55.2% 0.082 237.3)

Open the analogous palette in the generator

Split complementary

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

  • #287F8A

    #287F8A

    oklch(55.1% 0.082 207.2)

  • #985D72

    #985D72

    oklch(55% 0.082 357.2)

  • #966540

    #966540

    oklch(55.1% 0.082 57.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #287F8A

    #287F8A

    oklch(55.1% 0.082 207.2)

  • #8B608B

    #8B608B

    oklch(55% 0.083 326.6)

  • #866F35

    #866F35

    oklch(55.1% 0.082 87.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #287F8A

    #287F8A

    oklch(55.1% 0.082 207.2)

  • #77679C

    #77679C

    oklch(55% 0.083 297.5)

  • #9C5F57

    #9C5F57

    oklch(55.1% 0.081 28)

  • #6E783E

    #6E783E

    oklch(55% 0.082 117.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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