#040709#040709

#040709 is a very dark, near-neutral cyan. Relative luminance 0.002; OKLCH L 12.5% C 0.009 H 231.5°. Best body text is #FFFFFF at 20.20:1 contrast (WCAG AA passes).

Color values

HEX#040709
RGBrgb(4, 7, 9)
HSLhsl(204, 38%, 3%)
HSVhsv(204, 56%, 4%)
CMYKcmyk(55.6%, 22.2%, 0%, 96.5%)
CIE-LABlab(1.78, -0.51, -1.03)
CIE-LCHlch(1.78, 1.15, 243.79°)
OKLaboklab(12.49% -0.0055 -0.007)
OKLCHoklch(12.49% 0.009 231.5)
XYZxyz(0.1753, 0.1975, 0.2873)
Luminance0.0020 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#040709 #090604
analogous
#040908 #040709 #040409
triadic
#040709 #090407 #070904
tetradic
#040709 #080409 #090604 #040904
square
#040709 #080409 #090604 #040904
split-complementary
#040709 #090404 #090804
monochromatic
#091015 #091015 #091015 #172833 #2A495E

Accessibility & contrast

On white

20.20
#040709 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.04
#040709 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #040709
20.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##040709#FFFFFF#000000##FFFFFF
##0407091.0020.201.0420.20
#FFFFFF20.201.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#060709
Deuteranopia (green-blind)
#050609
Tritanopia (blue-blind)
#030808
Achromatopsia (no color)
#070707

Design tokens & code

CSS
--color: #040709;
/* rgb */ color: rgb(4, 7, 9);
/* oklch */ color: oklch(12.5% 0.009 231.5);
Tailwind
colors: {
  custom: {
    50: '#484a4b',
    500: '#040709',
    950: '#000000',
  },
}
SCSS
$custom: #040709;
$custom-light: #484a4b;
$custom-dark: #000000;
JSON
{
  "hex": "#040709",
  "rgb": {
    "r": 4,
    "g": 7,
    "b": 9
  },
  "hsl": {
    "h": 204,
    "s": 38.462,
    "l": 2.549
  },
  "oklch": {
    "l": 0.1249,
    "c": 0.00889,
    "h": 231.5
  },
  "luminance": 0.00197
}

Semantic roles & 50–950 ramp

primary
#040709
secondary
#433226
accent
#8859CE
background
#F4F4F4
surface
#E6E7E7
border
#C2C3C3
text
#000101
muted
#777777

Preview Lab

Preview with #040709

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

Preview Lab → · Contrast checker → · Palette generator →

#040709 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva