#04121E#04121E

#04121E is a very dark, muted cyan. Relative luminance 0.006; OKLCH L 17.6% C 0.033 H 244.5°. Best body text is #FFFFFF at 18.91:1 contrast (WCAG AA passes).

Color values

HEX#04121E
RGBrgb(4, 18, 30)
HSLhsl(208, 76%, 7%)
HSVhsv(208, 87%, 12%)
CMYKcmyk(86.7%, 40%, 0%, 88.2%)
CIE-LABlab(4.99, -0.99, -9.62)
CIE-LCHlch(4.99, 9.67, 264.13°)
OKLaboklab(17.6% -0.0141 -0.0295)
OKLCHoklch(17.6% 0.033 244.5)
XYZxyz(0.5006, 0.5521, 1.3082)
Luminance0.0055 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04121E #1E1004
analogous
#041E1D #04121E #04051E
triadic
#04121E #1E0412 #121E04
tetradic
#04121E #1D041E #1E1004 #051E04
square
#04121E #1D041E #1E1004 #051E04
split-complementary
#04121E #1E0405 #1E1D04
monochromatic
#04101B #04101B #04121E #0B3254 #12538A

Accessibility & contrast

On white

18.91
#04121E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #04121E
18.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04121E#FFFFFF#000000##FFFFFF
##04121E1.0018.911.1118.91
#FFFFFF18.911.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D121F
Deuteranopia (green-blind)
#09101E
Tritanopia (blue-blind)
#001516
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #04121e;
/* rgb */ color: rgb(4, 18, 30);
/* oklch */ color: oklch(17.6% 0.033 244.5);
Tailwind
colors: {
  custom: {
    50: '#485059',
    500: '#04121e',
    950: '#000000',
  },
}
SCSS
$custom: #04121e;
$custom-light: #485059;
$custom-dark: #000000;
JSON
{
  "hex": "#04121e",
  "rgb": {
    "r": 4,
    "g": 18,
    "b": 30
  },
  "hsl": {
    "h": 207.692,
    "s": 76.471,
    "l": 6.667
  },
  "oklch": {
    "l": 0.17598,
    "c": 0.03272,
    "h": 244.5
  },
  "luminance": 0.00552
}

Semantic roles & 50–950 ramp

primary
#04121E
secondary
#613C1D
accent
#8D35F3
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000203
muted
#777878

Preview Lab

Preview with #04121E

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

Preview Lab → · Contrast checker → · Palette generator →

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