#021C37

Closest named color: Rich Black (#0D1B2A). oklch(22.4% 0.062 251.6), rgb(2, 28, 55).

Aa

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

About this color

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

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

Values

HEX#021C37
RGBrgb(2, 28, 55)
HSLhsl(211, 93%, 11%)
OKLCHoklch(22.4% 0.062 251.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 #021C37 17.15:1 AAA Lc -106.2 Preferred for body text
Black text on #021C37 1.22:1 Fails Lc 0.0 Not readable
#021C37 text on white 17.15:1 AAA Lc 103.8 Preferred for body text
#021C37 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

    #F1F6FC

    oklch(97.1% 0.01 252.8)

  2. Step 100

    100

    #E0EBF8

    oklch(93.6% 0.021 252.5)

  3. Step 200

    200

    #C6DCF4

    oklch(88.6% 0.041 250.6)

  4. Step 300

    300

    #9EC4EF

    oklch(80.8% 0.074 251.8)

  5. Step 400

    400

    #67A5E7

    oklch(70.7% 0.117 251.2)

  6. Step 500

    500

    #398CE0

    oklch(63% 0.15 251.7)

  7. Step 600

    600

    #0574CE

    oklch(55.5% 0.163 251.8)

  8. Step 700

    700

    #0062AF

    oklch(49.2% 0.144 251.3)

  9. Step 800

    800

    #025090

    oklch(42.7% 0.124 251.4)

  10. Step 900

    900

    #114373

    oklch(37.8% 0.097 251.5)

  11. Step 950

    950 (this color)

    #021C37

    oklch(22.4% 0.062 251.6)

Export this scale for Tailwind in the Tailwind colors tool

#021C37 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)#0E1E380.017
Deuteranopia (no green cones)#0519360.010
Tritanopia (no blue cones)#0023260.047
Achromatopsia (no color)#1B1B1B0.062

Harmonies

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

Complementary

The opposite hue (180°).

  • #021C37

    #021C37

    oklch(22.4% 0.062 251.6)

  • #291700

    #291700

    oklch(22.4% 0.048 71.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #021C37

    #021C37

    oklch(22.4% 0.062 251.6)

  • #002029

    #002029

    oklch(22.5% 0.041 220.1)

  • #181637

    #181637

    oklch(22.3% 0.062 282.8)

Open the analogous palette in the generator

Split complementary

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

  • #021C37

    #021C37

    oklch(22.4% 0.062 251.6)

  • #320F02

    #320F02

    oklch(22.3% 0.062 42.2)

  • #201C00

    #201C00

    oklch(22.4% 0.047 102)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #021C37

    #021C37

    oklch(22.4% 0.062 251.6)

  • #320C14

    #320C14

    oklch(22.3% 0.062 10.9)

  • #102100

    #102100

    oklch(22.4% 0.062 131.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #021C37

    #021C37

    oklch(22.4% 0.062 251.6)

  • #2E0E24

    #2E0E24

    oklch(22.5% 0.062 341.4)

  • #291700

    #291700

    oklch(22.4% 0.048 71.7)

  • #002214

    #002214

    oklch(22.3% 0.049 162)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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