#04101B#04101B

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

Color values

HEX#04101B
RGBrgb(4, 16, 27)
HSLhsl(209, 74%, 6%)
HSVhsv(209, 85%, 11%)
CMYKcmyk(85.2%, 40.7%, 0%, 89.4%)
CIE-LABlab(4.30, -0.77, -8.32)
CIE-LCHlch(4.30, 8.35, 264.70°)
OKLaboklab(16.75% -0.0125 -0.0273)
OKLCHoklch(16.75% 0.03 245.4)
XYZxyz(0.4331, 0.4755, 1.1056)
Luminance0.0048 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04101B #1B0F04
analogous
#041B1A #04101B #04041B
triadic
#04101B #1B0410 #101B04
tetradic
#04101B #1A041B #1B0F04 #041B04
square
#04101B #1A041B #1B0F04 #041B04
split-complementary
#04101B #1B0404 #1B1A04
monochromatic
#04101B #04101B #04101B #0C3050 #144F86

Accessibility & contrast

On white

19.17
#04101B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#04101B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #04101B
19.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04101B#FFFFFF#000000##FFFFFF
##04101B1.0019.171.1019.17
#FFFFFF19.171.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B101B
Deuteranopia (green-blind)
#080E1B
Tritanopia (blue-blind)
#001314
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #04101b;
/* rgb */ color: rgb(4, 16, 27);
/* oklch */ color: oklch(16.7% 0.030 245.4);
Tailwind
colors: {
  custom: {
    50: '#484e57',
    500: '#04101b',
    950: '#000000',
  },
}
SCSS
$custom: #04101b;
$custom-light: #484e57;
$custom-dark: #000000;
JSON
{
  "hex": "#04101b",
  "rgb": {
    "r": 4,
    "g": 16,
    "b": 27
  },
  "hsl": {
    "h": 208.696,
    "s": 74.194,
    "l": 6.078
  },
  "oklch": {
    "l": 0.16749,
    "c": 0.03002,
    "h": 245.4
  },
  "luminance": 0.00476
}

Semantic roles & 50–950 ramp

primary
#04101B
secondary
#5D3C1E
accent
#9037F1
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000103
muted
#777778

Preview Lab

Preview with #04101B

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

Preview Lab → · Contrast checker → · Palette generator →

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