#021833

Closest named color: Rich Black (#0D1B2A). oklch(20.9% 0.061 254), rgb(2, 24, 51).

Aa

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

About this color

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

Hue familyBlues
Lightnessvery dark (21%)
Chromamuted (0.061)
Temperaturecool
Nearest nameRich Black (#0D1B2A)
Black text1.18:1
White text17.78:1

Values

HEX#021833
RGBrgb(2, 24, 51)
HSLhsl(213, 92%, 10%)
OKLCHoklch(20.9% 0.061 254)

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 #021833 17.78:1 AAA Lc -106.6 Preferred for body text
Black text on #021833 1.18:1 Fails Lc 0.0 Not readable
#021833 text on white 17.78:1 AAA Lc 104.3 Preferred for body text
#021833 text on black 1.18: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

    #F1F6FC

    oklch(97.1% 0.01 252.8)

  2. Step 100

    100

    #E1EBF8

    oklch(93.6% 0.021 254.9)

  3. Step 200

    200

    #C7DBF4

    oklch(88.4% 0.041 254)

  4. Step 300

    300

    #A1C4EF

    oklch(81% 0.072 253.8)

  5. Step 400

    400

    #6CA4E7

    oklch(70.8% 0.115 253.7)

  6. Step 500

    500

    #428BE0

    oklch(63.1% 0.148 254)

  7. Step 600

    600

    #1D73CE

    oklch(55.6% 0.161 254.1)

  8. Step 700

    700

    #0E60B2

    oklch(49.1% 0.149 254)

  9. Step 800

    800

    #114F90

    oklch(42.7% 0.123 253.9)

  10. Step 900

    900

    #174273

    oklch(37.7% 0.096 254.1)

  11. Step 950

    950 (this color)

    #021833

    oklch(20.9% 0.061 254)

Export this scale for Tailwind in the Tailwind colors tool

#021833 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)#0A1A340.014
Deuteranopia (no green cones)#0216320.007
Tritanopia (no blue cones)#001F220.048
Achromatopsia (no color)#1818180.061

Harmonies

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

Complementary

The opposite hue (180°).

  • #021833

    #021833

    oklch(20.9% 0.061 254)

  • #241400

    #241400

    oklch(20.8% 0.044 72.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #021833

    #021833

    oklch(20.9% 0.061 254)

  • #001C25

    #001C25

    oklch(21% 0.039 222.2)

  • #161333

    #161333

    oklch(21.1% 0.061 284.1)

Open the analogous palette in the generator

Split complementary

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

  • #021833

    #021833

    oklch(20.9% 0.061 254)

  • #2E0C00

    #2E0C00

    oklch(21% 0.061 43.7)

  • #1C1900

    #1C1900

    oklch(21% 0.044 103.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #021833

    #021833

    oklch(20.9% 0.061 254)

  • #2E090F

    #2E090F

    oklch(20.8% 0.06 14.6)

  • #0B1E00

    #0B1E00

    oklch(21% 0.061 134.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #021833

    #021833

    oklch(20.9% 0.061 254)

  • #2A0A1F

    #2A0A1F

    oklch(20.9% 0.061 343.5)

  • #241400

    #241400

    oklch(20.8% 0.044 72.7)

  • #001E12

    #001E12

    oklch(20.8% 0.045 163.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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