#021527

Closest named color: Rich Black (#0D1B2A). oklch(19% 0.045 247.6), rgb(2, 21, 39).

Aa

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

About this color

#021527 is a very dark, muted blue. In OKLCH its lightness is 19%, its chroma 0.045 and its hue 248°. Its hue sits on the cool side of the wheel. The nearest named color is Rich Black (#0D1B2A), ΔE 0.029 away. White text reads best on it, at 18.43:1.

Hue familyBlues
Lightnessvery dark (19%)
Chromamuted (0.045)
Temperaturecool
Nearest nameRich Black (#0D1B2A)
Black text1.13:1
White text18.43:1

Values

HEX#021527
RGBrgb(2, 21, 39)
HSLhsl(209, 90%, 8%)
OKLCHoklch(19% 0.045 247.6)

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 #021527 18.43:1 AAA Lc -107.0 Preferred for body text
Black text on #021527 1.13:1 Fails Lc 0.0 Not readable
#021527 text on white 18.43:1 AAA Lc 104.9 Preferred for body text
#021527 text on black 1.13: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

    #E2EBF4

    oklch(93.6% 0.016 248)

  3. Step 200

    200

    #CADBEC

    oklch(88.4% 0.03 248.2)

  4. Step 300

    300

    #A6C4E2

    oklch(80.8% 0.054 248.5)

  5. Step 400

    400

    #74A6D4

    oklch(70.8% 0.086 247.1)

  6. Step 500

    500

    #4E8FC9

    oklch(63.2% 0.11 247.4)

  7. Step 600

    600

    #2F78B5

    oklch(55.6% 0.119 247.4)

  8. Step 700

    700

    #21649C

    oklch(49% 0.112 248)

  9. Step 800

    800

    #1E527F

    oklch(42.7% 0.093 248.2)

  10. Step 900

    900

    #1E4466

    oklch(37.6% 0.073 248)

  11. Step 950

    950 (this color)

    #021527

    oklch(19% 0.045 247.6)

Export this scale for Tailwind in the Tailwind colors tool

#021527 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)#0C16280.016
Deuteranopia (no green cones)#0712270.012
Tritanopia (no blue cones)#00191C0.031
Achromatopsia (no color)#1414140.045

Harmonies

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

Complementary

The opposite hue (180°).

  • #021527

    #021527

    oklch(19% 0.045 247.6)

  • #201000

    #201000

    oklch(19.2% 0.042 68.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #021527

    #021527

    oklch(19% 0.045 247.6)

  • #00171E

    #00171E

    oklch(18.9% 0.034 219.4)

  • #0F1128

    #0F1128

    oklch(19% 0.046 277.3)

Open the analogous palette in the generator

Split complementary

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

  • #021527

    #021527

    oklch(19% 0.045 247.6)

  • #240B05

    #240B05

    oklch(18.9% 0.045 36.6)

  • #191400

    #191400

    oklch(19.2% 0.04 97.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #021527

    #021527

    oklch(19% 0.045 247.6)

  • #240A10

    #240A10

    oklch(19% 0.045 7.9)

  • #0E1701

    #0E1701

    oklch(18.9% 0.046 126.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #021527

    #021527

    oklch(19% 0.045 247.6)

  • #200B1B

    #200B1B

    oklch(19% 0.045 337)

  • #201000

    #201000

    oklch(19.2% 0.042 68.9)

  • #001A0C

    #001A0C

    oklch(19.2% 0.045 157.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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