#021727

Closest named color: Rich Black (#0D1B2A). oklch(19.7% 0.043 243), rgb(2, 23, 39).

Aa

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

About this color

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

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

Values

HEX#021727
RGBrgb(2, 23, 39)
HSLhsl(206, 90%, 8%)
OKLCHoklch(19.7% 0.043 243)

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

    #CADCEB

    oklch(88.6% 0.028 243.1)

  4. Step 300

    300

    #A5C5E0

    oklch(80.9% 0.052 243.9)

  5. Step 400

    400

    #73A7D0

    oklch(70.7% 0.082 243)

  6. Step 500

    500

    #4B90C3

    oklch(63% 0.104 242.8)

  7. Step 600

    600

    #2A7AB0

    oklch(55.7% 0.113 242.6)

  8. Step 700

    700

    #1C6697

    oklch(49.1% 0.105 243)

  9. Step 800

    800

    #1A537B

    oklch(42.6% 0.088 243.6)

  10. Step 900

    900

    #1D4563

    oklch(37.7% 0.068 243.8)

  11. Step 950

    950 (this color)

    #021727

    oklch(19.7% 0.043 243)

Export this scale for Tailwind in the Tailwind colors tool

#021727 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)#0F17280.019
Deuteranopia (no green cones)#0A14270.015
Tritanopia (no blue cones)#001B1D0.029
Achromatopsia (no color)#1515150.043

Harmonies

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

Complementary

The opposite hue (180°).

  • #021727

    #021727

    oklch(19.7% 0.043 243)

  • #231001

    #231001

    oklch(19.7% 0.043 61.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #021727

    #021727

    oklch(19.7% 0.043 243)

  • #00191E

    #00191E

    oklch(19.6% 0.034 212)

  • #0F1329

    #0F1329

    oklch(19.6% 0.045 273.8)

Open the analogous palette in the generator

Split complementary

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

  • #021727

    #021727

    oklch(19.7% 0.043 243)

  • #260D08

    #260D08

    oklch(19.8% 0.044 33)

  • #1C1500

    #1C1500

    oklch(19.9% 0.041 93.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #021727

    #021727

    oklch(19.7% 0.043 243)

  • #250C13

    #250C13

    oklch(19.7% 0.043 4.2)

  • #121802

    #121802

    oklch(19.6% 0.043 122)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #021727

    #021727

    oklch(19.7% 0.043 243)

  • #200D1E

    #200D1E

    oklch(19.6% 0.044 331)

  • #231001

    #231001

    oklch(19.7% 0.043 61.1)

  • #041B0B

    #041B0B

    oklch(19.8% 0.044 151.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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