#283F3C

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

Aa

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

About this color

#283F3C 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.026 away. White text reads best on it, at 11.25:1.

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

Values

HEX#283F3C
RGBrgb(40, 63, 60)
HSLhsl(172, 22%, 20%)
OKLCHoklch(34.8% 0.029 185.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 #283F3C 11.25:1 AAA Lc -99.7 Preferred for body text
Black text on #283F3C 1.86:1 Fails Lc 7.9 Not readable
#283F3C text on white 11.25:1 AAA Lc 95.9 Preferred for body text
#283F3C text on black 1.86: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

    #E5EBEA

    oklch(93.5% 0.007 185.3)

  3. Step 200

    200

    #D1DCDA

    oklch(88.6% 0.012 184)

  4. Step 300

    300

    #B2C5C2

    oklch(80.8% 0.021 185.4)

  5. Step 400

    400

    #89A8A4

    oklch(70.7% 0.035 186.8)

  6. Step 500

    500

    #6B938D

    oklch(63.2% 0.045 184.7)

  7. Step 600

    600

    #527D77

    oklch(55.6% 0.049 184.9)

  8. Step 700

    700

    #426964

    oklch(49% 0.045 185.6)

  9. Step 800

    800

    #375652

    oklch(42.8% 0.037 185.7)

  10. Step 900

    900 (this color)

    #283F3C

    oklch(34.8% 0.029 185.7)

  11. Step 950

    950

    #1C2928

    oklch(26.9% 0.018 190.2)

Export this scale for Tailwind in the Tailwind colors tool

#283F3C 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)#3D3D3C0.031
Deuteranopia (no green cones)#39393C0.031
Tritanopia (no blue cones)#20403E0.009
Achromatopsia (no color)#3B3B3B0.030

Harmonies

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

Complementary

The opposite hue (180°).

  • #283F3C

    #283F3C

    oklch(34.8% 0.029 185.7)

  • #483438

    #483438

    oklch(34.9% 0.029 5.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #283F3C

    #283F3C

    oklch(34.8% 0.029 185.7)

  • #2E3F33

    #2E3F33

    oklch(34.9% 0.03 153.9)

  • #283E44

    #283E44

    oklch(34.8% 0.029 216.7)

Open the analogous palette in the generator

Split complementary

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

  • #283F3C

    #283F3C

    oklch(34.8% 0.029 185.7)

  • #443440

    #443440

    oklch(34.7% 0.03 335.3)

  • #48352F

    #48352F

    oklch(34.8% 0.029 38.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #283F3C

    #283F3C

    oklch(34.8% 0.029 185.7)

  • #3E3646

    #3E3646

    oklch(34.8% 0.029 307.5)

  • #45372A

    #45372A

    oklch(34.8% 0.029 64.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #283F3C

    #283F3C

    oklch(34.8% 0.029 185.7)

  • #353949

    #353949

    oklch(34.8% 0.028 273.9)

  • #483438

    #483438

    oklch(34.9% 0.029 5.4)

  • #3E3A28

    #3E3A28

    oklch(34.7% 0.03 97.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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