#022238

Closest named color: Rich Black (#0D1B2A). oklch(24.2% 0.056 243.2), rgb(2, 34, 56).

Aa

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

About this color

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

Hue familyBlues
Lightnessvery dark (24%)
Chromamuted (0.056)
Temperaturecool
Nearest nameRich Black (#0D1B2A)
Black text1.28:1
White text16.29:1

Values

HEX#022238
RGBrgb(2, 34, 56)
HSLhsl(204, 93%, 11%)
OKLCHoklch(24.2% 0.056 243.2)

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 #022238 16.29:1 AAA Lc -105.6 Preferred for body text
Black text on #022238 1.28:1 Fails Lc 0.0 Not readable
#022238 text on white 16.29:1 AAA Lc 103.0 Preferred for body text
#022238 text on black 1.28: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

    #DFECF6

    oklch(93.6% 0.019 240.7)

  3. Step 200

    200

    #C5DDF0

    oklch(88.6% 0.037 241.8)

  4. Step 300

    300

    #9CC6E9

    oklch(80.9% 0.067 243.9)

  5. Step 400

    400

    #62A8DD

    oklch(70.7% 0.105 242.9)

  6. Step 500

    500

    #2C91D4

    oklch(63.1% 0.135 243)

  7. Step 600

    600

    #007ABB

    oklch(55.7% 0.134 242.9)

  8. Step 700

    700

    #00669E

    oklch(49% 0.119 243.2)

  9. Step 800

    800

    #005483

    oklch(42.8% 0.104 243)

  10. Step 900

    900

    #05456C

    oklch(37.5% 0.088 243.4)

  11. Step 950

    950 (this color)

    #022238

    oklch(24.2% 0.056 243.2)

Export this scale for Tailwind in the Tailwind colors tool

#022238 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)#1723390.024
Deuteranopia (no green cones)#0F1E380.018
Tritanopia (no blue cones)#00272A0.037
Achromatopsia (no color)#2020200.056

Harmonies

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

Complementary

The opposite hue (180°).

  • #022238

    #022238

    oklch(24.2% 0.056 243.2)

  • #321900

    #321900

    oklch(24.3% 0.055 63)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #022238

    #022238

    oklch(24.2% 0.056 243.2)

  • #00252C

    #00252C

    oklch(24.3% 0.043 213.2)

  • #171D3A

    #171D3A

    oklch(24.2% 0.056 272.8)

Open the analogous palette in the generator

Split complementary

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

  • #022238

    #022238

    oklch(24.2% 0.056 243.2)

  • #36140D

    #36140D

    oklch(24.2% 0.057 33.1)

  • #281F00

    #281F00

    oklch(24.3% 0.05 93.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #022238

    #022238

    oklch(24.2% 0.056 243.2)

  • #35131D

    #35131D

    oklch(24.3% 0.056 3.7)

  • #1B2402

    #1B2402

    oklch(24.3% 0.056 123)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #022238

    #022238

    oklch(24.2% 0.056 243.2)

  • #2F152B

    #2F152B

    oklch(24.3% 0.055 333.1)

  • #321900

    #321900

    oklch(24.3% 0.055 63)

  • #042712

    #042712

    oklch(24.1% 0.056 153)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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