#05122C

Closest named color: Rich Black (#0D1B2A). oklch(18.8% 0.056 261.4), rgb(5, 18, 44).

Aa

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

About this color

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

Hue familyBlues
Lightnessvery dark (19%)
Chromamuted (0.056)
Temperaturecool
Nearest nameRich Black (#0D1B2A)
Black text1.12:1
White text18.59:1

Values

HEX#05122C
RGBrgb(5, 18, 44)
HSLhsl(220, 80%, 10%)
OKLCHoklch(18.8% 0.056 261.4)

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 #05122C 18.59:1 AAA Lc -107.1 Preferred for body text
Black text on #05122C 1.12:1 Fails Lc 0.0 Not readable
#05122C text on white 18.59:1 AAA Lc 105.0 Preferred for body text
#05122C 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

    #F2F6FC

    oklch(97.2% 0.009 258.3)

  2. Step 100

    100

    #E3EAF7

    oklch(93.6% 0.019 263)

  3. Step 200

    200

    #CCDAF2

    oklch(88.5% 0.036 261.3)

  4. Step 300

    300

    #A9C2EC

    oklch(81% 0.066 260.7)

  5. Step 400

    400

    #7BA1E3

    oklch(70.8% 0.106 261.1)

  6. Step 500

    500

    #5A88DB

    oklch(63.2% 0.135 261.4)

  7. Step 600

    600

    #3F70C9

    oklch(55.7% 0.148 261.3)

  8. Step 700

    700

    #315DAD

    oklch(49% 0.137 261.2)

  9. Step 800

    800

    #2A4C8C

    oklch(42.6% 0.113 261.8)

  10. Step 900

    900

    #264070

    oklch(37.7% 0.089 261.6)

  11. Step 950

    950 (this color)

    #05122C

    oklch(18.8% 0.056 261.4)

Export this scale for Tailwind in the Tailwind colors tool

#05122C 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)#05152D0.010
Deuteranopia (no green cones)#00112B0.011
Tritanopia (no blue cones)#00181C0.045
Achromatopsia (no color)#1313130.056

Harmonies

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

Complementary

The opposite hue (180°).

  • #05122C

    #05122C

    oklch(18.8% 0.056 261.4)

  • #1C1100

    #1C1100

    oklch(18.8% 0.039 80.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #05122C

    #05122C

    oklch(18.8% 0.056 261.4)

  • #001621

    #001621

    oklch(18.8% 0.038 231.1)

  • #140D2A

    #140D2A

    oklch(18.7% 0.057 291.1)

Open the analogous palette in the generator

Split complementary

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

  • #05122C

    #05122C

    oklch(18.8% 0.056 261.4)

  • #240C00

    #240C00

    oklch(19% 0.049 52.1)

  • #141500

    #141500

    oklch(18.8% 0.042 112)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #05122C

    #05122C

    oklch(18.8% 0.056 261.4)

  • #270608

    #270608

    oklch(18.6% 0.056 20.4)

  • #031902

    #031902

    oklch(18.8% 0.056 141.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #05122C

    #05122C

    oklch(18.8% 0.056 261.4)

  • #250716

    #250716

    oklch(18.9% 0.055 352.4)

  • #1C1100

    #1C1100

    oklch(18.8% 0.039 80.8)

  • #001911

    #001911

    oklch(19% 0.038 169.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #05122C 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.