#05061E

Closest named color: Midnight (#03012D). oklch(14.1% 0.052 275.1), rgb(5, 6, 30).

Aa

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

About this color

#05061E is a very dark, muted blue. In OKLCH its lightness is 14%, its chroma 0.052 and its hue 275°. Its hue sits on the cool side of the wheel. The nearest named color is Midnight (#03012D), ΔE 0.037 away. White text reads best on it, at 19.97:1.

Hue familyBlues
Lightnessvery dark (14%)
Chromamuted (0.052)
Temperaturecool
Nearest nameMidnight (#03012D)
Black text1.05:1
White text19.97:1

Values

HEX#05061E
RGBrgb(5, 6, 30)
HSLhsl(238, 71%, 7%)
OKLCHoklch(14.1% 0.052 275.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 #05061E 19.97:1 AAA Lc -107.7 Preferred for body text
Black text on #05061E 1.05:1 Fails Lc 0.0 Not readable
#05061E text on white 19.97:1 AAA Lc 105.8 Preferred for body text
#05061E 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

    #F4F5FB

    oklch(97.1% 0.008 278.6)

  2. Step 100

    100

    #E6E9F6

    oklch(93.6% 0.018 275.6)

  3. Step 200

    200

    #D2D8F0

    oklch(88.5% 0.034 274.5)

  4. Step 300

    300

    #B5BEE9

    oklch(80.9% 0.062 275.7)

  5. Step 400

    400

    #8F9CDE

    oklch(70.8% 0.098 275.1)

  6. Step 500

    500

    #7482D4

    oklch(63.1% 0.124 274.9)

  7. Step 600

    600

    #5D6AC2

    oklch(55.6% 0.136 274.8)

  8. Step 700

    700

    #4D58A7

    oklch(49.1% 0.126 274.8)

  9. Step 800

    800

    #3F4887

    oklch(42.6% 0.104 275)

  10. Step 900

    900

    #353D6C

    oklch(37.7% 0.081 274.6)

  11. Step 950

    950 (this color)

    #05061E

    oklch(14.1% 0.052 275.1)

Export this scale for Tailwind in the Tailwind colors tool

#05061E 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)#000A1F0.019
Deuteranopia (no green cones)#00071E0.015
Tritanopia (no blue cones)#000B100.042
Achromatopsia (no color)#0808080.052

Harmonies

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

Complementary

The opposite hue (180°).

  • #05061E

    #05061E

    oklch(14.1% 0.052 275.1)

  • #0D0900

    #0D0900

    oklch(14.1% 0.029 95.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #05061E

    #05061E

    oklch(14.1% 0.052 275.1)

  • #000A17

    #000A17

    oklch(14% 0.036 246)

  • #0E031A

    #0E031A

    oklch(13.9% 0.053 304.6)

Open the analogous palette in the generator

Split complementary

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

  • #05061E

    #05061E

    oklch(14.1% 0.052 275.1)

  • #120600

    #120600

    oklch(13.9% 0.032 62.6)

  • #060C00

    #060C00

    oklch(14.2% 0.036 126.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #05061E

    #05061E

    oklch(14.1% 0.052 275.1)

  • #190200

    #190200

    oklch(14.1% 0.049 35.7)

  • #000D04

    #000D04

    oklch(14% 0.034 155.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #05061E

    #05061E

    oklch(14.1% 0.052 275.1)

  • #190107

    #190107

    oklch(14.1% 0.051 4.4)

  • #0D0900

    #0D0900

    oklch(14.1% 0.029 95.3)

  • #000C0B

    #000C0B

    oklch(13.9% 0.024 189.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #05061E 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.