#040F19#040F19

#040F19 is a very dark, muted cyan. Relative luminance 0.004; OKLCH L 16.3% C 0.028 H 244.6°. Best body text is #FFFFFF at 19.31:1 contrast (WCAG AA passes).

Color values

HEX#040F19
RGBrgb(4, 15, 25)
HSLhsl(209, 72%, 6%)
HSVhsv(209, 84%, 10%)
CMYKcmyk(84%, 40%, 0%, 90.2%)
CIE-LABlab(3.95, -0.80, -7.24)
CIE-LCHlch(3.95, 7.29, 263.67°)
OKLaboklab(16.29% -0.0119 -0.0251)
OKLCHoklch(16.29% 0.028 244.6)
XYZxyz(0.3963, 0.4376, 0.9831)
Luminance0.0044 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#040F19 #190E04
analogous
#041918 #040F19 #040419
triadic
#040F19 #19040F #0F1904
tetradic
#040F19 #180419 #190E04 #041904
square
#040F19 #180419 #190E04 #041904
split-complementary
#040F19 #190404 #191804
monochromatic
#04101A #04101A #04101A #0C2F4E #154E83

Accessibility & contrast

On white

19.31
#040F19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#040F19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #040F19
19.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##040F19#FFFFFF#000000##FFFFFF
##040F191.0019.311.0919.31
#FFFFFF19.311.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B0F19
Deuteranopia (green-blind)
#080D19
Tritanopia (blue-blind)
#001112
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #040f19;
/* rgb */ color: rgb(4, 15, 25);
/* oklch */ color: oklch(16.3% 0.028 244.6);
Tailwind
colors: {
  custom: {
    50: '#484e55',
    500: '#040f19',
    950: '#000000',
  },
}
SCSS
$custom: #040f19;
$custom-light: #484e55;
$custom-dark: #000000;
JSON
{
  "hex": "#040f19",
  "rgb": {
    "r": 4,
    "g": 15,
    "b": 25
  },
  "hsl": {
    "h": 208.571,
    "s": 72.414,
    "l": 5.686
  },
  "oklch": {
    "l": 0.16288,
    "c": 0.02782,
    "h": 244.6
  },
  "luminance": 0.00438
}

Semantic roles & 50–950 ramp

primary
#040F19
secondary
#5B3B1E
accent
#9039EF
background
#F4F4F4
surface
#E6E7E7
border
#C2C3C3
text
#000103
muted
#777778

Preview Lab

Preview with #040F19

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

Preview Lab → · Contrast checker → · Palette generator →

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