#04181A#04181A

#04181A is a very dark, muted teal. Relative luminance 0.008; OKLCH L 19.3% C 0.027 H 203.8°. Best body text is #FFFFFF at 18.25:1 contrast (WCAG AA passes).

Color values

HEX#04181A
RGBrgb(4, 24, 26)
HSLhsl(185, 73%, 6%)
HSVhsv(185, 85%, 10%)
CMYKcmyk(84.6%, 7.7%, 0%, 89.8%)
CIE-LABlab(6.81, -6.27, -3.82)
CIE-LCHlch(6.81, 7.35, 211.33°)
OKLaboklab(19.32% -0.0247 -0.0109)
OKLCHoklch(19.32% 0.027 203.8)
XYZxyz(0.5631, 0.7536, 1.0929)
Luminance0.0075 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04181A #1A0604
analogous
#041A11 #04181A #040D1A
triadic
#04181A #1A0418 #181A04
tetradic
#04181A #11041A #1A0604 #0D1A04
square
#04181A #11041A #1A0604 #0D1A04
split-complementary
#04181A #1A040D #1A1104
monochromatic
#04181B #04181B #04181B #0C494F #147A84

Accessibility & contrast

On white

18.25
#04181A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#04181A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #04181A
18.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04181A#FFFFFF#000000##FFFFFF
##04181A1.0018.251.1518.25
#FFFFFF18.251.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15171A
Deuteranopia (green-blind)
#12141A
Tritanopia (blue-blind)
#001919
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #04181a;
/* rgb */ color: rgb(4, 24, 26);
/* oklch */ color: oklch(19.3% 0.027 203.8);
Tailwind
colors: {
  custom: {
    50: '#485456',
    500: '#04181a',
    950: '#000000',
  },
}
SCSS
$custom: #04181a;
$custom-light: #485456;
$custom-dark: #000000;
JSON
{
  "hex": "#04181a",
  "rgb": {
    "r": 4,
    "g": 24,
    "b": 26
  },
  "hsl": {
    "h": 185.455,
    "s": 73.333,
    "l": 5.882
  },
  "oklch": {
    "l": 0.19317,
    "c": 0.02703,
    "h": 203.8
  },
  "luminance": 0.00754
}

Semantic roles & 50–950 ramp

primary
#04181A
secondary
#5C231E
accent
#4938F0
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000203
muted
#777878

Preview Lab

Preview with #04181A

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

Preview Lab → · Contrast checker → · Palette generator →

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