#04091D#04091D

#04091D is a very dark, muted blue. Relative luminance 0.003; OKLCH L 14.8% C 0.044 H 267.2°. Best body text is #FFFFFF at 19.77:1 contrast (WCAG AA passes).

Color values

HEX#04091D
RGBrgb(4, 9, 29)
HSLhsl(228, 76%, 6%)
HSVhsv(228, 86%, 11%)
CMYKcmyk(86.2%, 69%, 0%, 88.6%)
CIE-LABlab(2.80, 3.07, -12.13)
CIE-LCHlch(2.80, 12.51, 284.21°)
OKLaboklab(14.79% -0.0022 -0.0441)
OKLCHoklch(14.79% 0.044 267.2)
XYZxyz(0.3695, 0.3099, 1.2025)
Luminance0.0031 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04091D #1D1804
analogous
#04161D #04091D #0C041D
triadic
#04091D #1D0409 #091D04
tetradic
#04091D #1D0416 #1D1804 #041D0C
square
#04091D #1D0416 #1D1804 #041D0C
split-complementary
#04091D #1D0C04 #161D04
monochromatic
#04081B #04081B #04091D #0B1A53 #132A89

Accessibility & contrast

On white

19.77
#04091D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.06
#04091D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #04091D
19.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04091D#FFFFFF#000000##FFFFFF
##04091D1.0019.771.0619.77
#FFFFFF19.771.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#020B1E
Deuteranopia (green-blind)
#00091D
Tritanopia (blue-blind)
#000E11
Achromatopsia (no color)
#0A0A0A

Design tokens & code

CSS
--color: #04091d;
/* rgb */ color: rgb(4, 9, 29);
/* oklch */ color: oklch(14.8% 0.044 267.2);
Tailwind
colors: {
  custom: {
    50: '#484b58',
    500: '#04091d',
    950: '#000000',
  },
}
SCSS
$custom: #04091d;
$custom-light: #484b58;
$custom-dark: #000000;
JSON
{
  "hex": "#04091d",
  "rgb": {
    "r": 4,
    "g": 9,
    "b": 29
  },
  "hsl": {
    "h": 228,
    "s": 75.758,
    "l": 6.471
  },
  "oklch": {
    "l": 0.14785,
    "c": 0.04416,
    "h": 267.2
  },
  "luminance": 0.0031
}

Semantic roles & 50–950 ramp

primary
#04091D
secondary
#5F521D
accent
#CD35F2
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000103
muted
#777778

Preview Lab

Preview with #04091D

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

Preview Lab → · Contrast checker → · Palette generator →

#04091D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva