#051234

Closest named color: Navy Blue (#001146). oklch(19.6% 0.07 264), rgb(5, 18, 52).

Aa

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

About this color

#051234 is a very dark, muted blue. In OKLCH its lightness is 20%, its chroma 0.070 and its hue 264°. Its hue sits on the cool side of the wheel. The nearest named color is Navy Blue (#001146), ΔE 0.035 away. White text reads best on it, at 18.37:1.

Hue familyBlues
Lightnessvery dark (20%)
Chromamuted (0.070)
Temperaturecool
Nearest nameNavy Blue (#001146)
Black text1.14:1
White text18.37:1

Values

HEX#051234
RGBrgb(5, 18, 52)
HSLhsl(223, 82%, 11%)
OKLCHoklch(19.6% 0.07 264)

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 #051234 18.37:1 AAA Lc -107.0 Preferred for body text
Black text on #051234 1.14:1 Fails Lc 0.0 Not readable
#051234 text on white 18.37:1 AAA Lc 104.8 Preferred for body text
#051234 text on black 1.14: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

    #F2F6FD

    oklch(97.2% 0.01 261.8)

  2. Step 100

    100

    #E2EAFB

    oklch(93.6% 0.025 265.6)

  3. Step 200

    200

    #CADAF8

    oklch(88.6% 0.045 263.1)

  4. Step 300

    300

    #A6C1F7

    oklch(81% 0.082 264)

  5. Step 400

    400

    #769EF3

    oklch(70.6% 0.133 264.2)

  6. Step 500

    500

    #5483EF

    oklch(63.1% 0.17 264.4)

  7. Step 600

    600

    #396ADD

    oklch(55.5% 0.184 264)

  8. Step 700

    700

    #2C58C0

    oklch(49.2% 0.171 263.9)

  9. Step 800

    800

    #25489B

    oklch(42.6% 0.142 264.1)

  10. Step 900

    900

    #223E7B

    oklch(37.8% 0.109 263.5)

  11. Step 950

    950 (this color)

    #051234

    oklch(19.6% 0.07 264)

Export this scale for Tailwind in the Tailwind colors tool

#051234 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)#0017350.016
Deuteranopia (no green cones)#0012330.009
Tritanopia (no blue cones)#001A200.054
Achromatopsia (no color)#1414140.070

Harmonies

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

Complementary

The opposite hue (180°).

  • #051234

    #051234

    oklch(19.6% 0.07 264)

  • #1E1300

    #1E1300

    oklch(19.6% 0.04 82.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #051234

    #051234

    oklch(19.6% 0.07 264)

  • #001825

    #001825

    oklch(19.7% 0.041 234.1)

  • #180C31

    #180C31

    oklch(19.7% 0.07 293.9)

Open the analogous palette in the generator

Split complementary

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

  • #051234

    #051234

    oklch(19.6% 0.07 264)

  • #250E00

    #250E00

    oklch(19.6% 0.048 55.5)

  • #151700

    #151700

    oklch(19.6% 0.044 113.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #051234

    #051234

    oklch(19.6% 0.07 264)

  • #2E0305

    #2E0305

    oklch(19.6% 0.071 23.5)

  • #001C02

    #001C02

    oklch(19.7% 0.063 144.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #051234

    #051234

    oklch(19.6% 0.07 264)

  • #2B0417

    #2B0417

    oklch(19.7% 0.069 354.7)

  • #1E1300

    #1E1300

    oklch(19.6% 0.04 82.5)

  • #001A14

    #001A14

    oklch(19.5% 0.036 175.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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