#04121C#04121C

#04121C is a very dark, muted cyan. Relative luminance 0.005; OKLCH L 17.5% C 0.030 H 239.7°. Best body text is #FFFFFF at 18.95:1 contrast (WCAG AA passes).

Color values

HEX#04121C
RGBrgb(4, 18, 28)
HSLhsl(205, 75%, 6%)
HSVhsv(205, 86%, 11%)
CMYKcmyk(85.7%, 35.7%, 0%, 89%)
CIE-LABlab(4.90, -1.62, -8.20)
CIE-LCHlch(4.90, 8.36, 258.86°)
OKLaboklab(17.46% -0.015 -0.0256)
OKLCHoklch(17.46% 0.03 239.7)
XYZxyz(0.4759, 0.5422, 1.1780)
Luminance0.0054 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04121C #1C0E04
analogous
#041C1A #04121C #04061C
triadic
#04121C #1C0412 #121C04
tetradic
#04121C #1A041C #1C0E04 #061C04
square
#04121C #1A041C #1C0E04 #061C04
split-complementary
#04121C #1C0406 #1C1A04
monochromatic
#04111B #04111B #04121C #0C3452 #135787

Accessibility & contrast

On white

18.95
#04121C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #04121C
18.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04121C#FFFFFF#000000##FFFFFF
##04121C1.0018.951.1118.95
#FFFFFF18.951.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D121C
Deuteranopia (green-blind)
#0A0F1C
Tritanopia (blue-blind)
#001515
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #04121c;
/* rgb */ color: rgb(4, 18, 28);
/* oklch */ color: oklch(17.5% 0.030 239.7);
Tailwind
colors: {
  custom: {
    50: '#485058',
    500: '#04121c',
    950: '#000000',
  },
}
SCSS
$custom: #04121c;
$custom-light: #485058;
$custom-dark: #000000;
JSON
{
  "hex": "#04121c",
  "rgb": {
    "r": 4,
    "g": 18,
    "b": 28
  },
  "hsl": {
    "h": 205,
    "s": 75,
    "l": 6.275
  },
  "oklch": {
    "l": 0.1746,
    "c": 0.02965,
    "h": 239.7
  },
  "luminance": 0.00542
}

Semantic roles & 50–950 ramp

primary
#04121C
secondary
#5E381D
accent
#8436F2
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000203
muted
#777878

Preview Lab

Preview with #04121C

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

Preview Lab → · Contrast checker → · Palette generator →

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