#283D3A

Closest named color: Onyx (#343A40). oklch(34.1% 0.027 184.9), rgb(40, 61, 58).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessdark (34%)
Chromaclose to neutral grey (0.027)
Temperatureneutral
Nearest nameOnyx (#343A40)
Black text1.81:1
White text11.54:1

Values

HEX#283D3A
RGBrgb(40, 61, 58)
HSLhsl(171, 21%, 20%)
OKLCHoklch(34.1% 0.027 184.9)

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 #283D3A 11.54:1 AAA Lc -100.2 Preferred for body text
Black text on #283D3A 1.81:1 Fails Lc 7.3 Not readable
#283D3A text on white 11.54:1 AAA Lc 96.6 Preferred for body text
#283D3A text on black 1.81: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

    #E6EBEA

    oklch(93.6% 0.006 183)

  3. Step 200

    200

    #D1DCDA

    oklch(88.6% 0.012 184)

  4. Step 300

    300

    #B3C5C2

    oklch(80.9% 0.02 184.8)

  5. Step 400

    400

    #8BA8A3

    oklch(70.8% 0.033 183.8)

  6. Step 500

    500

    #6D928D

    oklch(63.1% 0.042 185.9)

  7. Step 600

    600

    #557C77

    oklch(55.6% 0.044 186)

  8. Step 700

    700

    #456964

    oklch(49.2% 0.042 185)

  9. Step 800

    800

    #395551

    oklch(42.6% 0.034 184.9)

  10. Step 900

    900 (this color)

    #283D3A

    oklch(34.1% 0.027 184.9)

  11. Step 950

    950

    #1D2927

    oklch(26.9% 0.017 183.7)

Export this scale for Tailwind in the Tailwind colors tool

#283D3A 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)#3B3B3A0.029
Deuteranopia (no green cones)#37383A0.027
Tritanopia (no blue cones)#213E3C0.009
Achromatopsia (no color)#3939390.027

Harmonies

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

Complementary

The opposite hue (180°).

  • #283D3A

    #283D3A

    oklch(34.1% 0.027 184.9)

  • #453336

    #453336

    oklch(34.2% 0.026 7.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #283D3A

    #283D3A

    oklch(34.1% 0.027 184.9)

  • #2D3D32

    #2D3D32

    oklch(34.2% 0.028 154.6)

  • #283C41

    #283C41

    oklch(34.1% 0.027 215)

Open the analogous palette in the generator

Split complementary

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

  • #283D3A

    #283D3A

    oklch(34.1% 0.027 184.9)

  • #41333E

    #41333E

    oklch(34.1% 0.027 333.7)

  • #45332F

    #45332F

    oklch(34% 0.027 32.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #283D3A

    #283D3A

    oklch(34.1% 0.027 184.9)

  • #3B3544

    #3B3544

    oklch(34.1% 0.027 303.2)

  • #42362A

    #42362A

    oklch(34.2% 0.026 66.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #283D3A

    #283D3A

    oklch(34.1% 0.027 184.9)

  • #343747

    #343747

    oklch(34.1% 0.028 276.5)

  • #453336

    #453336

    oklch(34.2% 0.026 7.4)

  • #3D3828

    #3D3828

    oklch(34.1% 0.027 92.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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