#283F3E

Closest named color: Onyx (#343A40). oklch(34.8% 0.029 192.5), rgb(40, 63, 62).

Aa

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

About this color

#283F3E is a dark close to neutral grey. In OKLCH its lightness is 35%, its chroma 0.029. It has too little chroma to lean warm or cool. The nearest named color is Onyx (#343A40), ΔE 0.024 away. White text reads best on it, at 11.22:1.

Hue familyNeutrals
Lightnessdark (35%)
Chromaclose to neutral grey (0.029)
Temperatureneutral
Nearest nameOnyx (#343A40)
Black text1.87:1
White text11.22:1

Values

HEX#283F3E
RGBrgb(40, 63, 62)
HSLhsl(177, 22%, 20%)
OKLCHoklch(34.8% 0.029 192.5)

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 #283F3E 11.22:1 AAA Lc -99.7 Preferred for body text
Black text on #283F3E 1.87:1 Fails Lc 8.0 Not readable
#283F3E text on white 11.22:1 AAA Lc 95.9 Preferred for body text
#283F3E text on black 1.87:1 Fails Lc 0.0 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

    #D1DCDB

    oklch(88.6% 0.012 190.4)

  4. Step 300

    300

    #B2C5C4

    oklch(80.9% 0.021 192.9)

  5. Step 400

    400

    #88A8A6

    oklch(70.7% 0.035 191.7)

  6. Step 500

    500

    #6A9290

    oklch(63% 0.044 192.2)

  7. Step 600

    600

    #517D7B

    oklch(55.7% 0.049 192.2)

  8. Step 700

    700

    #426967

    oklch(49.1% 0.044 191.7)

  9. Step 800

    800

    #365654

    oklch(42.8% 0.038 190.8)

  10. Step 900

    900 (this color)

    #283F3E

    oklch(34.8% 0.029 192.5)

  11. Step 950

    950

    #1C2929

    oklch(26.9% 0.018 196.1)

Export this scale for Tailwind in the Tailwind colors tool

#283F3E 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)#3C3D3E0.030
Deuteranopia (no green cones)#383A3E0.027
Tritanopia (no blue cones)#20403F0.009
Achromatopsia (no color)#3B3B3B0.029

Harmonies

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

Complementary

The opposite hue (180°).

  • #283F3E

    #283F3E

    oklch(34.8% 0.029 192.5)

  • #483436

    #483436

    oklch(34.8% 0.029 12)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #283F3E

    #283F3E

    oklch(34.8% 0.029 192.5)

  • #2C3F36

    #2C3F36

    oklch(34.8% 0.029 164)

  • #293E45

    #293E45

    oklch(34.9% 0.029 220.7)

Open the analogous palette in the generator

Split complementary

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

  • #283F3E

    #283F3E

    oklch(34.8% 0.029 192.5)

  • #45343E

    #45343E

    oklch(34.8% 0.029 342.6)

  • #47352E

    #47352E

    oklch(34.7% 0.029 42.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #283F3E

    #283F3E

    oklch(34.8% 0.029 192.5)

  • #3F3645

    #3F3645

    oklch(34.8% 0.028 311.8)

  • #44382A

    #44382A

    oklch(34.9% 0.029 71)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #283F3E

    #283F3E

    oklch(34.8% 0.029 192.5)

  • #383849

    #383849

    oklch(34.8% 0.029 284.8)

  • #483436

    #483436

    oklch(34.8% 0.029 12)

  • #3D3B29

    #3D3B29

    oklch(34.9% 0.03 102.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #283F3E 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.