#283A37

Closest named color: Onyx (#343A40). oklch(33.2% 0.024 183.4), rgb(40, 58, 55).

Aa

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

About this color

#283A37 is a dark close to neutral grey. In OKLCH its lightness is 33%, its chroma 0.024. 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.99:1.

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

Values

HEX#283A37
RGBrgb(40, 58, 55)
HSLhsl(170, 18%, 19%)
OKLCHoklch(33.2% 0.024 183.4)

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

    #F4F6F5

    oklch(97.1% 0.002 165.1)

  2. Step 100

    100

    #E6EBEA

    oklch(93.6% 0.006 183)

  3. Step 200

    200

    #D2DBDA

    oklch(88.4% 0.01 189)

  4. Step 300

    300

    #B5C5C2

    oklch(81% 0.018 183.4)

  5. Step 400

    400

    #8EA7A2

    oklch(70.8% 0.029 182)

  6. Step 500

    500

    #71918C

    oklch(63.1% 0.037 184.6)

  7. Step 600

    600

    #597B76

    oklch(55.5% 0.039 184.9)

  8. Step 700

    700

    #496863

    oklch(49.2% 0.037 183.7)

  9. Step 800

    800

    #3C5551

    oklch(42.8% 0.031 183.9)

  10. Step 900

    900 (this color)

    #283A37

    oklch(33.2% 0.024 183.4)

  11. Step 950

    950

    #1E2927

    oklch(27% 0.016 182.8)

Export this scale for Tailwind in the Tailwind colors tool

#283A37 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)#3838370.025
Deuteranopia (no green cones)#3535370.025
Tritanopia (no blue cones)#233B390.007
Achromatopsia (no color)#3636360.024

Harmonies

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

Complementary

The opposite hue (180°).

  • #283A37

    #283A37

    oklch(33.2% 0.024 183.4)

  • #413134

    #413134

    oklch(33.2% 0.024 5.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #283A37

    #283A37

    oklch(33.2% 0.024 183.4)

  • #2D3A30

    #2D3A30

    oklch(33.3% 0.025 151.9)

  • #28393D

    #28393D

    oklch(33.1% 0.023 213.8)

Open the analogous palette in the generator

Split complementary

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

  • #283A37

    #283A37

    oklch(33.2% 0.024 183.4)

  • #3E313B

    #3E313B

    oklch(33.1% 0.025 334.3)

  • #41322E

    #41322E

    oklch(33.3% 0.023 35.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #283A37

    #283A37

    oklch(33.2% 0.024 183.4)

  • #383340

    #383340

    oklch(33.2% 0.024 302.6)

  • #3F3329

    #3F3329

    oklch(33.1% 0.024 61.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #283A37

    #283A37

    oklch(33.2% 0.024 183.4)

  • #323542

    #323542

    oklch(33.1% 0.023 274.9)

  • #413134

    #413134

    oklch(33.2% 0.024 5.9)

  • #3A3628

    #3A3628

    oklch(33.3% 0.024 94)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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