#040E19#040E19

#040E19 is a very dark, muted cyan. Relative luminance 0.004; OKLCH L 16.0% C 0.029 H 248.9°. Best body text is #FFFFFF at 19.41:1 contrast (WCAG AA passes).

Color values

HEX#040E19
RGBrgb(4, 14, 25)
HSLhsl(211, 72%, 6%)
HSVhsv(211, 84%, 10%)
CMYKcmyk(84%, 44%, 0%, 90.2%)
CIE-LABlab(3.70, -0.29, -7.61)
CIE-LCHlch(3.70, 7.62, 267.78°)
OKLaboklab(15.97% -0.0104 -0.027)
OKLCHoklch(15.97% 0.029 248.9)
XYZxyz(0.3825, 0.4100, 0.9785)
Luminance0.0041 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#040E19 #190F04
analogous
#041819 #040E19 #040419
triadic
#040E19 #19040E #0E1904
tetradic
#040E19 #190418 #190F04 #041904
square
#040E19 #190418 #190F04 #041904
split-complementary
#040E19 #190404 #181904
monochromatic
#040F1A #040F1A #040F1A #0C2C4E #154983

Accessibility & contrast

On white

19.41
#040E19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#040E19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #040E19
19.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##040E19#FFFFFF#000000##FFFFFF
##040E191.0019.411.0819.41
#FFFFFF19.411.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#090E19
Deuteranopia (green-blind)
#070C19
Tritanopia (blue-blind)
#001112
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #040e19;
/* rgb */ color: rgb(4, 14, 25);
/* oklch */ color: oklch(16.0% 0.029 248.9);
Tailwind
colors: {
  custom: {
    50: '#484d55',
    500: '#040e19',
    950: '#000000',
  },
}
SCSS
$custom: #040e19;
$custom-light: #484d55;
$custom-dark: #000000;
JSON
{
  "hex": "#040e19",
  "rgb": {
    "r": 4,
    "g": 14,
    "b": 25
  },
  "hsl": {
    "h": 211.429,
    "s": 72.414,
    "l": 5.686
  },
  "oklch": {
    "l": 0.15967,
    "c": 0.02894,
    "h": 248.9
  },
  "luminance": 0.0041
}

Semantic roles & 50–950 ramp

primary
#040E19
secondary
#5B3E1E
accent
#9839EF
background
#F4F4F4
surface
#E6E7E7
border
#C2C3C3
text
#000103
muted
#777778

Preview Lab

Preview with #040E19

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

Preview Lab → · Contrast checker → · Palette generator →

#040E19 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva