#04101A#04101A

#04101A is a very dark, muted cyan. Relative luminance 0.005; OKLCH L 16.7% C 0.028 H 242.9°. Best body text is #FFFFFF at 19.19:1 contrast (WCAG AA passes).

Color values

HEX#04101A
RGBrgb(4, 16, 26)
HSLhsl(207, 73%, 6%)
HSVhsv(207, 85%, 10%)
CMYKcmyk(84.6%, 38.5%, 0%, 89.8%)
CIE-LABlab(4.25, -1.06, -7.59)
CIE-LCHlch(4.25, 7.67, 262.05°)
OKLaboklab(16.68% -0.013 -0.0253)
OKLCHoklch(16.68% 0.028 242.9)
XYZxyz(0.4217, 0.4709, 1.0458)
Luminance0.0047 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04101A #1A0E04
analogous
#041A19 #04101A #04051A
triadic
#04101A #1A0410 #101A04
tetradic
#04101A #19041A #1A0E04 #051A04
square
#04101A #19041A #1A0E04 #051A04
split-complementary
#04101A #1A0405 #1A1904
monochromatic
#04101B #04101B #04101B #0C314F #145184

Accessibility & contrast

On white

19.19
#04101A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#04101A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #04101A
19.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04101A#FFFFFF#000000##FFFFFF
##04101A1.0019.191.0919.19
#FFFFFF19.191.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C101A
Deuteranopia (green-blind)
#080E1A
Tritanopia (blue-blind)
#001213
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #04101a;
/* rgb */ color: rgb(4, 16, 26);
/* oklch */ color: oklch(16.7% 0.028 242.9);
Tailwind
colors: {
  custom: {
    50: '#484e56',
    500: '#04101a',
    950: '#000000',
  },
}
SCSS
$custom: #04101a;
$custom-light: #484e56;
$custom-dark: #000000;
JSON
{
  "hex": "#04101a",
  "rgb": {
    "r": 4,
    "g": 16,
    "b": 26
  },
  "hsl": {
    "h": 207.273,
    "s": 73.333,
    "l": 5.882
  },
  "oklch": {
    "l": 0.16679,
    "c": 0.02842,
    "h": 242.9
  },
  "luminance": 0.00471
}

Semantic roles & 50–950 ramp

primary
#04101A
secondary
#5C3A1E
accent
#8C38F0
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000103
muted
#777778

Preview Lab

Preview with #04101A

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

Preview Lab → · Contrast checker → · Palette generator →

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