#021223

Closest named color: Rich Navy (#001219). oklch(17.8% 0.043 249.1), rgb(2, 18, 35).

Aa

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

About this color

#021223 is a very dark, muted blue. In OKLCH its lightness is 18%, its chroma 0.043 and its hue 249°. Its hue sits on the cool side of the wheel. The nearest named color is Rich Navy (#001219), ΔE 0.022 away. White text reads best on it, at 18.86:1.

Hue familyBlues
Lightnessvery dark (18%)
Chromamuted (0.043)
Temperaturecool
Nearest nameRich Navy (#001219)
Black text1.11:1
White text18.86:1

Values

HEX#021223
RGBrgb(2, 18, 35)
HSLhsl(211, 89%, 7%)
OKLCHoklch(17.8% 0.043 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 #021223 18.86:1 AAA Lc -107.3 Preferred for body text
Black text on #021223 1.11:1 Fails Lc 0.0 Not readable
#021223 text on white 18.86:1 AAA Lc 105.2 Preferred for body text
#021223 text on black 1.11: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

    #F2F6FA

    oklch(97.1% 0.007 247.9)

  2. Step 100

    100

    #E3EBF4

    oklch(93.7% 0.015 251.2)

  3. Step 200

    200

    #CBDBEB

    oklch(88.4% 0.028 248.1)

  4. Step 300

    300

    #A8C4E1

    oklch(80.9% 0.051 249.4)

  5. Step 400

    400

    #79A5D1

    oklch(70.7% 0.08 249)

  6. Step 500

    500

    #558EC6

    oklch(63.1% 0.104 249.4)

  7. Step 600

    600

    #3877B2

    oklch(55.6% 0.113 249.2)

  8. Step 700

    700

    #2A6499

    oklch(49.1% 0.104 249)

  9. Step 800

    800

    #24527C

    oklch(42.7% 0.086 248.7)

  10. Step 900

    900

    #234464

    oklch(37.7% 0.068 249.4)

  11. Step 950

    950 (this color)

    #021223

    oklch(17.8% 0.043 249.1)

Export this scale for Tailwind in the Tailwind colors tool

#021223 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)#0A13240.015
Deuteranopia (no green cones)#0510230.008
Tritanopia (no blue cones)#0016180.032
Achromatopsia (no color)#1111110.043

Harmonies

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

Complementary

The opposite hue (180°).

  • #021223

    #021223

    oklch(17.8% 0.043 249.1)

  • #1C0D00

    #1C0D00

    oklch(17.7% 0.039 67.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #021223

    #021223

    oklch(17.8% 0.043 249.1)

  • #00141B

    #00141B

    oklch(17.7% 0.033 221.3)

  • #0D0E24

    #0D0E24

    oklch(17.7% 0.045 278.8)

Open the analogous palette in the generator

Split complementary

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

  • #021223

    #021223

    oklch(17.8% 0.043 249.1)

  • #200903

    #200903

    oklch(17.6% 0.043 40)

  • #151100

    #151100

    oklch(17.7% 0.037 99.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #021223

    #021223

    oklch(17.8% 0.043 249.1)

  • #20080D

    #20080D

    oklch(17.7% 0.042 9.2)

  • #0B1501

    #0B1501

    oklch(17.9% 0.044 129.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #021223

    #021223

    oklch(17.8% 0.043 249.1)

  • #1D0917

    #1D0917

    oklch(17.9% 0.042 339.9)

  • #1C0D00

    #1C0D00

    oklch(17.7% 0.039 67.6)

  • #00160A

    #00160A

    oklch(17.6% 0.041 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 #021223, closest first.

Similar named colors

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

Use #021223 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.