#04091A#04091A

#04091A is a very dark, muted blue. Relative luminance 0.003; OKLCH L 14.5% C 0.038 H 265.9°. Best body text is #FFFFFF at 19.83:1 contrast (WCAG AA passes).

Color values

HEX#04091A
RGBrgb(4, 9, 26)
HSLhsl(226, 73%, 6%)
HSVhsv(226, 85%, 10%)
CMYKcmyk(84.6%, 65.4%, 0%, 89.8%)
CIE-LABlab(2.67, 2.17, -9.92)
CIE-LCHlch(2.67, 10.16, 282.35°)
OKLaboklab(14.5% -0.0028 -0.0383)
OKLCHoklch(14.5% 0.038 265.9)
XYZxyz(0.3341, 0.2957, 1.0166)
Luminance0.0030 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04091A #1A1504
analogous
#04141A #04091A #0A041A
triadic
#04091A #1A0409 #091A04
tetradic
#04091A #1A0414 #1A1504 #041A0A
square
#04091A #1A0414 #1A1504 #041A0A
split-complementary
#04091A #1A0A04 #141A04
monochromatic
#04091B #04091B #04091B #0C1B4F #142E84

Accessibility & contrast

On white

19.83
#04091A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #04091A
19.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04091A#FFFFFF#000000##FFFFFF
##04091A1.0019.831.0619.83
#FFFFFF19.831.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#030B1B
Deuteranopia (green-blind)
#01091A
Tritanopia (blue-blind)
#000D10
Achromatopsia (no color)
#0A0A0A

Design tokens & code

CSS
--color: #04091a;
/* rgb */ color: rgb(4, 9, 26);
/* oklch */ color: oklch(14.5% 0.038 265.9);
Tailwind
colors: {
  custom: {
    50: '#484b56',
    500: '#04091a',
    950: '#000000',
  },
}
SCSS
$custom: #04091a;
$custom-light: #484b56;
$custom-dark: #000000;
JSON
{
  "hex": "#04091a",
  "rgb": {
    "r": 4,
    "g": 9,
    "b": 26
  },
  "hsl": {
    "h": 226.364,
    "s": 73.333,
    "l": 5.882
  },
  "oklch": {
    "l": 0.14503,
    "c": 0.0384,
    "h": 265.9
  },
  "luminance": 0.00296
}

Semantic roles & 50–950 ramp

primary
#04091A
secondary
#5C4E1E
accent
#C638F0
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000103
muted
#777778

Preview Lab

Preview with #04091A

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

Preview Lab → · Contrast checker → · Palette generator →

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