#04091E#04091E

#04091E is a very dark, muted blue. Relative luminance 0.003; OKLCH L 14.9% C 0.046 H 267.4°. Best body text is #FFFFFF at 19.76:1 contrast (WCAG AA passes).

Color values

HEX#04091E
RGBrgb(4, 9, 30)
HSLhsl(228, 76%, 7%)
HSVhsv(228, 87%, 12%)
CMYKcmyk(86.7%, 70%, 0%, 88.2%)
CIE-LABlab(2.84, 3.39, -12.85)
CIE-LCHlch(2.84, 13.29, 284.77°)
OKLaboklab(14.88% -0.002 -0.046)
OKLCHoklch(14.88% 0.046 267.4)
XYZxyz(0.3820, 0.3149, 1.2687)
Luminance0.0032 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04091E #1E1904
analogous
#04161E #04091E #0C041E
triadic
#04091E #1E0409 #091E04
tetradic
#04091E #1E0416 #1E1904 #041E0C
square
#04091E #1E0416 #1E1904 #041E0C
split-complementary
#04091E #1E0C04 #161E04
monochromatic
#04081B #04081B #04091E #0B1954 #12298A

Accessibility & contrast

On white

19.76
#04091E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #04091E
19.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04091E#FFFFFF#000000##FFFFFF
##04091E1.0019.761.0619.76
#FFFFFF19.761.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#010C1F
Deuteranopia (green-blind)
#00091E
Tritanopia (blue-blind)
#000E12
Achromatopsia (no color)
#0A0A0A

Design tokens & code

CSS
--color: #04091e;
/* rgb */ color: rgb(4, 9, 30);
/* oklch */ color: oklch(14.9% 0.046 267.4);
Tailwind
colors: {
  custom: {
    50: '#484b59',
    500: '#04091e',
    950: '#000000',
  },
}
SCSS
$custom: #04091e;
$custom-light: #484b59;
$custom-dark: #000000;
JSON
{
  "hex": "#04091e",
  "rgb": {
    "r": 4,
    "g": 9,
    "b": 30
  },
  "hsl": {
    "h": 228.462,
    "s": 76.471,
    "l": 6.667
  },
  "oklch": {
    "l": 0.14884,
    "c": 0.04606,
    "h": 267.4
  },
  "luminance": 0.00315
}

Semantic roles & 50–950 ramp

primary
#04091E
secondary
#61541D
accent
#CE35F3
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000103
muted
#777778

Preview Lab

Preview with #04091E

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

Preview Lab → · Contrast checker → · Palette generator →

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