#284E52

Closest named color: Dark Slate Gray (#2F4F4F). oklch(39.8% 0.044 204.4), rgb(40, 78, 82).

Aa

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

About this color

#284E52 is a dark, muted teal or cyan. In OKLCH its lightness is 40%, its chroma 0.044 and its hue 204°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Slate Gray (#2F4F4F), ΔE 0.010 away. White text reads best on it, at 9.12:1.

Hue familyTeals and cyans
Lightnessdark (40%)
Chromamuted (0.044)
Temperaturecool
Nearest nameDark Slate Gray (#2F4F4F)
Black text2.30:1
White text9.12:1

Values

HEX#284E52
RGBrgb(40, 78, 82)
HSLhsl(186, 34%, 24%)
OKLCHoklch(39.8% 0.044 204.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 #284E52 9.12:1 AAA Lc -95.3 Preferred for body text
Black text on #284E52 2.30:1 Fails Lc 13.1 Not readable
#284E52 text on white 9.12:1 AAA Lc 90.9 Preferred for body text
#284E52 text on black 2.30:1 Fails Lc -11.4 Not readable

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 900.

  1. Step 50

    50

    #F2F6F7

    oklch(97% 0.004 214.3)

  2. Step 100

    100

    #E3ECED

    oklch(93.7% 0.01 204.9)

  3. Step 200

    200

    #CCDDDF

    oklch(88.5% 0.018 205.3)

  4. Step 300

    300

    #A9C7CA

    oklch(80.8% 0.033 203.9)

  5. Step 400

    400

    #7AABB0

    oklch(70.8% 0.052 204)

  6. Step 500

    500

    #55969C

    oklch(63.2% 0.067 203.3)

  7. Step 600

    600

    #368087

    oklch(55.6% 0.073 203.8)

  8. Step 700

    700

    #286C73

    oklch(49.2% 0.068 204.7)

  9. Step 800

    800

    #23585D

    oklch(42.7% 0.056 203.7)

  10. Step 900

    900 (this color)

    #284E52

    oklch(39.8% 0.044 204.4)

  11. Step 950

    950

    #152A2D

    oklch(26.9% 0.027 207.4)

Export this scale for Tailwind in the Tailwind colors tool

#284E52 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)#494B520.044
Deuteranopia (no green cones)#4246520.040
Tritanopia (no blue cones)#11514F0.021
Achromatopsia (no color)#4848480.044

Harmonies

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

Complementary

The opposite hue (180°).

  • #284E52

    #284E52

    oklch(39.8% 0.044 204.4)

  • #5D3E3B

    #5D3E3B

    oklch(39.8% 0.044 25.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #284E52

    #284E52

    oklch(39.8% 0.044 204.4)

  • #2C4F45

    #2C4F45

    oklch(39.8% 0.044 173.7)

  • #2F4B5B

    #2F4B5B

    oklch(39.7% 0.043 234.4)

Open the analogous palette in the generator

Split complementary

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

  • #284E52

    #284E52

    oklch(39.8% 0.044 204.4)

  • #5A3D48

    #5A3D48

    oklch(39.7% 0.044 354.8)

  • #5A4130

    #5A4130

    oklch(39.8% 0.044 55.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #284E52

    #284E52

    oklch(39.8% 0.044 204.4)

  • #533F54

    #533F54

    oklch(39.7% 0.043 324.8)

  • #52452B

    #52452B

    oklch(39.7% 0.044 84)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #284E52

    #284E52

    oklch(39.8% 0.044 204.4)

  • #48435D

    #48435D

    oklch(39.9% 0.044 293.1)

  • #5D3E3B

    #5D3E3B

    oklch(39.8% 0.044 25.4)

  • #464A2E

    #464A2E

    oklch(39.7% 0.044 115.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #284E52 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.