#05060F

Closest named color: Almost Black (#070D0D). oklch(12.6% 0.022 276.4), rgb(5, 6, 15).

Aa

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

About this color

#05060F is a very dark close to neutral grey. In OKLCH its lightness is 13%, its chroma 0.022. It has too little chroma to lean warm or cool. The nearest named color is Almost Black (#070D0D), ΔE 0.034 away. White text reads best on it, at 20.20:1.

Hue familyNeutrals
Lightnessvery dark (13%)
Chromaclose to neutral grey (0.022)
Temperatureneutral
Nearest nameAlmost Black (#070D0D)
Black text1.03:1
White text20.20:1

Values

HEX#05060F
RGBrgb(5, 6, 15)
HSLhsl(234, 50%, 4%)
OKLCHoklch(12.6% 0.022 276.4)

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 #05060F 20.20:1 AAA Lc -107.8 Preferred for body text
Black text on #05060F 1.03:1 Fails Lc 0.0 Not readable
#05060F text on white 20.20:1 AAA Lc 106.0 Preferred for body text
#05060F 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

    #F5F5F8

    oklch(97.1% 0.004 286.3)

  2. Step 100

    100

    #E8E9EF

    oklch(93.5% 0.008 278.6)

  3. Step 200

    200

    #D6D8E3

    oklch(88.4% 0.015 277.8)

  4. Step 300

    300

    #BCC0D2

    oklch(81% 0.026 275.8)

  5. Step 400

    400

    #999FBB

    oklch(70.7% 0.041 275.8)

  6. Step 500

    500

    #8187AA

    oklch(63.1% 0.053 277.2)

  7. Step 600

    600

    #6A7195

    oklch(55.7% 0.057 275.9)

  8. Step 700

    700

    #585E7F

    oklch(49% 0.053 276.3)

  9. Step 800

    800

    #484D67

    oklch(42.6% 0.044 275.9)

  10. Step 900

    900

    #3C4054

    oklch(37.6% 0.035 275.8)

  11. Step 950

    950 (this color)

    #05060F

    oklch(12.6% 0.022 276.4)

Export this scale for Tailwind in the Tailwind colors tool

#05060F 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)#04070F0.006
Deuteranopia (no green cones)#03060F0.006
Tritanopia (no blue cones)#0308090.021
Achromatopsia (no color)#0606060.022

Harmonies

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

Complementary

The opposite hue (180°).

  • #05060F

    #05060F

    oklch(12.6% 0.022 276.4)

  • #090701

    #090701

    oklch(12.8% 0.021 98)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #05060F

    #05060F

    oklch(12.6% 0.022 276.4)

  • #02070F

    #02070F

    oklch(12.6% 0.023 249.8)

  • #09050D

    #09050D

    oklch(12.7% 0.021 309)

Open the analogous palette in the generator

Split complementary

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

  • #05060F

    #05060F

    oklch(12.6% 0.022 276.4)

  • #0C0501

    #0C0501

    oklch(12.5% 0.022 65.6)

  • #050802

    #050802

    oklch(12.7% 0.021 127.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #05060F

    #05060F

    oklch(12.6% 0.022 276.4)

  • #0E0403

    #0E0403

    oklch(12.6% 0.023 30.1)

  • #020904

    #020904

    oklch(12.7% 0.022 154.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #05060F

    #05060F

    oklch(12.6% 0.022 276.4)

  • #0E0406

    #0E0406

    oklch(12.7% 0.023 4.1)

  • #090701

    #090701

    oklch(12.8% 0.021 98)

  • #000908

    #000908

    oklch(12.6% 0.022 188.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #05060F 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.