#021E2E

Closest named color: Rich Black (#0D1B2A). oklch(22.3% 0.046 237.5), rgb(2, 30, 46).

Aa

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

About this color

#021E2E is a very dark, muted blue. In OKLCH its lightness is 22%, its chroma 0.046 and its hue 237°. 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.10:1.

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

Values

HEX#021E2E
RGBrgb(2, 30, 46)
HSLhsl(202, 92%, 9%)
OKLCHoklch(22.3% 0.046 237.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 #021E2E 17.10:1 AAA Lc -106.2 Preferred for body text
Black text on #021E2E 1.22:1 Fails Lc 0.0 Not readable
#021E2E text on white 17.10:1 AAA Lc 103.8 Preferred for body text
#021E2E 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

    #C7DDEB

    oklch(88.6% 0.03 235.7)

  4. Step 300

    300

    #A0C7E0

    oklch(81% 0.055 236.5)

  5. Step 400

    400

    #6AA9D1

    oklch(70.8% 0.088 237.6)

  6. Step 500

    500

    #3B93C4

    oklch(63.2% 0.111 236.8)

  7. Step 600

    600

    #057CB1

    oklch(55.6% 0.121 237.5)

  8. Step 700

    700

    #006896

    oklch(49.1% 0.108 237.6)

  9. Step 800

    800

    #01557B

    oklch(42.6% 0.093 237.3)

  10. Step 900

    900

    #124763

    oklch(37.8% 0.072 236.7)

  11. Step 950

    950 (this color)

    #021E2E

    oklch(22.3% 0.046 237.5)

Export this scale for Tailwind in the Tailwind colors tool

#021E2E 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)#161E2F0.025
Deuteranopia (no green cones)#101A2E0.020
Tritanopia (no blue cones)#0022240.028
Achromatopsia (no color)#1C1C1C0.046

Harmonies

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

Complementary

The opposite hue (180°).

  • #021E2E

    #021E2E

    oklch(22.3% 0.046 237.5)

  • #2B1504

    #2B1504

    oklch(22.3% 0.046 57)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #021E2E

    #021E2E

    oklch(22.3% 0.046 237.5)

  • #002024

    #002024

    oklch(22.3% 0.038 206.6)

  • #121A31

    #121A31

    oklch(22.3% 0.047 268)

Open the analogous palette in the generator

Split complementary

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

  • #021E2E

    #021E2E

    oklch(22.3% 0.046 237.5)

  • #2E120F

    #2E120F

    oklch(22.4% 0.047 27.7)

  • #241A00

    #241A00

    oklch(22.4% 0.046 89.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #021E2E

    #021E2E

    oklch(22.3% 0.046 237.5)

  • #2C111B

    #2C111B

    oklch(22.3% 0.047 358.1)

  • #1A1E03

    #1A1E03

    oklch(22.4% 0.046 117)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #021E2E

    #021E2E

    oklch(22.3% 0.046 237.5)

  • #271326

    #271326

    oklch(22.4% 0.046 328.8)

  • #2B1504

    #2B1504

    oklch(22.3% 0.046 57)

  • #0A210E

    #0A210E

    oklch(22.3% 0.047 147.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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