#021726

Closest named color: Rich Black (#0D1B2A). oklch(19.6% 0.042 241.3), rgb(2, 23, 38).

Aa

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

About this color

#021726 is a very dark, muted blue. In OKLCH its lightness is 20%, its chroma 0.042 and its hue 241°. Its hue sits on the cool side of the wheel. The nearest named color is Rich Black (#0D1B2A), ΔE 0.024 away. White text reads best on it, at 18.21:1.

Hue familyBlues
Lightnessvery dark (20%)
Chromamuted (0.042)
Temperaturecool
Nearest nameRich Black (#0D1B2A)
Black text1.15:1
White text18.21:1

Values

HEX#021726
RGBrgb(2, 23, 38)
HSLhsl(205, 90%, 8%)
OKLCHoklch(19.6% 0.042 241.3)

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 #021726 18.21:1 AAA Lc -106.9 Preferred for body text
Black text on #021726 1.15:1 Fails Lc 0.0 Not readable
#021726 text on white 18.21:1 AAA Lc 104.7 Preferred for body text
#021726 text on black 1.15: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

    #E2EBF3

    oklch(93.6% 0.015 244.7)

  3. Step 200

    200

    #CADCEA

    oklch(88.5% 0.027 241.2)

  4. Step 300

    300

    #A5C5DE

    oklch(80.8% 0.049 241.8)

  5. Step 400

    400

    #73A7CE

    oklch(70.7% 0.08 241.7)

  6. Step 500

    500

    #4C91C1

    oklch(63.2% 0.101 241.2)

  7. Step 600

    600

    #2B7AAD

    oklch(55.6% 0.109 241.3)

  8. Step 700

    700

    #1C6795

    oklch(49.2% 0.102 241.1)

  9. Step 800

    800

    #1B5479

    oklch(42.8% 0.084 241.5)

  10. Step 900

    900

    #1D4661

    oklch(37.8% 0.065 240.4)

  11. Step 950

    950 (this color)

    #021726

    oklch(19.6% 0.042 241.3)

Export this scale for Tailwind in the Tailwind colors tool

#021726 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)#1017270.020
Deuteranopia (no green cones)#0A14260.015
Tritanopia (no blue cones)#001B1C0.029
Achromatopsia (no color)#1515150.042

Harmonies

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

Complementary

The opposite hue (180°).

  • #021726

    #021726

    oklch(19.6% 0.042 241.3)

  • #221001

    #221001

    oklch(19.5% 0.042 62.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #021726

    #021726

    oklch(19.6% 0.042 241.3)

  • #00191E

    #00191E

    oklch(19.6% 0.034 212)

  • #0E1428

    #0E1428

    oklch(19.7% 0.041 269.7)

Open the analogous palette in the generator

Split complementary

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

  • #021726

    #021726

    oklch(19.6% 0.042 241.3)

  • #250D09

    #250D09

    oklch(19.6% 0.042 31)

  • #1C1400

    #1C1400

    oklch(19.6% 0.04 90.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #021726

    #021726

    oklch(19.6% 0.042 241.3)

  • #240C14

    #240C14

    oklch(19.6% 0.042 0.7)

  • #121802

    #121802

    oklch(19.6% 0.043 122)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #021726

    #021726

    oklch(19.6% 0.042 241.3)

  • #200D1E

    #200D1E

    oklch(19.6% 0.044 331)

  • #221001

    #221001

    oklch(19.5% 0.042 62.7)

  • #051A0B

    #051A0B

    oklch(19.5% 0.041 151.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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