#021C34

Closest named color: Rich Black (#0D1B2A). oklch(22.2% 0.057 249.1), rgb(2, 28, 52).

Aa

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

About this color

#021C34 is a very dark, muted blue. In OKLCH its lightness is 22%, its chroma 0.057 and its hue 249°. 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.23:1.

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

Values

HEX#021C34
RGBrgb(2, 28, 52)
HSLhsl(209, 93%, 11%)
OKLCHoklch(22.2% 0.057 249.1)

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 #021C34 17.23:1 AAA Lc -106.3 Preferred for body text
Black text on #021C34 1.21:1 Fails Lc 0.0 Not readable
#021C34 text on white 17.23:1 AAA Lc 103.9 Preferred for body text
#021C34 text on black 1.21: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

    #E0EBF7

    oklch(93.5% 0.02 250.4)

  3. Step 200

    200

    #C7DCF1

    oklch(88.5% 0.037 248.2)

  4. Step 300

    300

    #9FC5EB

    oklch(80.9% 0.068 248.7)

  5. Step 400

    400

    #69A6E1

    oklch(70.8% 0.108 248.8)

  6. Step 500

    500

    #3B8ED9

    oklch(63.1% 0.139 249.1)

  7. Step 600

    600

    #0A76C6

    oklch(55.5% 0.15 249.2)

  8. Step 700

    700

    #0063A9

    oklch(49% 0.136 249.1)

  9. Step 800

    800

    #04518B

    oklch(42.7% 0.116 249.3)

  10. Step 900

    900

    #12446F

    oklch(37.8% 0.09 249)

  11. Step 950

    950 (this color)

    #021C34

    oklch(22.2% 0.057 249.1)

Export this scale for Tailwind in the Tailwind colors tool

#021C34 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)#101D350.018
Deuteranopia (no green cones)#0819340.011
Tritanopia (no blue cones)#0022250.042
Achromatopsia (no color)#1B1B1B0.057

Harmonies

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

Complementary

The opposite hue (180°).

  • #021C34

    #021C34

    oklch(22.2% 0.057 249.1)

  • #291600

    #291600

    oklch(22.1% 0.048 69.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #021C34

    #021C34

    oklch(22.2% 0.057 249.1)

  • #001F28

    #001F28

    oklch(22.1% 0.04 220.6)

  • #161735

    #161735

    oklch(22.2% 0.057 279.2)

Open the analogous palette in the generator

Split complementary

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

  • #021C34

    #021C34

    oklch(22.2% 0.057 249.1)

  • #301005

    #301005

    oklch(22.2% 0.056 40.1)

  • #201B00

    #201B00

    oklch(22.1% 0.046 99.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #021C34

    #021C34

    oklch(22.2% 0.057 249.1)

  • #300D15

    #300D15

    oklch(22.1% 0.058 9.1)

  • #122001

    #122001

    oklch(22.2% 0.057 129.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #021C34

    #021C34

    oklch(22.2% 0.057 249.1)

  • #2B0F24

    #2B0F24

    oklch(22.2% 0.057 337.9)

  • #291600

    #291600

    oklch(22.1% 0.048 69.2)

  • #002212

    #002212

    oklch(22.2% 0.051 158.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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