#04151A#04151A

#04151A is a very dark, muted cyan. Relative luminance 0.006; OKLCH L 18.3% C 0.026 H 218.5°. Best body text is #FFFFFF at 18.63:1 contrast (WCAG AA passes).

Color values

HEX#04151A
RGBrgb(4, 21, 26)
HSLhsl(194, 73%, 6%)
HSVhsv(194, 85%, 10%)
CMYKcmyk(84.6%, 19.2%, 0%, 89.8%)
CIE-LABlab(5.75, -4.12, -5.38)
CIE-LCHlch(5.75, 6.78, 232.57°)
OKLaboklab(18.32% -0.0203 -0.0162)
OKLCHoklch(18.32% 0.026 218.5)
XYZxyz(0.5046, 0.6367, 1.0734)
Luminance0.0064 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04151A #1A0904
analogous
#041A14 #04151A #040A1A
triadic
#04151A #1A0415 #151A04
tetradic
#04151A #14041A #1A0904 #0A1A04
square
#04151A #14041A #1A0904 #0A1A04
split-complementary
#04151A #1A040A #1A1404
monochromatic
#04151B #04151B #04151B #0C404F #146B84

Accessibility & contrast

On white

18.63
#04151A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #04151A
18.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04151A#FFFFFF#000000##FFFFFF
##04151A1.0018.631.1318.63
#FFFFFF18.631.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12141A
Deuteranopia (green-blind)
#0E121A
Tritanopia (blue-blind)
#001717
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #04151a;
/* rgb */ color: rgb(4, 21, 26);
/* oklch */ color: oklch(18.3% 0.026 218.5);
Tailwind
colors: {
  custom: {
    50: '#485256',
    500: '#04151a',
    950: '#000000',
  },
}
SCSS
$custom: #04151a;
$custom-light: #485256;
$custom-dark: #000000;
JSON
{
  "hex": "#04151a",
  "rgb": {
    "r": 4,
    "g": 21,
    "b": 26
  },
  "hsl": {
    "h": 193.636,
    "s": 73.333,
    "l": 5.882
  },
  "oklch": {
    "l": 0.18317,
    "c": 0.026,
    "h": 218.5
  },
  "luminance": 0.00637
}

Semantic roles & 50–950 ramp

primary
#04151A
secondary
#5C2C1E
accent
#6238F0
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000203
muted
#777878

Preview Lab

Preview with #04151A

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

Preview Lab → · Contrast checker → · Palette generator →

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