#283740

Closest named color: Gunmetal (#293241). oklch(32.7% 0.025 234.9), rgb(40, 55, 64).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessdark (33%)
Chromaclose to neutral grey (0.025)
Temperatureneutral
Nearest nameGunmetal (#293241)
Black text1.71:1
White text12.27:1

Values

HEX#283740
RGBrgb(40, 55, 64)
HSLhsl(203, 23%, 20%)
OKLCHoklch(32.7% 0.025 234.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 #283740 12.27:1 AAA Lc -101.4 Preferred for body text
Black text on #283740 1.71:1 Fails Lc 0.0 Not readable
#283740 text on white 12.27:1 AAA Lc 98.0 Preferred for body text
#283740 text on black 1.71: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

    #F4F6F7

    oklch(97.2% 0.003 228.8)

  2. Step 100

    100

    #E6EAED

    oklch(93.5% 0.006 239.8)

  3. Step 200

    200

    #D3DADF

    oklch(88.4% 0.01 238.5)

  4. Step 300

    300

    #B5C3CB

    oklch(80.9% 0.019 232.6)

  5. Step 400

    400

    #8FA4B1

    oklch(70.7% 0.03 235.1)

  6. Step 500

    500

    #738E9E

    oklch(63.2% 0.039 234.2)

  7. Step 600

    600

    #5B7889

    oklch(55.7% 0.043 234.3)

  8. Step 700

    700

    #4B6574

    oklch(49.2% 0.039 233.9)

  9. Step 800

    800

    #3E525E

    oklch(42.7% 0.032 234.8)

  10. Step 900

    900 (this color)

    #283740

    oklch(32.7% 0.025 234.9)

  11. Step 950

    950

    #1F282D

    oklch(27% 0.016 232.4)

Export this scale for Tailwind in the Tailwind colors tool

#283740 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)#3337400.017
Deuteranopia (no green cones)#2F34400.014
Tritanopia (no blue cones)#20393A0.018
Achromatopsia (no color)#3535350.025

Harmonies

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

Complementary

The opposite hue (180°).

  • #283740

    #283740

    oklch(32.7% 0.025 234.9)

  • #3F3128

    #3F3128

    oklch(32.6% 0.026 54.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #283740

    #283740

    oklch(32.7% 0.025 234.9)

  • #25393B

    #25393B

    oklch(32.8% 0.026 203.8)

  • #2E3542

    #2E3542

    oklch(32.8% 0.025 262.8)

Open the analogous palette in the generator

Split complementary

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

  • #283740

    #283740

    oklch(32.7% 0.025 234.9)

  • #41302E

    #41302E

    oklch(32.8% 0.025 26.2)

  • #3B3426

    #3B3426

    oklch(32.8% 0.025 84.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #283740

    #283740

    oklch(32.7% 0.025 234.9)

  • #402F35

    #402F35

    oklch(32.7% 0.027 355.6)

  • #343627

    #343627

    oklch(32.6% 0.025 114)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #283740

    #283740

    oklch(32.7% 0.025 234.9)

  • #3C303C

    #3C303C

    oklch(32.7% 0.027 326.2)

  • #3F3128

    #3F3128

    oklch(32.6% 0.026 54.3)

  • #2D382D

    #2D382D

    oklch(32.7% 0.024 145)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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