#04121A#04121A

#04121A is a very dark, muted cyan. Relative luminance 0.005; OKLCH L 17.3% C 0.027 H 233.6°. Best body text is #FFFFFF at 18.98:1 contrast (WCAG AA passes).

Color values

HEX#04121A
RGBrgb(4, 18, 26)
HSLhsl(202, 73%, 6%)
HSVhsv(202, 85%, 10%)
CMYKcmyk(84.6%, 30.8%, 0%, 89.8%)
CIE-LABlab(4.81, -2.20, -6.77)
CIE-LCHlch(4.81, 7.12, 251.96°)
OKLaboklab(17.33% -0.0159 -0.0216)
OKLCHoklch(17.33% 0.027 233.6)
XYZxyz(0.4528, 0.5330, 1.0561)
Luminance0.0053 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04121A #1A0C04
analogous
#041A17 #04121A #04071A
triadic
#04121A #1A0412 #121A04
tetradic
#04121A #17041A #1A0C04 #071A04
square
#04121A #17041A #1A0C04 #071A04
split-complementary
#04121A #1A0407 #1A1704
monochromatic
#04121B #04121B #04121B #0C374F #145B84

Accessibility & contrast

On white

18.98
#04121A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#04121A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #04121A
18.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04121A#FFFFFF#000000##FFFFFF
##04121A1.0018.981.1118.98
#FFFFFF18.981.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E121A
Deuteranopia (green-blind)
#0B0F1A
Tritanopia (blue-blind)
#001415
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #04121a;
/* rgb */ color: rgb(4, 18, 26);
/* oklch */ color: oklch(17.3% 0.027 233.6);
Tailwind
colors: {
  custom: {
    50: '#485056',
    500: '#04121a',
    950: '#000000',
  },
}
SCSS
$custom: #04121a;
$custom-light: #485056;
$custom-dark: #000000;
JSON
{
  "hex": "#04121a",
  "rgb": {
    "r": 4,
    "g": 18,
    "b": 26
  },
  "hsl": {
    "h": 201.818,
    "s": 73.333,
    "l": 5.882
  },
  "oklch": {
    "l": 0.17329,
    "c": 0.02684,
    "h": 233.6
  },
  "luminance": 0.00533
}

Semantic roles & 50–950 ramp

primary
#04121A
secondary
#5C341E
accent
#7B38F0
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000203
muted
#777878

Preview Lab

Preview with #04121A

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

Preview Lab → · Contrast checker → · Palette generator →

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