#00051A

Closest named color: Midnight (#03012D). oklch(12.5% 0.051 260.1), rgb(0, 5, 26).

Aa

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

About this color

#00051A is a very dark, muted blue. In OKLCH its lightness is 12%, its chroma 0.051 and its hue 260°. Its hue sits on the cool side of the wheel. The nearest named color is Midnight (#03012D), ΔE 0.042 away. White text reads best on it, at 20.25:1.

Hue familyBlues
Lightnessvery dark (12%)
Chromamuted (0.051)
Temperaturecool
Nearest nameMidnight (#03012D)
Black text1.03:1
White text20.25:1

Values

HEX#00051A
RGBrgb(0, 5, 26)
HSLhsl(228, 100%, 5%)
OKLCHoklch(12.5% 0.051 260.1)

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

    #CCDAF0

    oklch(88.5% 0.034 259.4)

  4. Step 300

    300

    #AAC2E8

    oklch(80.9% 0.06 259.5)

  5. Step 400

    400

    #7DA1DD

    oklch(70.6% 0.097 260.4)

  6. Step 500

    500

    #5C89D4

    oklch(63.1% 0.124 260.1)

  7. Step 600

    600

    #4271C1

    oklch(55.5% 0.135 260.4)

  8. Step 700

    700

    #345FA7

    oklch(49.2% 0.125 260.1)

  9. Step 800

    800

    #2B4E87

    oklch(42.8% 0.103 259.7)

  10. Step 900

    900

    #27416C

    oklch(37.7% 0.081 260)

  11. Step 950

    950 (this color)

    #00051A

    oklch(12.5% 0.051 260.1)

Export this scale for Tailwind in the Tailwind colors tool

#00051A 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)#00071B0.010
Deuteranopia (no green cones)#00051A0.000
Tritanopia (no blue cones)#000A0D0.041
Achromatopsia (no color)#0606060.051

Harmonies

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

Complementary

The opposite hue (180°).

  • #00051A

    #00051A

    oklch(12.5% 0.051 260.1)

  • #0B0500

    #0B0500

    oklch(12.2% 0.026 78.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #00051A

    #00051A

    oklch(12.5% 0.051 260.1)

  • #00080E

    #00080E

    oklch(12.6% 0.025 228.8)

  • #070319

    #070319

    oklch(12.7% 0.05 288.7)

Open the analogous palette in the generator

Split complementary

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

  • #00051A

    #00051A

    oklch(12.5% 0.051 260.1)

  • #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.

  • #00051A

    #00051A

    oklch(12.5% 0.051 260.1)

  • #150001

    #150001

    oklch(12.4% 0.05 22.5)

  • #010A00

    #010A00

    oklch(12.7% 0.04 139.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #00051A

    #00051A

    oklch(12.5% 0.051 260.1)

  • #130009

    #130009

    oklch(12.3% 0.052 348.8)

  • #0B0500

    #0B0500

    oklch(12.2% 0.026 78.2)

  • #000905

    #000905

    oklch(12.4% 0.025 168.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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