#021A26

Closest named color: Rich Black (#0D1B2A). oklch(20.5% 0.039 232.8), rgb(2, 26, 38).

Aa

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

About this color

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

Hue familyBlues
Lightnessvery dark (21%)
Chromamuted (0.039)
Temperaturecool
Nearest nameRich Black (#0D1B2A)
Black text1.17:1
White text17.82:1

Values

HEX#021A26
RGBrgb(2, 26, 38)
HSLhsl(200, 90%, 8%)
OKLCHoklch(20.5% 0.039 232.8)

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 #021A26 17.82:1 AAA Lc -106.7 Preferred for body text
Black text on #021A26 1.17:1 Fails Lc 0.0 Not readable
#021A26 text on white 17.82:1 AAA Lc 104.4 Preferred for body text
#021A26 text on black 1.17: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

    #F2F6F9

    oklch(97.1% 0.006 239.8)

  2. Step 100

    100

    #E2ECF1

    oklch(93.7% 0.013 228.9)

  3. Step 200

    200

    #C9DDE8

    oklch(88.6% 0.026 231.7)

  4. Step 300

    300

    #A4C6DA

    oklch(80.8% 0.046 233.9)

  5. Step 400

    400

    #71A9C7

    oklch(70.7% 0.073 232.6)

  6. Step 500

    500

    #4793B9

    oklch(63.1% 0.094 232.7)

  7. Step 600

    600

    #227DA5

    oklch(55.6% 0.102 232.4)

  8. Step 700

    700

    #12698E

    oklch(49.1% 0.096 233.1)

  9. Step 800

    800

    #145673

    oklch(42.8% 0.079 232.5)

  10. Step 900

    900

    #1A475D

    oklch(37.7% 0.061 233)

  11. Step 950

    950 (this color)

    #021A26

    oklch(20.5% 0.039 232.8)

Export this scale for Tailwind in the Tailwind colors tool

#021A26 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)#141A270.025
Deuteranopia (no green cones)#0F16260.021
Tritanopia (no blue cones)#001D1E0.023
Achromatopsia (no color)#1818180.039

Harmonies

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

Complementary

The opposite hue (180°).

  • #021A26

    #021A26

    oklch(20.5% 0.039 232.8)

  • #251206

    #251206

    oklch(20.6% 0.038 52.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #021A26

    #021A26

    oklch(20.5% 0.039 232.8)

  • #001C1E

    #001C1E

    oklch(20.6% 0.035 201.3)

  • #0E1729

    #0E1729

    oklch(20.6% 0.038 263.2)

Open the analogous palette in the generator

Split complementary

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

  • #021A26

    #021A26

    oklch(20.5% 0.039 232.8)

  • #270F0F

    #270F0F

    oklch(20.5% 0.04 21.2)

  • #201502

    #201502

    oklch(20.5% 0.038 80.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #021A26

    #021A26

    oklch(20.5% 0.039 232.8)

  • #250F19

    #250F19

    oklch(20.6% 0.04 352.5)

  • #171903

    #171903

    oklch(20.5% 0.04 113.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #021A26

    #021A26

    oklch(20.5% 0.039 232.8)

  • #201122

    #201122

    oklch(20.7% 0.039 322.6)

  • #251206

    #251206

    oklch(20.6% 0.038 52.5)

  • #0C1C0B

    #0C1C0B

    oklch(20.7% 0.039 142.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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