#04162E#04162E

#04162E is a very dark, muted cyan. Relative luminance 0.008; OKLCH L 20.1% C 0.054 H 255.5°. Best body text is #FFFFFF at 18.11:1 contrast (WCAG AA passes).

Color values

HEX#04162E
RGBrgb(4, 22, 46)
HSLhsl(214, 84%, 10%)
HSVhsv(214, 91%, 18%)
CMYKcmyk(91.3%, 52.2%, 0%, 82%)
CIE-LABlab(7.20, 2.97, -18.29)
CIE-LCHlch(7.20, 18.53, 279.23°)
OKLaboklab(20.05% -0.0136 -0.0525)
OKLCHoklch(20.05% 0.054 255.5)
XYZxyz(0.8299, 0.7968, 2.6943)
Luminance0.0080 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04162E #2E1C04
analogous
#042B2E #04162E #07042E
triadic
#04162E #2E0416 #162E04
tetradic
#04162E #2E042B #2E1C04 #042E07
square
#04162E #2E042B #2E1C04 #042E07
split-complementary
#04162E #2E0704 #2B2E04
monochromatic
#020D1C #020D1C #04162E #093166 #0E4C9F

Accessibility & contrast

On white

18.11
#04162E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#04162E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #04162E
18.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04162E#FFFFFF#000000##FFFFFF
##04162E1.0018.111.1618.11
#FFFFFF18.111.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A182F
Deuteranopia (green-blind)
#04142E
Tritanopia (blue-blind)
#001C1F
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #04162e;
/* rgb */ color: rgb(4, 22, 46);
/* oklch */ color: oklch(20.1% 0.054 255.5);
Tailwind
colors: {
  custom: {
    50: '#4b5267',
    500: '#04162e',
    950: '#000000',
  },
}
SCSS
$custom: #04162e;
$custom-light: #4b5267;
$custom-dark: #000000;
JSON
{
  "hex": "#04162e",
  "rgb": {
    "r": 4,
    "g": 22,
    "b": 46
  },
  "hsl": {
    "h": 214.286,
    "s": 84,
    "l": 9.804
  },
  "oklch": {
    "l": 0.20051,
    "c": 0.05422,
    "h": 255.5
  },
  "luminance": 0.00797
}

Semantic roles & 50–950 ramp

primary
#04162E
secondary
#714D1D
accent
#A32EFA
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A

Preview Lab

Preview with #04162E

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

Preview Lab → · Contrast checker → · Palette generator →

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