#04092D#04092D

#04092D is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.5% C 0.072 H 268.6°. Best body text is #FFFFFF at 19.40:1 contrast (WCAG AA passes).

Color values

HEX#04092D
RGBrgb(4, 9, 45)
HSLhsl(233, 84%, 10%)
HSVhsv(233, 91%, 18%)
CMYKcmyk(91.1%, 80%, 0%, 82.4%)
CIE-LABlab(3.71, 9.46, -23.08)
CIE-LCHlch(3.71, 24.94, 292.29°)
OKLaboklab(16.54% -0.0017 -0.0724)
OKLCHoklch(16.54% 0.072 268.6)
XYZxyz(0.6212, 0.4106, 2.5286)
Luminance0.0041 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04092D #2D2804
analogous
#041E2D #04092D #14042D
triadic
#04092D #2D0409 #092D04
tetradic
#04092D #2D041E #2D2804 #042D14
square
#04092D #2D041E #2D2804 #042D14
split-complementary
#04092D #2D1404 #1E2D04
monochromatic
#02061C #02061C #04092D #091465 #0E1F9D

Accessibility & contrast

On white

19.40
#04092D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#04092D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #04092D
19.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04092D#FFFFFF#000000##FFFFFF
##04092D1.0019.401.0819.40
#FFFFFF19.401.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F2E
Deuteranopia (green-blind)
#000B2C
Tritanopia (blue-blind)
#001319
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #04092d;
/* rgb */ color: rgb(4, 9, 45);
/* oklch */ color: oklch(16.5% 0.072 268.6);
Tailwind
colors: {
  custom: {
    50: '#4a4a66',
    500: '#04092d',
    950: '#000000',
  },
}
SCSS
$custom: #04092d;
$custom-light: #4a4a66;
$custom-dark: #000000;
JSON
{
  "hex": "#04092d",
  "rgb": {
    "r": 4,
    "g": 9,
    "b": 45
  },
  "hsl": {
    "h": 232.683,
    "s": 83.673,
    "l": 9.608
  },
  "oklch": {
    "l": 0.16544,
    "c": 0.07247,
    "h": 268.6
  },
  "luminance": 0.00411
}

Semantic roles & 50–950 ramp

primary
#04092D
secondary
#70661D
accent
#E12EFA
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #04092D

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

Preview Lab → · Contrast checker → · Palette generator →

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