#284142

Closest named color: Onyx (#343A40). oklch(35.5% 0.031 199.1), rgb(40, 65, 66).

Aa

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

About this color

#284142 is a dark, muted teal or cyan. In OKLCH its lightness is 36%, its chroma 0.031 and its hue 199°. Its hue sits on the cool side of the wheel. The nearest named color is Onyx (#343A40), ΔE 0.026 away. White text reads best on it, at 10.90:1.

Hue familyTeals and cyans
Lightnessdark (36%)
Chromamuted (0.031)
Temperaturecool
Nearest nameOnyx (#343A40)
Black text1.92:1
White text10.90:1

Values

HEX#284142
RGBrgb(40, 65, 66)
HSLhsl(182, 25%, 21%)
OKLCHoklch(35.5% 0.031 199.1)

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 #284142 10.90:1 AAA Lc -99.1 Preferred for body text
Black text on #284142 1.92:1 Fails Lc 8.7 Not readable
#284142 text on white 10.90:1 AAA Lc 95.2 Preferred for body text
#284142 text on black 1.92:1 Fails Lc -7.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

    #F3F6F6

    oklch(97.1% 0.003 197.1)

  2. Step 100

    100

    #E5EBEB

    oklch(93.6% 0.006 197)

  3. Step 200

    200

    #D0DCDC

    oklch(88.5% 0.013 196.9)

  4. Step 300

    300

    #B0C5C6

    oklch(80.8% 0.023 200.2)

  5. Step 400

    400

    #86A8A9

    oklch(70.7% 0.037 198.6)

  6. Step 500

    500

    #679394

    oklch(63.2% 0.048 197.8)

  7. Step 600

    600

    #4E7D7F

    oklch(55.7% 0.051 199.2)

  8. Step 700

    700

    #3E696B

    oklch(49% 0.048 199.5)

  9. Step 800

    800

    #345657

    oklch(42.8% 0.04 198.2)

  10. Step 900

    900 (this color)

    #284142

    oklch(35.5% 0.031 199.1)

  11. Step 950

    950

    #1B292A

    oklch(26.9% 0.019 201.6)

Export this scale for Tailwind in the Tailwind colors tool

#284142 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)#3E3F420.032
Deuteranopia (no green cones)#393B420.030
Tritanopia (no blue cones)#1E43410.013
Achromatopsia (no color)#3D3D3D0.031

Harmonies

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

Complementary

The opposite hue (180°).

  • #284142

    #284142

    oklch(35.5% 0.031 199.1)

  • #4B3635

    #4B3635

    oklch(35.6% 0.03 21.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #284142

    #284142

    oklch(35.5% 0.031 199.1)

  • #2C4139

    #2C4139

    oklch(35.5% 0.03 169)

  • #2B3F49

    #2B3F49

    oklch(35.5% 0.031 230.3)

Open the analogous palette in the generator

Split complementary

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

  • #284142

    #284142

    oklch(35.5% 0.031 199.1)

  • #49353E

    #49353E

    oklch(35.5% 0.032 350.1)

  • #4A372E

    #4A372E

    oklch(35.5% 0.031 46.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #284142

    #284142

    oklch(35.5% 0.031 199.1)

  • #433746

    #433746

    oklch(35.5% 0.03 319.5)

  • #453A2A

    #453A2A

    oklch(35.5% 0.03 76.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #284142

    #284142

    oklch(35.5% 0.031 199.1)

  • #3B394B

    #3B394B

    oklch(35.4% 0.031 289.8)

  • #4B3635

    #4B3635

    oklch(35.6% 0.03 21.8)

  • #3D3D2B

    #3D3D2B

    oklch(35.5% 0.029 107.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #284142 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.