#04161A#04161A

#04161A is a very dark, muted cyan. Relative luminance 0.007; OKLCH L 18.6% C 0.026 H 213.4°. Best body text is #FFFFFF at 18.51:1 contrast (WCAG AA passes).

Color values

HEX#04161A
RGBrgb(4, 22, 26)
HSLhsl(191, 73%, 6%)
HSVhsv(191, 85%, 10%)
CMYKcmyk(84.6%, 15.4%, 0%, 89.8%)
CIE-LABlab(6.09, -4.81, -4.88)
CIE-LCHlch(6.09, 6.85, 225.42°)
OKLaboklab(18.65% -0.0218 -0.0144)
OKLCHoklch(18.65% 0.026 213.4)
XYZxyz(0.5234, 0.6742, 1.0796)
Luminance0.0067 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04161A #1A0804
analogous
#041A13 #04161A #040B1A
triadic
#04161A #1A0416 #161A04
tetradic
#04161A #13041A #1A0804 #0B1A04
square
#04161A #13041A #1A0804 #0B1A04
split-complementary
#04161A #1A040B #1A1304
monochromatic
#04161B #04161B #04161B #0C434F #147084

Accessibility & contrast

On white

18.51
#04161A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #04161A
18.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04161A#FFFFFF#000000##FFFFFF
##04161A1.0018.511.1318.51
#FFFFFF18.511.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13151A
Deuteranopia (green-blind)
#10121A
Tritanopia (blue-blind)
#001817
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #04161a;
/* rgb */ color: rgb(4, 22, 26);
/* oklch */ color: oklch(18.6% 0.026 213.4);
Tailwind
colors: {
  custom: {
    50: '#485256',
    500: '#04161a',
    950: '#000000',
  },
}
SCSS
$custom: #04161a;
$custom-light: #485256;
$custom-dark: #000000;
JSON
{
  "hex": "#04161a",
  "rgb": {
    "r": 4,
    "g": 22,
    "b": 26
  },
  "hsl": {
    "h": 190.909,
    "s": 73.333,
    "l": 5.882
  },
  "oklch": {
    "l": 0.18649,
    "c": 0.02614,
    "h": 213.4
  },
  "luminance": 0.00674
}

Semantic roles & 50–950 ramp

primary
#04161A
secondary
#5C291E
accent
#5938F0
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000203
muted
#777878

Preview Lab

Preview with #04161A

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

Preview Lab → · Contrast checker → · Palette generator →

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