#021E2D

Closest named color: Rich Black (#0D1B2A). oklch(22.3% 0.045 235.7), rgb(2, 30, 45).

Aa

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

About this color

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

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

Values

HEX#021E2D
RGBrgb(2, 30, 45)
HSLhsl(201, 91%, 9%)
OKLCHoklch(22.3% 0.045 235.7)

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

    #F1F6FA

    oklch(97.1% 0.008 241.7)

  2. Step 100

    100

    #E1ECF3

    oklch(93.7% 0.015 235.4)

  3. Step 200

    200

    #C7DDEA

    oklch(88.5% 0.03 233.6)

  4. Step 300

    300

    #A0C7DF

    oklch(81% 0.054 235.3)

  5. Step 400

    400

    #6AA9CE

    oklch(70.6% 0.085 235.5)

  6. Step 500

    500

    #3C93C2

    oklch(63.1% 0.108 235.9)

  7. Step 600

    600

    #067DAE

    oklch(55.7% 0.117 235.2)

  8. Step 700

    700

    #006994

    oklch(49.2% 0.105 235.5)

  9. Step 800

    800

    #025679

    oklch(42.8% 0.09 234.9)

  10. Step 900

    900

    #124762

    oklch(37.8% 0.071 235.8)

  11. Step 950

    950 (this color)

    #021E2D

    oklch(22.3% 0.045 235.7)

Export this scale for Tailwind in the Tailwind colors tool

#021E2D 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)#171E2E0.027
Deuteranopia (no green cones)#111A2D0.021
Tritanopia (no blue cones)#0022230.028
Achromatopsia (no color)#1C1C1C0.045

Harmonies

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

Complementary

The opposite hue (180°).

  • #021E2D

    #021E2D

    oklch(22.3% 0.045 235.7)

  • #2B1505

    #2B1505

    oklch(22.3% 0.045 55.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #021E2D

    #021E2D

    oklch(22.3% 0.045 235.7)

  • #002024

    #002024

    oklch(22.3% 0.038 206.6)

  • #111A30

    #111A30

    oklch(22.2% 0.045 266)

Open the analogous palette in the generator

Split complementary

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

  • #021E2D

    #021E2D

    oklch(22.3% 0.045 235.7)

  • #2D1210

    #2D1210

    oklch(22.3% 0.045 25.7)

  • #241900

    #241900

    oklch(22.1% 0.045 86.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #021E2D

    #021E2D

    oklch(22.3% 0.045 235.7)

  • #2B121C

    #2B121C

    oklch(22.3% 0.044 355.9)

  • #1A1E03

    #1A1E03

    oklch(22.4% 0.046 117)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #021E2D

    #021E2D

    oklch(22.3% 0.045 235.7)

  • #261326

    #261326

    oklch(22.2% 0.045 327)

  • #2B1505

    #2B1505

    oklch(22.3% 0.045 55.3)

  • #0C210E

    #0C210E

    oklch(22.4% 0.045 145.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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