#051224

Closest named color: Rich Navy (#001219). oklch(18.1% 0.042 255.7), rgb(5, 18, 36).

Aa

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

About this color

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

Hue familyBlues
Lightnessvery dark (18%)
Chromamuted (0.042)
Temperaturecool
Nearest nameRich Navy (#001219)
Black text1.11:1
White text18.77:1

Values

HEX#051224
RGBrgb(5, 18, 36)
HSLhsl(215, 76%, 8%)
OKLCHoklch(18.1% 0.042 255.7)

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 #051224 18.77:1 AAA Lc -107.2 Preferred for body text
Black text on #051224 1.11:1 Fails Lc 0.0 Not readable
#051224 text on white 18.77:1 AAA Lc 105.2 Preferred for body text
#051224 text on black 1.11: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

    #F3F6FA

    oklch(97.2% 0.006 255.5)

  2. Step 100

    100

    #E4EAF4

    oklch(93.5% 0.015 260.7)

  3. Step 200

    200

    #CDDAEC

    oklch(88.4% 0.029 256.5)

  4. Step 300

    300

    #ACC3E1

    oklch(81% 0.049 255.1)

  5. Step 400

    400

    #80A3D2

    oklch(70.7% 0.079 255.9)

  6. Step 500

    500

    #5F8BC6

    oklch(63% 0.102 256)

  7. Step 600

    600

    #4575B3

    oklch(55.7% 0.11 255.5)

  8. Step 700

    700

    #36629A

    oklch(49.2% 0.103 255.3)

  9. Step 800

    800

    #2D507D

    oklch(42.7% 0.086 255.4)

  10. Step 900

    900

    #294364

    oklch(37.8% 0.065 255)

  11. Step 950

    950 (this color)

    #051224

    oklch(18.1% 0.042 255.7)

Export this scale for Tailwind in the Tailwind colors tool

#051224 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)#0A13250.010
Deuteranopia (no green cones)#0610240.007
Tritanopia (no blue cones)#0016190.032
Achromatopsia (no color)#1212120.042

Harmonies

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

Complementary

The opposite hue (180°).

  • #051224

    #051224

    oklch(18.1% 0.042 255.7)

  • #1B0F00

    #1B0F00

    oklch(18.1% 0.038 76.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #051224

    #051224

    oklch(18.1% 0.042 255.7)

  • #00151D

    #00151D

    oklch(18.2% 0.034 223.7)

  • #100E23

    #100E23

    oklch(17.9% 0.042 285.6)

Open the analogous palette in the generator

Split complementary

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

  • #051224

    #051224

    oklch(18.1% 0.042 255.7)

  • #210B03

    #210B03

    oklch(18.3% 0.042 44.3)

  • #141300

    #141300

    oklch(18.2% 0.039 107.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #051224

    #051224

    oklch(18.1% 0.042 255.7)

  • #21090B

    #21090B

    oklch(18.1% 0.042 17)

  • #091603

    #091603

    oklch(18.2% 0.043 135.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #051224

    #051224

    oklch(18.1% 0.042 255.7)

  • #1F0916

    #1F0916

    oklch(18.2% 0.043 345.8)

  • #1B0F00

    #1B0F00

    oklch(18.1% 0.038 76.6)

  • #00170E

    #00170E

    oklch(18.1% 0.038 166.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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