#021E30

Closest named color: Rich Black (#0D1B2A). oklch(22.5% 0.049 240.6), rgb(2, 30, 48).

Aa

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

About this color

#021E30 is a very dark, muted blue. In OKLCH its lightness is 22%, its chroma 0.049 and its hue 241°. 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.05:1.

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

Values

HEX#021E30
RGBrgb(2, 30, 48)
HSLhsl(203, 92%, 10%)
OKLCHoklch(22.5% 0.049 240.6)

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 #021E30 17.05:1 AAA Lc -106.1 Preferred for body text
Black text on #021E30 1.23:1 Fails Lc 0.0 Not readable
#021E30 text on white 17.05:1 AAA Lc 103.8 Preferred for body text
#021E30 text on black 1.23: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

    #E0ECF4

    oklch(93.6% 0.017 236.7)

  3. Step 200

    200

    #C7DCED

    oklch(88.4% 0.033 242.4)

  4. Step 300

    300

    #A0C6E3

    oklch(80.9% 0.058 241.3)

  5. Step 400

    400

    #69A8D5

    oklch(70.7% 0.093 240.9)

  6. Step 500

    500

    #3A92CA

    oklch(63.2% 0.118 240.5)

  7. Step 600

    600

    #017BB6

    oklch(55.6% 0.128 240.3)

  8. Step 700

    700

    #00679A

    oklch(49.1% 0.113 240.5)

  9. Step 800

    800

    #00547F

    oklch(42.6% 0.099 240.7)

  10. Step 900

    900

    #114666

    oklch(37.7% 0.077 240.5)

  11. Step 950

    950 (this color)

    #021E30

    oklch(22.5% 0.049 240.6)

Export this scale for Tailwind in the Tailwind colors tool

#021E30 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)#151E310.024
Deuteranopia (no green cones)#0F1A300.019
Tritanopia (no blue cones)#0023240.034
Achromatopsia (no color)#1C1C1C0.049

Harmonies

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

Complementary

The opposite hue (180°).

  • #021E30

    #021E30

    oklch(22.5% 0.049 240.6)

  • #2C1502

    #2C1502

    oklch(22.4% 0.049 59)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #021E30

    #021E30

    oklch(22.5% 0.049 240.6)

  • #002026

    #002026

    oklch(22.4% 0.039 212.3)

  • #131A32

    #131A32

    oklch(22.5% 0.048 270)

Open the analogous palette in the generator

Split complementary

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

  • #021E30

    #021E30

    oklch(22.5% 0.049 240.6)

  • #2F120D

    #2F120D

    oklch(22.6% 0.049 31.3)

  • #241A00

    #241A00

    oklch(22.4% 0.046 89.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #021E30

    #021E30

    oklch(22.5% 0.049 240.6)

  • #2D111A

    #2D111A

    oklch(22.4% 0.048 1.3)

  • #191F03

    #191F03

    oklch(22.6% 0.048 120.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #021E30

    #021E30

    oklch(22.5% 0.049 240.6)

  • #281226

    #281226

    oklch(22.3% 0.049 330.5)

  • #2C1502

    #2C1502

    oklch(22.4% 0.049 59)

  • #07220F

    #07220F

    oklch(22.5% 0.049 150.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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