#283A39

Closest named color: Onyx (#343A40). oklch(33.3% 0.023 191.8), rgb(40, 58, 57).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessdark (33%)
Chromaclose to neutral grey (0.023)
Temperatureneutral
Nearest nameOnyx (#343A40)
Black text1.75:1
White text11.96:1

Values

HEX#283A39
RGBrgb(40, 58, 57)
HSLhsl(177, 18%, 19%)
OKLCHoklch(33.3% 0.023 191.8)

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 #283A39 11.96:1 AAA Lc -101.0 Preferred for body text
Black text on #283A39 1.75:1 Fails Lc 0.0 Not readable
#283A39 text on white 11.96:1 AAA Lc 97.4 Preferred for body text
#283A39 text on black 1.75: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

    #F4F6F6

    oklch(97.2% 0.002 197.1)

  2. Step 100

    100

    #E6EBEB

    oklch(93.6% 0.005 197.1)

  3. Step 200

    200

    #D2DBDB

    oklch(88.5% 0.01 197)

  4. Step 300

    300

    #B4C4C3

    oklch(80.8% 0.018 192.3)

  5. Step 400

    400

    #8DA6A5

    oklch(70.6% 0.028 193.6)

  6. Step 500

    500

    #71918F

    oklch(63.2% 0.036 191.5)

  7. Step 600

    600

    #597B79

    oklch(55.6% 0.039 191.5)

  8. Step 700

    700

    #496766

    oklch(49% 0.035 193.5)

  9. Step 800

    800

    #3C5453

    oklch(42.6% 0.029 192.9)

  10. Step 900

    900 (this color)

    #283A39

    oklch(33.3% 0.023 191.8)

  11. Step 950

    950

    #1E2928

    oklch(27% 0.015 189.4)

Export this scale for Tailwind in the Tailwind colors tool

#283A39 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)#3838390.025
Deuteranopia (no green cones)#3436390.022
Tritanopia (no blue cones)#223B3A0.008
Achromatopsia (no color)#3737370.024

Harmonies

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

Complementary

The opposite hue (180°).

  • #283A39

    #283A39

    oklch(33.3% 0.023 191.8)

  • #413133

    #413133

    oklch(33.2% 0.023 10)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #283A39

    #283A39

    oklch(33.3% 0.023 191.8)

  • #2B3A32

    #2B3A32

    oklch(33.2% 0.024 161.4)

  • #29393F

    #29393F

    oklch(33.3% 0.023 223)

Open the analogous palette in the generator

Split complementary

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

  • #283A39

    #283A39

    oklch(33.3% 0.023 191.8)

  • #3F3139

    #3F3139

    oklch(33.2% 0.024 343.2)

  • #41322D

    #41322D

    oklch(33.2% 0.024 39.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #283A39

    #283A39

    oklch(33.3% 0.023 191.8)

  • #3A333F

    #3A333F

    oklch(33.3% 0.023 311.2)

  • #3E3429

    #3E3429

    oklch(33.2% 0.023 69.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #283A39

    #283A39

    oklch(33.3% 0.023 191.8)

  • #343542

    #343542

    oklch(33.3% 0.023 281.6)

  • #413133

    #413133

    oklch(33.2% 0.023 10)

  • #383729

    #383729

    oklch(33.3% 0.023 104.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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