#04090F#04090F

#04090F is a very dark, near-neutral cyan. Relative luminance 0.003; OKLCH L 13.6% C 0.017 H 247.0°. Best body text is #FFFFFF at 19.98:1 contrast (WCAG AA passes).

Color values

HEX#04090F
RGBrgb(4, 9, 15)
HSLhsl(213, 58%, 4%)
HSVhsv(213, 73%, 6%)
CMYKcmyk(73.3%, 40%, 0%, 94.1%)
CIE-LABlab(2.31, -0.37, -3.01)
CIE-LCHlch(2.31, 3.03, 262.99°)
OKLaboklab(13.63% -0.0067 -0.0157)
OKLCHoklch(13.63% 0.017 247)
XYZxyz(0.2340, 0.2557, 0.4889)
Luminance0.0026 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04090F #0F0A04
analogous
#040E0F #04090F #04040F
triadic
#04090F #0F0409 #090F04
tetradic
#04090F #0F040E #0F0A04 #040F04
square
#04090F #0F040E #0F0A04 #040F04
split-complementary
#04090F #0F0404 #0E0F04
monochromatic
#060E18 #060E18 #060E18 #11263F #1E4370

Accessibility & contrast

On white

19.98
#04090F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.05
#04090F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #04090F
19.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04090F#FFFFFF#000000##FFFFFF
##04090F1.0019.981.0519.98
#FFFFFF19.981.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF19.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07090F
Deuteranopia (green-blind)
#06080F
Tritanopia (blue-blind)
#020A0B
Achromatopsia (no color)
#080808

Design tokens & code

CSS
--color: #04090f;
/* rgb */ color: rgb(4, 9, 15);
/* oklch */ color: oklch(13.6% 0.017 247.0);
Tailwind
colors: {
  custom: {
    50: '#484b4e',
    500: '#04090f',
    950: '#000000',
  },
}
SCSS
$custom: #04090f;
$custom-light: #484b4e;
$custom-dark: #000000;
JSON
{
  "hex": "#04090f",
  "rgb": {
    "r": 4,
    "g": 9,
    "b": 15
  },
  "hsl": {
    "h": 212.727,
    "s": 57.895,
    "l": 3.725
  },
  "oklch": {
    "l": 0.13632,
    "c": 0.01708,
    "h": 247
  },
  "luminance": 0.00256
}

Semantic roles & 50–950 ramp

primary
#04090F
secondary
#4E3921
accent
#9B47E1
background
#F4F4F4
surface
#E6E7E7
border
#C2C3C3
text
#000101
muted
#777777

Preview Lab

Preview with #04090F

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

Preview Lab → · Contrast checker → · Palette generator →

#04090F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva