#283238

Closest named color: Gunmetal (#293241). oklch(31% 0.017 234.5), rgb(40, 50, 56).

Aa

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

About this color

#283238 is a dark close to neutral grey. In OKLCH its lightness is 31%, its chroma 0.017. It has too little chroma to lean warm or cool. The nearest named color is Gunmetal (#293241), ΔE 0.017 away. White text reads best on it, at 13.09:1.

Hue familyNeutrals
Lightnessdark (31%)
Chromaclose to neutral grey (0.017)
Temperatureneutral
Nearest nameGunmetal (#293241)
Black text1.60:1
White text13.09:1

Values

HEX#283238
RGBrgb(40, 50, 56)
HSLhsl(203, 17%, 19%)
OKLCHoklch(31% 0.017 234.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 #283238 13.09:1 AAA Lc -102.6 Preferred for body text
Black text on #283238 1.60:1 Fails Lc 0.0 Not readable
#283238 text on white 13.09:1 AAA Lc 99.4 Preferred for body text
#283238 text on black 1.60: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 950.

  1. Step 50

    50

    #F4F6F7

    oklch(97.2% 0.003 228.8)

  2. Step 100

    100

    #E6EAED

    oklch(93.5% 0.006 239.8)

  3. Step 200

    200

    #D2DAE0

    oklch(88.4% 0.012 239.9)

  4. Step 300

    300

    #B4C3CC

    oklch(80.8% 0.021 233.9)

  5. Step 400

    400

    #8DA4B2

    oklch(70.6% 0.033 234.7)

  6. Step 500

    500

    #718EA0

    oklch(63.1% 0.043 235.6)

  7. Step 600

    600

    #59788A

    oklch(55.6% 0.045 234.1)

  8. Step 700

    700

    #496576

    oklch(49.1% 0.043 235.4)

  9. Step 800

    800

    #3C5260

    oklch(42.6% 0.036 236.6)

  10. Step 900

    900

    #33444E

    oklch(37.6% 0.028 234.3)

  11. Step 950

    950 (this color)

    #283238

    oklch(31% 0.017 234.5)

Export this scale for Tailwind in the Tailwind colors tool

#283238 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)#2F32380.011
Deuteranopia (no green cones)#2D30380.010
Tritanopia (no blue cones)#2334340.014
Achromatopsia (no color)#3131310.018

Harmonies

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

Complementary

The opposite hue (180°).

  • #283238

    #283238

    oklch(31% 0.017 234.5)

  • #382E28

    #382E28

    oklch(31% 0.018 52.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #283238

    #283238

    oklch(31% 0.017 234.5)

  • #263334

    #263334

    oklch(31% 0.017 202.1)

  • #2C3039

    #2C3039

    oklch(30.9% 0.017 266.4)

Open the analogous palette in the generator

Split complementary

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

  • #283238

    #283238

    oklch(31% 0.017 234.5)

  • #392D2C

    #392D2C

    oklch(31% 0.018 23.7)

  • #343026

    #343026

    oklch(31% 0.018 88.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #283238

    #283238

    oklch(31% 0.017 234.5)

  • #382D31

    #382D31

    oklch(31.1% 0.017 354.3)

  • #303228

    #303228

    oklch(31.2% 0.018 116.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #283238

    #283238

    oklch(31% 0.017 234.5)

  • #352D35

    #352D35

    oklch(30.9% 0.018 326)

  • #382E28

    #382E28

    oklch(31% 0.018 52.8)

  • #2B332B

    #2B332B

    oklch(31.1% 0.018 145.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #283238 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.