#04151B#04151B

#04151B is a very dark, muted cyan. Relative luminance 0.006; OKLCH L 18.4% C 0.027 H 222.5°. Best body text is #FFFFFF at 18.61:1 contrast (WCAG AA passes).

Color values

HEX#04151B
RGBrgb(4, 21, 27)
HSLhsl(196, 74%, 6%)
HSVhsv(196, 85%, 11%)
CMYKcmyk(85.2%, 22.2%, 0%, 89.4%)
CIE-LABlab(5.79, -3.83, -6.10)
CIE-LCHlch(5.79, 7.20, 237.87°)
OKLaboklab(18.38% -0.0198 -0.0181)
OKLCHoklch(18.38% 0.027 222.5)
XYZxyz(0.5160, 0.6412, 1.1333)
Luminance0.0064 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04151B #1B0A04
analogous
#041B15 #04151B #04091B
triadic
#04151B #1B0415 #151B04
tetradic
#04151B #15041B #1B0A04 #091B04
square
#04151B #15041B #1B0A04 #091B04
split-complementary
#04151B #1B0409 #1B1504
monochromatic
#04151B #04151B #04151B #0C3E50 #146886

Accessibility & contrast

On white

18.61
#04151B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #04151B
18.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04151B#FFFFFF#000000##FFFFFF
##04151B1.0018.611.1318.61
#FFFFFF18.611.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #04151b;
/* rgb */ color: rgb(4, 21, 27);
/* oklch */ color: oklch(18.4% 0.027 222.5);
Tailwind
colors: {
  custom: {
    50: '#485257',
    500: '#04151b',
    950: '#000000',
  },
}
SCSS
$custom: #04151b;
$custom-light: #485257;
$custom-dark: #000000;
JSON
{
  "hex": "#04151b",
  "rgb": {
    "r": 4,
    "g": 21,
    "b": 27
  },
  "hsl": {
    "h": 195.652,
    "s": 74.194,
    "l": 6.078
  },
  "oklch": {
    "l": 0.18375,
    "c": 0.02687,
    "h": 222.5
  },
  "luminance": 0.00641
}

Semantic roles & 50–950 ramp

primary
#04151B
secondary
#5D2E1E
accent
#6737F1
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000203
muted
#777878

Preview Lab

Preview with #04151B

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

Preview Lab → · Contrast checker → · Palette generator →

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