#040609#040609

#040609 is a very dark, near-neutral blue. Relative luminance 0.002; OKLCH L 12.1% C 0.010 H 252.9°. Best body text is #FFFFFF at 20.29:1 contrast (WCAG AA passes).

Color values

HEX#040609
RGBrgb(4, 6, 9)
HSLhsl(216, 38%, 3%)
HSVhsv(216, 56%, 4%)
CMYKcmyk(55.6%, 33.3%, 0%, 96.5%)
CIE-LABlab(1.59, -0.11, -1.32)
CIE-LCHlch(1.59, 1.32, 265.40°)
OKLaboklab(12.05% -0.0029 -0.0093)
OKLCHoklch(12.05% 0.01 252.9)
XYZxyz(0.1645, 0.1758, 0.2837)
Luminance0.0018 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#040609 #090704
analogous
#040809 #040609 #040409
triadic
#040609 #090406 #060904
tetradic
#040609 #090408 #090704 #040904
square
#040609 #090408 #090704 #040904
split-complementary
#040609 #090404 #080904
monochromatic
#090E15 #090E15 #090E15 #172233 #2A3E5E

Accessibility & contrast

On white

20.29
#040609 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #040609
20.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##040609#FFFFFF#000000##FFFFFF
##0406091.0020.291.0420.29
#FFFFFF20.291.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#050609
Deuteranopia (green-blind)
#050609
Tritanopia (blue-blind)
#030707
Achromatopsia (no color)
#060606

Design tokens & code

CSS
--color: #040609;
/* rgb */ color: rgb(4, 6, 9);
/* oklch */ color: oklch(12.1% 0.010 252.9);
Tailwind
colors: {
  custom: {
    50: '#48494b',
    500: '#040609',
    950: '#000000',
  },
}
SCSS
$custom: #040609;
$custom-light: #48494b;
$custom-dark: #000000;
JSON
{
  "hex": "#040609",
  "rgb": {
    "r": 4,
    "g": 6,
    "b": 9
  },
  "hsl": {
    "h": 216,
    "s": 38.462,
    "l": 2.549
  },
  "oklch": {
    "l": 0.12053,
    "c": 0.00972,
    "h": 252.9
  },
  "luminance": 0.00176
}

Semantic roles & 50–950 ramp

primary
#040609
secondary
#433726
accent
#A059CE
background
#F4F4F4
surface
#E6E6E7
border
#C2C2C3
text
#000001
muted
#777777

Preview Lab

Preview with #040609

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

Preview Lab → · Contrast checker → · Palette generator →

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