#283442

Closest named color: Gunmetal (#293241). oklch(32% 0.03 252.6), rgb(40, 52, 66).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessdark (32%)
Chromaclose to neutral grey (0.030)
Temperatureneutral
Nearest nameGunmetal (#293241)
Black text1.66:1
White text12.64:1

Values

HEX#283442
RGBrgb(40, 52, 66)
HSLhsl(212, 25%, 21%)
OKLCHoklch(32% 0.03 252.6)

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 #283442 12.64:1 AAA Lc -102.0 Preferred for body text
Black text on #283442 1.66:1 Fails Lc 0.0 Not readable
#283442 text on white 12.64:1 AAA Lc 98.7 Preferred for body text
#283442 text on black 1.66: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

    #F3F6F9

    oklch(97.2% 0.005 247.9)

  2. Step 100

    100

    #E5EAF1

    oklch(93.5% 0.011 256.7)

  3. Step 200

    200

    #D0DAE6

    oklch(88.4% 0.02 252.9)

  4. Step 300

    300

    #B1C3D7

    oklch(81% 0.035 251)

  5. Step 400

    400

    #88A3C4

    oklch(70.7% 0.057 253.7)

  6. Step 500

    500

    #6A8CB5

    oklch(63.1% 0.073 253.5)

  7. Step 600

    600

    #5176A0

    oklch(55.6% 0.078 252.3)

  8. Step 700

    700

    #426389

    oklch(49.1% 0.072 252.7)

  9. Step 800

    800

    #36516F

    oklch(42.7% 0.06 251.8)

  10. Step 900

    900

    #2F435A

    oklch(37.6% 0.047 252.5)

  11. Step 950

    950 (this color)

    #283442

    oklch(32% 0.03 252.6)

Export this scale for Tailwind in the Tailwind colors tool

#283442 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)#2F34430.011
Deuteranopia (no green cones)#2C32420.009
Tritanopia (no blue cones)#2037390.025
Achromatopsia (no color)#3333330.030

Harmonies

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

Complementary

The opposite hue (180°).

  • #283442

    #283442

    oklch(32% 0.03 252.6)

  • #3C3122

    #3C3122

    oklch(32.1% 0.03 75)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #283442

    #283442

    oklch(32% 0.03 252.6)

  • #21363E

    #21363E

    oklch(31.9% 0.03 223.9)

  • #303142

    #303142

    oklch(32% 0.03 281.9)

Open the analogous palette in the generator

Split complementary

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

  • #283442

    #283442

    oklch(32% 0.03 252.6)

  • #402E27

    #402E27

    oklch(32% 0.029 42.2)

  • #363422

    #363422

    oklch(32.2% 0.03 102.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #283442

    #283442

    oklch(32% 0.03 252.6)

  • #412D2F

    #412D2F

    oklch(32.1% 0.03 12.2)

  • #2D3627

    #2D3627

    oklch(32% 0.029 133.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #283442

    #283442

    oklch(32% 0.03 252.6)

  • #3E2D37

    #3E2D37

    oklch(32% 0.03 342.8)

  • #3C3122

    #3C3122

    oklch(32.1% 0.03 75)

  • #25382E

    #25382E

    oklch(32.1% 0.03 161.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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