#05151F

Closest named color: Rich Navy (#001219). oklch(18.7% 0.03 237.3), rgb(5, 21, 31).

Aa

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

About this color

#05151F is a very dark, muted blue. In OKLCH its lightness is 19%, its chroma 0.030 and its hue 237°. Its hue sits on the cool side of the wheel. The nearest named color is Rich Navy (#001219), ΔE 0.020 away. White text reads best on it, at 18.52:1.

Hue familyBlues
Lightnessvery dark (19%)
Chromamuted (0.030)
Temperaturecool
Nearest nameRich Navy (#001219)
Black text1.13:1
White text18.52:1

Values

HEX#05151F
RGBrgb(5, 21, 31)
HSLhsl(203, 72%, 7%)
OKLCHoklch(18.7% 0.03 237.3)

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 #05151F 18.52:1 AAA Lc -107.1 Preferred for body text
Black text on #05151F 1.13:1 Fails Lc 0.0 Not readable
#05151F text on white 18.52:1 AAA Lc 105.0 Preferred for body text
#05151F text on black 1.13: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

    #F3F6F8

    oklch(97.1% 0.004 236.5)

  2. Step 100

    100

    #E4EBF0

    oklch(93.6% 0.01 238.5)

  3. Step 200

    200

    #CDDBE5

    oklch(88.4% 0.02 238.7)

  4. Step 300

    300

    #ACC5D5

    oklch(81% 0.035 236)

  5. Step 400

    400

    #7FA7C1

    oklch(70.8% 0.058 237.1)

  6. Step 500

    500

    #5D90B1

    oklch(63% 0.074 237.9)

  7. Step 600

    600

    #427A9D

    oklch(55.6% 0.08 238)

  8. Step 700

    700

    #336786

    oklch(49.2% 0.075 237.1)

  9. Step 800

    800

    #2B546D

    oklch(42.7% 0.062 237.4)

  10. Step 900

    900

    #274558

    oklch(37.6% 0.049 237.8)

  11. Step 950

    950 (this color)

    #05151F

    oklch(18.7% 0.03 237.3)

Export this scale for Tailwind in the Tailwind colors tool

#05151F 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)#10151F0.017
Deuteranopia (no green cones)#0D121F0.016
Tritanopia (no blue cones)#0018180.023
Achromatopsia (no color)#1313130.030

Harmonies

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

Complementary

The opposite hue (180°).

  • #05151F

    #05151F

    oklch(18.7% 0.03 237.3)

  • #1D0F05

    #1D0F05

    oklch(18.5% 0.031 57.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #05151F

    #05151F

    oklch(18.7% 0.03 237.3)

  • #01171A

    #01171A

    oklch(18.8% 0.031 206.5)

  • #0D1321

    #0D1321

    oklch(18.8% 0.03 265.9)

Open the analogous palette in the generator

Split complementary

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

  • #05151F

    #05151F

    oklch(18.7% 0.03 237.3)

  • #1F0E0C

    #1F0E0C

    oklch(18.8% 0.03 27.4)

  • #191203

    #191203

    oklch(18.7% 0.031 86.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #05151F

    #05151F

    oklch(18.7% 0.03 237.3)

  • #1E0D13

    #1E0D13

    oklch(18.7% 0.031 357.9)

  • #121505

    #121505

    oklch(18.7% 0.031 117.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #05151F

    #05151F

    oklch(18.7% 0.03 237.3)

  • #1A0E1A

    #1A0E1A

    oklch(18.6% 0.03 326.7)

  • #1D0F05

    #1D0F05

    oklch(18.5% 0.031 57.5)

  • #09170B

    #09170B

    oklch(18.7% 0.031 147.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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