#021D31

Closest named color: Rich Black (#0D1B2A). oklch(22.2% 0.051 244), rgb(2, 29, 49).

Aa

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

About this color

#021D31 is a very dark, muted blue. In OKLCH its lightness is 22%, its chroma 0.051 and its hue 244°. Its hue sits on the cool side of the wheel. The nearest named color is Rich Black (#0D1B2A), ΔE 0.017 away. White text reads best on it, at 17.17:1.

Hue familyBlues
Lightnessvery dark (22%)
Chromamuted (0.051)
Temperaturecool
Nearest nameRich Black (#0D1B2A)
Black text1.22:1
White text17.17:1

Values

HEX#021D31
RGBrgb(2, 29, 49)
HSLhsl(206, 92%, 10%)
OKLCHoklch(22.2% 0.051 244)

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 #021D31 17.17:1 AAA Lc -106.2 Preferred for body text
Black text on #021D31 1.22:1 Fails Lc 0.0 Not readable
#021D31 text on white 17.17:1 AAA Lc 103.9 Preferred for body text
#021D31 text on black 1.22: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

    #F1F6FB

    oklch(97.1% 0.009 247.9)

  2. Step 100

    100

    #E0EBF5

    oklch(93.5% 0.018 245.4)

  3. Step 200

    200

    #C7DCEE

    oklch(88.4% 0.034 244)

  4. Step 300

    300

    #A0C6E6

    oklch(81% 0.061 244)

  5. Step 400

    400

    #69A7D9

    oklch(70.6% 0.098 244.1)

  6. Step 500

    500

    #3B90CF

    oklch(63% 0.125 244.3)

  7. Step 600

    600

    #0879BC

    oklch(55.5% 0.136 244.3)

  8. Step 700

    700

    #0066A0

    oklch(49.2% 0.121 244)

  9. Step 800

    800

    #035383

    oklch(42.6% 0.104 244.2)

  10. Step 900

    900

    #124569

    oklch(37.6% 0.081 244.2)

  11. Step 950

    950 (this color)

    #021D31

    oklch(22.2% 0.051 244)

Export this scale for Tailwind in the Tailwind colors tool

#021D31 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)#131E320.022
Deuteranopia (no green cones)#0C19310.017
Tritanopia (no blue cones)#0022240.036
Achromatopsia (no color)#1B1B1B0.051

Harmonies

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

Complementary

The opposite hue (180°).

  • #021D31

    #021D31

    oklch(22.2% 0.051 244)

  • #2B1500

    #2B1500

    oklch(22.2% 0.05 63.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #021D31

    #021D31

    oklch(22.2% 0.051 244)

  • #002026

    #002026

    oklch(22.4% 0.039 212.3)

  • #141933

    #141933

    oklch(22.4% 0.051 273.4)

Open the analogous palette in the generator

Split complementary

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

  • #021D31

    #021D31

    oklch(22.2% 0.051 244)

  • #2F110A

    #2F110A

    oklch(22.3% 0.051 34.4)

  • #221A00

    #221A00

    oklch(22.1% 0.045 93.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #021D31

    #021D31

    oklch(22.2% 0.051 244)

  • #2E0F18

    #2E0F18

    oklch(22.1% 0.052 4.1)

  • #161F02

    #161F02

    oklch(22.3% 0.051 124.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #021D31

    #021D31

    oklch(22.2% 0.051 244)

  • #291125

    #291125

    oklch(22.2% 0.051 333.7)

  • #2B1500

    #2B1500

    oklch(22.2% 0.05 63.7)

  • #032210

    #032210

    oklch(22.3% 0.051 154.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #021D31 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.