#02122A

Closest named color: Rich Navy (#001219). oklch(18.4% 0.055 256), rgb(2, 18, 42).

Aa

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

About this color

#02122A is a very dark, muted blue. In OKLCH its lightness is 18%, its chroma 0.055 and its hue 256°. Its hue sits on the cool side of the wheel. The nearest named color is Rich Navy (#001219), ΔE 0.037 away. White text reads best on it, at 18.70:1.

Hue familyBlues
Lightnessvery dark (18%)
Chromamuted (0.055)
Temperaturecool
Nearest nameRich Navy (#001219)
Black text1.12:1
White text18.70:1

Values

HEX#02122A
RGBrgb(2, 18, 42)
HSLhsl(216, 91%, 9%)
OKLCHoklch(18.4% 0.055 256)

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 #02122A 18.70:1 AAA Lc -107.2 Preferred for body text
Black text on #02122A 1.12:1 Fails Lc 0.0 Not readable
#02122A text on white 18.70:1 AAA Lc 105.1 Preferred for body text
#02122A text on black 1.12: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

    #F2F6FB

    oklch(97.2% 0.008 253.9)

  2. Step 100

    100

    #E2EBF7

    oklch(93.7% 0.019 255.5)

  3. Step 200

    200

    #CADBF1

    oklch(88.6% 0.035 254.9)

  4. Step 300

    300

    #A6C3EB

    oklch(80.9% 0.065 256.5)

  5. Step 400

    400

    #75A3E1

    oklch(70.7% 0.104 256.1)

  6. Step 500

    500

    #508BD8

    oklch(63.2% 0.132 255.8)

  7. Step 600

    600

    #3373C5

    oklch(55.6% 0.143 256)

  8. Step 700

    700

    #2560AB

    oklch(49.1% 0.134 256.1)

  9. Step 800

    800

    #204F8A

    oklch(42.7% 0.11 255.7)

  10. Step 900

    900

    #20426E

    oklch(37.7% 0.086 255.8)

  11. Step 950

    950 (this color)

    #02122A

    oklch(18.4% 0.055 256)

Export this scale for Tailwind in the Tailwind colors tool

#02122A 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)#06142B0.011
Deuteranopia (no green cones)#00102A0.009
Tritanopia (no blue cones)#00181B0.043
Achromatopsia (no color)#1212120.055

Harmonies

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

Complementary

The opposite hue (180°).

  • #02122A

    #02122A

    oklch(18.4% 0.055 256)

  • #1C1000

    #1C1000

    oklch(18.5% 0.039 77.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #02122A

    #02122A

    oklch(18.4% 0.055 256)

  • #00151E

    #00151E

    oklch(18.2% 0.035 226.6)

  • #110D29

    #110D29

    oklch(18.3% 0.055 286.2)

Open the analogous palette in the generator

Split complementary

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

  • #02122A

    #02122A

    oklch(18.4% 0.055 256)

  • #240900

    #240900

    oklch(18.4% 0.052 46)

  • #151300

    #151300

    oklch(18.3% 0.039 104.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #02122A

    #02122A

    oklch(18.4% 0.055 256)

  • #26060A

    #26060A

    oklch(18.5% 0.055 16.1)

  • #061700

    #061700

    oklch(18.2% 0.054 136)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #02122A

    #02122A

    oklch(18.4% 0.055 256)

  • #230617

    #230617

    oklch(18.4% 0.056 347.3)

  • #1C1000

    #1C1000

    oklch(18.5% 0.039 77.5)

  • #00180E

    #00180E

    oklch(18.5% 0.039 164.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #02122A 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.