#202F40

Closest named color: Gunmetal (#293241). oklch(30% 0.037 252.1), rgb(32, 47, 64).

Aa

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

About this color

#202F40 is a dark, muted blue. In OKLCH its lightness is 30%, its chroma 0.037 and its hue 252°. Its hue sits on the cool side of the wheel. The nearest named color is Gunmetal (#293241), ΔE 0.018 away. White text reads best on it, at 13.61:1.

Hue familyBlues
Lightnessdark (30%)
Chromamuted (0.037)
Temperaturecool
Nearest nameGunmetal (#293241)
Black text1.54:1
White text13.61:1

Values

HEX#202F40
RGBrgb(32, 47, 64)
HSLhsl(212, 33%, 19%)
OKLCHoklch(30% 0.037 252.1)

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 #202F40 13.61:1 AAA Lc -103.2 Preferred for body text
Black text on #202F40 1.54:1 Fails Lc 0.0 Not readable
#202F40 text on white 13.61:1 AAA Lc 100.1 Preferred for body text
#202F40 text on black 1.54: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

    #E4EBF2

    oklch(93.7% 0.012 248)

  3. Step 200

    200

    #CEDBE9

    oklch(88.6% 0.024 250.1)

  4. Step 300

    300

    #ADC3DD

    oklch(80.9% 0.044 252.7)

  5. Step 400

    400

    #81A4CC

    oklch(70.7% 0.07 252.1)

  6. Step 500

    500

    #618DBE

    oklch(63.2% 0.089 251.9)

  7. Step 600

    600

    #4776AB

    oklch(55.6% 0.098 252.6)

  8. Step 700

    700

    #386393

    oklch(49.1% 0.091 252.5)

  9. Step 800

    800

    #2F5177

    oklch(42.7% 0.075 252.4)

  10. Step 900

    900

    #2A4360

    oklch(37.6% 0.059 253)

  11. Step 950

    950 (this color)

    #202F40

    oklch(30% 0.037 252.1)

Export this scale for Tailwind in the Tailwind colors tool

#202F40 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)#2830410.013
Deuteranopia (no green cones)#252C400.012
Tritanopia (no blue cones)#1433350.032
Achromatopsia (no color)#2E2E2E0.037

Harmonies

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

Complementary

The opposite hue (180°).

  • #202F40

    #202F40

    oklch(30% 0.037 252.1)

  • #392B18

    #392B18

    oklch(30% 0.037 74.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #202F40

    #202F40

    oklch(30% 0.037 252.1)

  • #17323B

    #17323B

    oklch(30% 0.037 221.9)

  • #2B2C40

    #2B2C40

    oklch(30.1% 0.036 281.8)

Open the analogous palette in the generator

Split complementary

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

  • #202F40

    #202F40

    oklch(30% 0.037 252.1)

  • #3E281F

    #3E281F

    oklch(30.1% 0.037 43.1)

  • #312F18

    #312F18

    oklch(30.1% 0.038 104.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #202F40

    #202F40

    oklch(30% 0.037 252.1)

  • #3E2629

    #3E2629

    oklch(30% 0.037 11.3)

  • #27321E

    #27321E

    oklch(30.1% 0.038 131.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #202F40

    #202F40

    oklch(30% 0.037 252.1)

  • #3B2633

    #3B2633

    oklch(29.9% 0.038 342)

  • #392B18

    #392B18

    oklch(30% 0.037 74.1)

  • #1C3428

    #1C3428

    oklch(30.1% 0.037 161.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #202F40 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.