#284A45

Closest named color: Dark Slate Gray (#2F4F4F). oklch(38.2% 0.041 183.7), rgb(40, 74, 69).

Aa

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

About this color

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

Hue familyTeals and cyans
Lightnessdark (38%)
Chromamuted (0.041)
Temperaturecool
Nearest nameDark Slate Gray (#2F4F4F)
Black text2.15:1
White text9.74:1

Values

HEX#284A45
RGBrgb(40, 74, 69)
HSLhsl(171, 30%, 22%)
OKLCHoklch(38.2% 0.041 183.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 #284A45 9.74:1 AAA Lc -96.7 Preferred for body text
Black text on #284A45 2.15:1 Fails Lc 11.4 Not readable
#284A45 text on white 9.74:1 AAA Lc 92.5 Preferred for body text
#284A45 text on black 2.15:1 Fails Lc -9.9 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

    #F3F6F6

    oklch(97.1% 0.003 197.1)

  2. Step 100

    100

    #E4ECEA

    oklch(93.6% 0.009 179.6)

  3. Step 200

    200

    #CEDDDA

    oklch(88.5% 0.017 182.7)

  4. Step 300

    300

    #ACC7C3

    oklch(80.8% 0.03 185.8)

  5. Step 400

    400

    #7EABA4

    oklch(70.7% 0.049 184.3)

  6. Step 500

    500

    #5C968D

    oklch(63.1% 0.063 183.4)

  7. Step 600

    600

    #408077

    oklch(55.5% 0.068 183.6)

  8. Step 700

    700

    #316D64

    oklch(49.2% 0.064 182.5)

  9. Step 800

    800

    #2A5852

    oklch(42.6% 0.052 184.4)

  10. Step 900

    900 (this color)

    #284A45

    oklch(38.2% 0.041 183.7)

  11. Step 950

    950

    #172B28

    oklch(27.1% 0.027 183.8)

Export this scale for Tailwind in the Tailwind colors tool

#284A45 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)#4747450.043
Deuteranopia (no green cones)#4142450.041
Tritanopia (no blue cones)#1B4B480.012
Achromatopsia (no color)#4444440.041

Harmonies

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

Complementary

The opposite hue (180°).

  • #284A45

    #284A45

    oklch(38.2% 0.041 183.7)

  • #563A40

    #563A40

    oklch(38.3% 0.041 5.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #284A45

    #284A45

    oklch(38.2% 0.041 183.7)

  • #314939

    #314939

    oklch(38% 0.04 154.9)

  • #274950

    #274950

    oklch(38.3% 0.041 212.4)

Open the analogous palette in the generator

Split complementary

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

  • #284A45

    #284A45

    oklch(38.2% 0.041 183.7)

  • #503B4C

    #503B4C

    oklch(38.2% 0.04 333.1)

  • #563B34

    #563B34

    oklch(38.1% 0.04 35.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #284A45

    #284A45

    oklch(38.2% 0.041 183.7)

  • #473D55

    #473D55

    oklch(38% 0.042 303.5)

  • #523E2C

    #523E2C

    oklch(38.1% 0.04 63.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #284A45

    #284A45

    oklch(38.2% 0.041 183.7)

  • #3C4159

    #3C4159

    oklch(38.1% 0.042 275.1)

  • #563A40

    #563A40

    oklch(38.3% 0.041 5.1)

  • #4A4229

    #4A4229

    oklch(38% 0.04 92.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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