#04151E#04151E

#04151E is a very dark, muted cyan. Relative luminance 0.007; OKLCH L 18.6% C 0.030 H 232.7°. Best body text is #FFFFFF at 18.56:1 contrast (WCAG AA passes).

Color values

HEX#04151E
RGBrgb(4, 21, 30)
HSLhsl(201, 76%, 7%)
HSVhsv(201, 87%, 12%)
CMYKcmyk(86.7%, 30%, 0%, 88.2%)
CIE-LABlab(5.92, -2.90, -8.21)
CIE-LCHlch(5.92, 8.71, 250.54°)
OKLaboklab(18.56% -0.0183 -0.024)
OKLCHoklch(18.56% 0.03 232.7)
XYZxyz(0.5525, 0.6558, 1.3255)
Luminance0.0066 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04151E #1E0D04
analogous
#041E1A #04151E #04081E
triadic
#04151E #1E0415 #151E04
tetradic
#04151E #1A041E #1E0D04 #081E04
square
#04151E #1A041E #1E0D04 #081E04
split-complementary
#04151E #1E0408 #1E1A04
monochromatic
#04131B #04131B #04151E #0B3B54 #12618A

Accessibility & contrast

On white

18.56
#04151E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#04151E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #04151E
18.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04151E#FFFFFF#000000##FFFFFF
##04151E1.0018.561.1318.56
#FFFFFF18.561.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11151E
Deuteranopia (green-blind)
#0D121E
Tritanopia (blue-blind)
#001718
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #04151e;
/* rgb */ color: rgb(4, 21, 30);
/* oklch */ color: oklch(18.6% 0.030 232.7);
Tailwind
colors: {
  custom: {
    50: '#485259',
    500: '#04151e',
    950: '#000000',
  },
}
SCSS
$custom: #04151e;
$custom-light: #485259;
$custom-dark: #000000;
JSON
{
  "hex": "#04151e",
  "rgb": {
    "r": 4,
    "g": 21,
    "b": 30
  },
  "hsl": {
    "h": 200.769,
    "s": 76.471,
    "l": 6.667
  },
  "oklch": {
    "l": 0.18558,
    "c": 0.03021,
    "h": 232.7
  },
  "luminance": 0.00656
}

Semantic roles & 50–950 ramp

primary
#04151E
secondary
#61351D
accent
#7735F3
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000203
muted
#777878

Preview Lab

Preview with #04151E

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#04151E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva