#05150C

Closest named color: Rich Navy (#001219). oklch(17.8% 0.03 158.2), rgb(5, 21, 12).

Aa

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

About this color

#05150C is a very dark close to neutral grey. In OKLCH its lightness is 18%, its chroma 0.030. It has too little chroma to lean warm or cool. The nearest named color is Rich Navy (#001219), ΔE 0.034 away. White text reads best on it, at 18.76:1.

Hue familyNeutrals
Lightnessvery dark (18%)
Chromaclose to neutral grey (0.030)
Temperatureneutral
Nearest nameRich Navy (#001219)
Black text1.11:1
White text18.76:1

Values

HEX#05150C
RGBrgb(5, 21, 12)
HSLhsl(146, 62%, 5%)
OKLCHoklch(17.8% 0.03 158.2)

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 #05150C 18.76:1 AAA Lc -107.3 Preferred for body text
Black text on #05150C 1.11:1 Fails Lc 0.0 Not readable
#05150C text on white 18.76:1 AAA Lc 105.2 Preferred for body text
#05150C text on black 1.11: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

    #F3F6F4

    oklch(97% 0.004 157.2)

  2. Step 100

    100

    #E5ECE7

    oklch(93.6% 0.01 155.1)

  3. Step 200

    200

    #CFDDD4

    oklch(88.4% 0.019 157.8)

  4. Step 300

    300

    #AFC8B8

    oklch(80.9% 0.035 157.5)

  5. Step 400

    400

    #83AC93

    oklch(70.7% 0.057 157.8)

  6. Step 500

    500

    #639779

    oklch(63.1% 0.072 158.2)

  7. Step 600

    600

    #498162

    oklch(55.5% 0.077 158.3)

  8. Step 700

    700

    #396D51

    oklch(49% 0.073 158.6)

  9. Step 800

    800

    #305942

    oklch(42.7% 0.061 157.9)

  10. Step 900

    900

    #2B4938

    oklch(37.6% 0.047 158.3)

  11. Step 950

    950 (this color)

    #05150C

    oklch(17.8% 0.03 158.2)

Export this scale for Tailwind in the Tailwind colors tool

#05150C 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)#15130B0.028
Deuteranopia (no green cones)#12110D0.027
Tritanopia (no blue cones)#0215130.014
Achromatopsia (no color)#1212120.030

Harmonies

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

Complementary

The opposite hue (180°).

  • #05150C

    #05150C

    oklch(17.8% 0.03 158.2)

  • #1A0C16

    #1A0C16

    oklch(17.9% 0.03 338.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #05150C

    #05150C

    oklch(17.8% 0.03 158.2)

  • #0D1405

    #0D1405

    oklch(17.9% 0.032 128.7)

  • #011514

    #011514

    oklch(17.8% 0.029 190.8)

Open the analogous palette in the generator

Split complementary

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

  • #05150C

    #05150C

    oklch(17.8% 0.03 158.2)

  • #150D1B

    #150D1B

    oklch(17.7% 0.03 309.8)

  • #1C0B0E

    #1C0B0E

    oklch(17.7% 0.03 9.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #05150C

    #05150C

    oklch(17.8% 0.03 158.2)

  • #0E101E

    #0E101E

    oklch(17.9% 0.029 276.8)

  • #1C0C07

    #1C0C07

    oklch(17.7% 0.03 39.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #05150C

    #05150C

    oklch(17.8% 0.03 158.2)

  • #06121E

    #06121E

    oklch(17.8% 0.031 248.9)

  • #1A0C16

    #1A0C16

    oklch(17.9% 0.03 338.1)

  • #1A0E03

    #1A0E03

    oklch(17.7% 0.031 66.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #05150C 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.