#04162F#04162F

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

Color values

HEX#04162F
RGBrgb(4, 22, 47)
HSLhsl(215, 84%, 10%)
HSVhsv(215, 91%, 18%)
CMYKcmyk(91.5%, 53.2%, 0%, 81.6%)
CIE-LABlab(7.27, 3.48, -18.91)
CIE-LCHlch(7.27, 19.23, 280.43°)
OKLaboklab(20.14% -0.0133 -0.0543)
OKLCHoklch(20.14% 0.056 256.2)
XYZxyz(0.8499, 0.8048, 2.7993)
Luminance0.0080 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04162F #2F1D04
analogous
#042B2F #04162F #08042F
triadic
#04162F #2F0416 #162F04
tetradic
#04162F #2F042B #2F1D04 #042F08
square
#04162F #2F042B #2F1D04 #042F08
split-complementary
#04162F #2F0804 #2B2F04
monochromatic
#020D1C #020D1C #04162F #093067 #0E4BA0

Accessibility & contrast

On white

18.09
#04162F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #04162F
18.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04162F#FFFFFF#000000##FFFFFF
##04162F1.0018.091.1618.09
#FFFFFF18.091.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#091830
Deuteranopia (green-blind)
#03142F
Tritanopia (blue-blind)
#001C20
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #04162f;
/* rgb */ color: rgb(4, 22, 47);
/* oklch */ color: oklch(20.1% 0.056 256.2);
Tailwind
colors: {
  custom: {
    50: '#4b5267',
    500: '#04162f',
    950: '#000000',
  },
}
SCSS
$custom: #04162f;
$custom-light: #4b5267;
$custom-dark: #000000;
JSON
{
  "hex": "#04162f",
  "rgb": {
    "r": 4,
    "g": 22,
    "b": 47
  },
  "hsl": {
    "h": 214.884,
    "s": 84.314,
    "l": 10
  },
  "oklch": {
    "l": 0.20136,
    "c": 0.05591,
    "h": 256.2
  },
  "luminance": 0.00805
}

Semantic roles & 50–950 ramp

primary
#04162F
secondary
#724E1D
accent
#A52DFB
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A

Preview Lab

Preview with #04162F

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

Preview Lab → · Contrast checker → · Palette generator →

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