#021D34

Closest named color: Rich Black (#0D1B2A). oklch(22.5% 0.056 247.4), rgb(2, 29, 52).

Aa

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

About this color

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

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

Values

HEX#021D34
RGBrgb(2, 29, 52)
HSLhsl(208, 93%, 11%)
OKLCHoklch(22.5% 0.056 247.4)

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 #021D34 17.10:1 AAA Lc -106.2 Preferred for body text
Black text on #021D34 1.22:1 Fails Lc 0.0 Not readable
#021D34 text on white 17.10:1 AAA Lc 103.8 Preferred for body text
#021D34 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

    #E0EBF6

    oklch(93.5% 0.019 248)

  3. Step 200

    200

    #C7DCF1

    oklch(88.5% 0.037 248.2)

  4. Step 300

    300

    #9FC5EA

    oklch(80.9% 0.066 248)

  5. Step 400

    400

    #68A6DF

    oklch(70.6% 0.106 247.6)

  6. Step 500

    500

    #3A8FD6

    oklch(63.1% 0.134 247.3)

  7. Step 600

    600

    #0377C4

    oklch(55.5% 0.148 247.8)

  8. Step 700

    700

    #0064A6

    oklch(49.1% 0.131 247.6)

  9. Step 800

    800

    #015289

    oklch(42.7% 0.113 247.5)

  10. Step 900

    900

    #11446D

    oklch(37.6% 0.088 247.6)

  11. Step 950

    950 (this color)

    #021D34

    oklch(22.5% 0.056 247.4)

Export this scale for Tailwind in the Tailwind colors tool

#021D34 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)#121E350.020
Deuteranopia (no green cones)#0A1A340.013
Tritanopia (no blue cones)#0023250.042
Achromatopsia (no color)#1C1C1C0.056

Harmonies

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

Complementary

The opposite hue (180°).

  • #021D34

    #021D34

    oklch(22.5% 0.056 247.4)

  • #2B1600

    #2B1600

    oklch(22.5% 0.05 66)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #021D34

    #021D34

    oklch(22.5% 0.056 247.4)

  • #002028

    #002028

    oklch(22.5% 0.04 217.6)

  • #161835

    #161835

    oklch(22.5% 0.056 277.9)

Open the analogous palette in the generator

Split complementary

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

  • #021D34

    #021D34

    oklch(22.5% 0.056 247.4)

  • #311007

    #311007

    oklch(22.4% 0.057 36.6)

  • #221B00

    #221B00

    oklch(22.4% 0.046 95.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #021D34

    #021D34

    oklch(22.5% 0.056 247.4)

  • #300F17

    #300F17

    oklch(22.5% 0.055 7.5)

  • #142001

    #142001

    oklch(22.4% 0.056 127.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #021D34

    #021D34

    oklch(22.5% 0.056 247.4)

  • #2B1025

    #2B1025

    oklch(22.4% 0.055 336.4)

  • #2B1600

    #2B1600

    oklch(22.5% 0.05 66)

  • #002311

    #002311

    oklch(22.5% 0.054 156.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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