#04092B#04092B

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

Color values

HEX#04092B
RGBrgb(4, 9, 43)
HSLhsl(232, 83%, 9%)
HSVhsv(232, 91%, 17%)
CMYKcmyk(90.7%, 79.1%, 0%, 83.1%)
CIE-LABlab(3.57, 8.51, -21.78)
CIE-LCHlch(3.57, 23.39, 291.34°)
OKLaboklab(16.31% -0.0016 -0.0691)
OKLCHoklch(16.31% 0.069 268.6)
XYZxyz(0.5837, 0.3955, 2.3306)
Luminance0.0040 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04092B #2B2604
analogous
#041D2B #04092B #13042B
triadic
#04092B #2B0409 #092B04
tetradic
#04092B #2B041D #2B2604 #042B13
square
#04092B #2B041D #2B2604 #042B13
split-complementary
#04092B #2B1304 #1D2B04
monochromatic
#03061C #03061C #04092B #091563 #0E209B

Accessibility & contrast

On white

19.46
#04092B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #04092B
19.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04092B#FFFFFF#000000##FFFFFF
##04092B1.0019.461.0819.46
#FFFFFF19.461.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F2C
Deuteranopia (green-blind)
#000B2A
Tritanopia (blue-blind)
#001218
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #04092b;
/* rgb */ color: rgb(4, 9, 43);
/* oklch */ color: oklch(16.3% 0.069 268.6);
Tailwind
colors: {
  custom: {
    50: '#494a64',
    500: '#04092b',
    950: '#000000',
  },
}
SCSS
$custom: #04092b;
$custom-light: #494a64;
$custom-dark: #000000;
JSON
{
  "hex": "#04092b",
  "rgb": {
    "r": 4,
    "g": 9,
    "b": 43
  },
  "hsl": {
    "h": 232.308,
    "s": 82.979,
    "l": 9.216
  },
  "oklch": {
    "l": 0.16305,
    "c": 0.06915,
    "h": 268.6
  },
  "luminance": 0.00396
}

Semantic roles & 50–950 ramp

primary
#04092B
secondary
#6E631D
accent
#DF2EF9
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010105
muted
#77777A

Preview Lab

Preview with #04092B

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

Preview Lab → · Contrast checker → · Palette generator →

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