#04151E

Closest named color: Rich Navy (#001219). oklch(18.6% 0.03 232.7), rgb(4, 21, 30).

Aa

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

About this color

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

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

Values

HEX#04151E
RGBrgb(4, 21, 30)
HSLhsl(201, 76%, 7%)
OKLCHoklch(18.6% 0.03 232.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 #04151E 18.56:1 AAA Lc -107.1 Preferred for body text
Black text on #04151E 1.13:1 Fails Lc 0.0 Not readable
#04151E text on white 18.56:1 AAA Lc 105.1 Preferred for body text
#04151E 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

    #F2F6F8

    oklch(97.1% 0.005 228.8)

  2. Step 100

    100

    #E3EBF0

    oklch(93.5% 0.011 234.8)

  3. Step 200

    200

    #CDDCE4

    oklch(88.6% 0.02 230.7)

  4. Step 300

    300

    #ABC5D4

    oklch(80.9% 0.035 233.2)

  5. Step 400

    400

    #7DA7BF

    oklch(70.6% 0.057 233.7)

  6. Step 500

    500

    #5A91AF

    oklch(63% 0.074 233.5)

  7. Step 600

    600

    #3E7B9A

    oklch(55.5% 0.079 232.8)

  8. Step 700

    700

    #306884

    oklch(49.2% 0.074 232.8)

  9. Step 800

    800

    #29556B

    oklch(42.8% 0.061 232.4)

  10. Step 900

    900

    #264657

    oklch(37.7% 0.048 233.2)

  11. Step 950

    950 (this color)

    #04151E

    oklch(18.6% 0.03 232.7)

Export this scale for Tailwind in the Tailwind colors tool

#04151E 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)#11151E0.020
Deuteranopia (no green cones)#0D121E0.017
Tritanopia (no blue cones)#0017180.018
Achromatopsia (no color)#1313130.030

Harmonies

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

Complementary

The opposite hue (180°).

  • #04151E

    #04151E

    oklch(18.6% 0.03 232.7)

  • #1D0F06

    #1D0F06

    oklch(18.6% 0.03 54.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #04151E

    #04151E

    oklch(18.6% 0.03 232.7)

  • #011719

    #011719

    oklch(18.7% 0.03 202.6)

  • #0C1320

    #0C1320

    oklch(18.7% 0.029 262.2)

Open the analogous palette in the generator

Split complementary

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

  • #04151E

    #04151E

    oklch(18.6% 0.03 232.7)

  • #1F0D0C

    #1F0D0C

    oklch(18.6% 0.031 23.9)

  • #191103

    #191103

    oklch(18.4% 0.03 82.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #04151E

    #04151E

    oklch(18.6% 0.03 232.7)

  • #1D0D14

    #1D0D14

    oklch(18.6% 0.03 352.7)

  • #131404

    #131404

    oklch(18.5% 0.031 112)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #04151E

    #04151E

    oklch(18.6% 0.03 232.7)

  • #190E1B

    #190E1B

    oklch(18.5% 0.031 321.2)

  • #1D0F06

    #1D0F06

    oklch(18.6% 0.03 54.3)

  • #0A160A

    #0A160A

    oklch(18.5% 0.03 144.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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