#022038

Closest named color: Rich Black (#0D1B2A). oklch(23.6% 0.058 246.6), rgb(2, 32, 56).

Aa

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

About this color

#022038 is a very dark, muted blue. In OKLCH its lightness is 24%, its chroma 0.058 and its hue 247°. Its hue sits on the cool side of the wheel. The nearest named color is Rich Black (#0D1B2A), ΔE 0.030 away. White text reads best on it, at 16.58:1.

Hue familyBlues
Lightnessvery dark (24%)
Chromamuted (0.058)
Temperaturecool
Nearest nameRich Black (#0D1B2A)
Black text1.26:1
White text16.58:1

Values

HEX#022038
RGBrgb(2, 32, 56)
HSLhsl(207, 93%, 11%)
OKLCHoklch(23.6% 0.058 246.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 #022038 16.58:1 AAA Lc -105.8 Preferred for body text
Black text on #022038 1.26:1 Fails Lc 0.0 Not readable
#022038 text on white 16.58:1 AAA Lc 103.3 Preferred for body text
#022038 text on black 1.26: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

    #F1F6FB

    oklch(97.1% 0.009 247.9)

  2. Step 100

    100

    #E0ECF7

    oklch(93.7% 0.02 245.6)

  3. Step 200

    200

    #C5DCF2

    oklch(88.4% 0.039 247.1)

  4. Step 300

    300

    #9DC6EB

    oklch(81% 0.068 246)

  5. Step 400

    400

    #64A7E1

    oklch(70.7% 0.109 246.3)

  6. Step 500

    500

    #318FD9

    oklch(63.1% 0.141 246.7)

  7. Step 600

    600

    #0078C2

    oklch(55.6% 0.145 246.5)

  8. Step 700

    700

    #0065A4

    oklch(49.2% 0.127 246.3)

  9. Step 800

    800

    #005288

    oklch(42.7% 0.112 246.9)

  10. Step 900

    900

    #0A446F

    oklch(37.6% 0.092 247.1)

  11. Step 950

    950 (this color)

    #022038

    oklch(23.6% 0.058 246.6)

Export this scale for Tailwind in the Tailwind colors tool

#022038 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)#1421390.021
Deuteranopia (no green cones)#0C1C380.016
Tritanopia (no blue cones)#0026290.041
Achromatopsia (no color)#1E1E1E0.058

Harmonies

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

Complementary

The opposite hue (180°).

  • #022038

    #022038

    oklch(23.6% 0.058 246.6)

  • #2F1900

    #2F1900

    oklch(23.8% 0.053 67.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #022038

    #022038

    oklch(23.6% 0.058 246.6)

  • #00232B

    #00232B

    oklch(23.6% 0.042 216.3)

  • #181B39

    #181B39

    oklch(23.7% 0.057 276.8)

Open the analogous palette in the generator

Split complementary

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

  • #022038

    #022038

    oklch(23.6% 0.058 246.6)

  • #351209

    #351209

    oklch(23.6% 0.059 35.6)

  • #251E00

    #251E00

    oklch(23.6% 0.049 96.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #022038

    #022038

    oklch(23.6% 0.058 246.6)

  • #34111A

    #34111A

    oklch(23.7% 0.057 6.5)

  • #172301

    #172301

    oklch(23.6% 0.059 126.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #022038

    #022038

    oklch(23.6% 0.058 246.6)

  • #2F1228

    #2F1228

    oklch(23.6% 0.058 337.3)

  • #2F1900

    #2F1900

    oklch(23.8% 0.053 67.1)

  • #002613

    #002613

    oklch(23.6% 0.056 156.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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