#28303E

Closest named color: Gunmetal (#293241). oklch(30.8% 0.028 261.5), rgb(40, 48, 62).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessdark (31%)
Chromaclose to neutral grey (0.028)
Temperatureneutral
Nearest nameGunmetal (#293241)
Black text1.58:1
White text13.26:1

Values

HEX#28303E
RGBrgb(40, 48, 62)
HSLhsl(218, 22%, 20%)
OKLCHoklch(30.8% 0.028 261.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 #28303E 13.26:1 AAA Lc -102.8 Preferred for body text
Black text on #28303E 1.58:1 Fails Lc 0.0 Not readable
#28303E text on white 13.26:1 AAA Lc 99.6 Preferred for body text
#28303E text on black 1.58: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

    #F4F5F8

    oklch(97% 0.004 271.4)

  2. Step 100

    100

    #E6EAF0

    oklch(93.6% 0.009 258.3)

  3. Step 200

    200

    #D2D9E6

    oklch(88.4% 0.019 263)

  4. Step 300

    300

    #B5C1D6

    oklch(80.8% 0.032 261.7)

  5. Step 400

    400

    #8FA1C2

    oklch(70.6% 0.053 262.5)

  6. Step 500

    500

    #738AB3

    oklch(63.1% 0.068 261.8)

  7. Step 600

    600

    #5B749E

    oklch(55.6% 0.072 260.5)

  8. Step 700

    700

    #4B6187

    oklch(49.1% 0.067 261)

  9. Step 800

    800

    #3E4F6E

    oklch(42.7% 0.056 262.1)

  10. Step 900

    900

    #354259

    oklch(37.8% 0.043 261.6)

  11. Step 950

    950 (this color)

    #28303E

    oklch(30.8% 0.028 261.5)

Export this scale for Tailwind in the Tailwind colors tool

#28303E 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)#2B313F0.006
Deuteranopia (no green cones)#292F3E0.004
Tritanopia (no blue cones)#2233350.024
Achromatopsia (no color)#3030300.028

Harmonies

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

Complementary

The opposite hue (180°).

  • #28303E

    #28303E

    oklch(30.8% 0.028 261.5)

  • #372E20

    #372E20

    oklch(30.7% 0.027 78.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #28303E

    #28303E

    oklch(30.8% 0.028 261.5)

  • #21323B

    #21323B

    oklch(30.6% 0.028 231.9)

  • #302D3D

    #302D3D

    oklch(30.7% 0.029 293.2)

Open the analogous palette in the generator

Split complementary

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

  • #28303E

    #28303E

    oklch(30.8% 0.028 261.5)

  • #3B2C23

    #3B2C23

    oklch(30.8% 0.027 52.4)

  • #303121

    #303121

    oklch(30.7% 0.027 110.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #28303E

    #28303E

    oklch(30.8% 0.028 261.5)

  • #3D2A2A

    #3D2A2A

    oklch(30.8% 0.028 18.8)

  • #283326

    #283326

    oklch(30.6% 0.027 140.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #28303E

    #28303E

    oklch(30.8% 0.028 261.5)

  • #3B2A31

    #3B2A31

    oklch(30.7% 0.028 352.3)

  • #372E20

    #372E20

    oklch(30.7% 0.027 78.5)

  • #21342E

    #21342E

    oklch(30.6% 0.027 172.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #28303E 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.