#00051B

Closest named color: Midnight (#03012D). oklch(12.6% 0.053 260.5), rgb(0, 5, 27).

Aa

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

About this color

#00051B is a very dark, muted blue. In OKLCH its lightness is 13%, its chroma 0.053 and its hue 261°. Its hue sits on the cool side of the wheel. The nearest named color is Midnight (#03012D), ΔE 0.040 away. White text reads best on it, at 20.24:1.

Hue familyBlues
Lightnessvery dark (13%)
Chromamuted (0.053)
Temperaturecool
Nearest nameMidnight (#03012D)
Black text1.03:1
White text20.24:1

Values

HEX#00051B
RGBrgb(0, 5, 27)
HSLhsl(229, 100%, 5%)
OKLCHoklch(12.6% 0.053 260.5)

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 #00051B 20.24:1 AAA Lc -107.8 Preferred for body text
Black text on #00051B 1.03:1 Fails Lc 0.0 Not readable
#00051B text on white 20.24:1 AAA Lc 105.9 Preferred for body text
#00051B text on black 1.03: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

    #E3EAF6

    oklch(93.5% 0.018 261.3)

  3. Step 200

    200

    #CCDAF1

    oklch(88.5% 0.035 260.4)

  4. Step 300

    300

    #AAC2EA

    oklch(81% 0.063 260.6)

  5. Step 400

    400

    #7CA1DF

    oklch(70.6% 0.1 260.4)

  6. Step 500

    500

    #5B89D6

    oklch(63.2% 0.127 260.2)

  7. Step 600

    600

    #4171C4

    oklch(55.6% 0.139 260.6)

  8. Step 700

    700

    #335EA9

    oklch(49.1% 0.129 260.7)

  9. Step 800

    800

    #2B4D89

    oklch(42.7% 0.107 260.9)

  10. Step 900

    900

    #27416E

    oklch(37.8% 0.084 260.7)

  11. Step 950

    950 (this color)

    #00051B

    oklch(12.6% 0.053 260.5)

Export this scale for Tailwind in the Tailwind colors tool

#00051B 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)#00081C0.014
Deuteranopia (no green cones)#00051B0.000
Tritanopia (no blue cones)#000A0E0.040
Achromatopsia (no color)#0606060.053

Harmonies

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

Complementary

The opposite hue (180°).

  • #00051B

    #00051B

    oklch(12.6% 0.053 260.5)

  • #0C0600

    #0C0600

    oklch(12.8% 0.026 81.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #00051B

    #00051B

    oklch(12.6% 0.053 260.5)

  • #00080E

    #00080E

    oklch(12.6% 0.025 228.8)

  • #070219

    #070219

    oklch(12.3% 0.054 290.5)

Open the analogous palette in the generator

Split complementary

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

  • #00051B

    #00051B

    oklch(12.6% 0.053 260.5)

  • #100300

    #100300

    oklch(12.4% 0.033 48.4)

  • #070700

    #070700

    oklch(12.4% 0.027 109.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #00051B

    #00051B

    oklch(12.6% 0.053 260.5)

  • #160001

    #160001

    oklch(12.6% 0.051 22.9)

  • #010A00

    #010A00

    oklch(12.7% 0.04 139.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #00051B

    #00051B

    oklch(12.6% 0.053 260.5)

  • #140009

    #140009

    oklch(12.6% 0.053 350.3)

  • #0C0600

    #0C0600

    oklch(12.8% 0.026 81.9)

  • #000906

    #000906

    oklch(12.5% 0.024 175)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #00051B 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.