#05071A

Closest named color: Almost Black (#070D0D). oklch(14% 0.042 273.7), rgb(5, 7, 26).

Aa

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

About this color

#05071A is a very dark, muted blue. In OKLCH its lightness is 14%, its chroma 0.042 and its hue 274°. Its hue sits on the cool side of the wheel. The nearest named color is Almost Black (#070D0D), ΔE 0.043 away. White text reads best on it, at 19.96:1.

Hue familyBlues
Lightnessvery dark (14%)
Chromamuted (0.042)
Temperaturecool
Nearest nameAlmost Black (#070D0D)
Black text1.05:1
White text19.96:1

Values

HEX#05071A
RGBrgb(5, 7, 26)
HSLhsl(234, 68%, 6%)
OKLCHoklch(14% 0.042 273.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 #05071A 19.96:1 AAA Lc -107.7 Preferred for body text
Black text on #05071A 1.05:1 Fails Lc 0.0 Not readable
#05071A text on white 19.96:1 AAA Lc 105.8 Preferred for body text
#05071A text on black 1.05: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

    #F4F5FA

    oklch(97.1% 0.007 277.2)

  2. Step 100

    100

    #E7E9F4

    oklch(93.6% 0.015 277.8)

  3. Step 200

    200

    #D3D8EC

    oklch(88.4% 0.028 274.6)

  4. Step 300

    300

    #B6BFE1

    oklch(80.9% 0.049 273.6)

  5. Step 400

    400

    #919DD2

    oklch(70.6% 0.079 274.3)

  6. Step 500

    500

    #7685C7

    oklch(63.2% 0.101 273.4)

  7. Step 600

    600

    #5F6DB3

    oklch(55.5% 0.11 273.7)

  8. Step 700

    700

    #4F5B9A

    oklch(49.1% 0.102 273.9)

  9. Step 800

    800

    #414B7D

    oklch(42.8% 0.084 273.8)

  10. Step 900

    900

    #373F65

    oklch(37.9% 0.066 273.8)

  11. Step 950

    950 (this color)

    #05071A

    oklch(14% 0.042 273.7)

Export this scale for Tailwind in the Tailwind colors tool

#05071A 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)#01091B0.013
Deuteranopia (no green cones)#00081A0.015
Tritanopia (no blue cones)#000B0F0.035
Achromatopsia (no color)#0909090.042

Harmonies

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

Complementary

The opposite hue (180°).

  • #05071A

    #05071A

    oklch(14% 0.042 273.7)

  • #0D0900

    #0D0900

    oklch(14.1% 0.029 95.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #05071A

    #05071A

    oklch(14% 0.042 273.7)

  • #000A16

    #000A16

    oklch(13.9% 0.034 244)

  • #0D0517

    #0D0517

    oklch(14.1% 0.041 303.5)

Open the analogous palette in the generator

Split complementary

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

  • #05071A

    #05071A

    oklch(14% 0.042 273.7)

  • #120600

    #120600

    oklch(13.9% 0.032 62.6)

  • #070B00

    #070B00

    oklch(14% 0.034 122)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #05071A

    #05071A

    oklch(14% 0.042 273.7)

  • #170301

    #170301

    oklch(14% 0.042 34.6)

  • #000D04

    #000D04

    oklch(14% 0.034 155.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #05071A

    #05071A

    oklch(14% 0.042 273.7)

  • #160307

    #160307

    oklch(14.1% 0.04 6.1)

  • #0D0900

    #0D0900

    oklch(14.1% 0.029 95.3)

  • #000C0A

    #000C0A

    oklch(13.9% 0.025 184.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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