#04092F#04092F

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

Color values

HEX#04092F
RGBrgb(4, 9, 47)
HSLhsl(233, 84%, 10%)
HSVhsv(233, 91%, 18%)
CMYKcmyk(91.5%, 80.9%, 0%, 81.6%)
CIE-LABlab(3.85, 10.47, -24.36)
CIE-LCHlch(3.85, 26.51, 293.26°)
OKLaboklab(16.79% -0.0019 -0.0757)
OKLCHoklch(16.79% 0.076 268.6)
XYZxyz(0.6607, 0.4263, 2.7362)
Luminance0.0043 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04092F #2F2A04
analogous
#041F2F #04092F #14042F
triadic
#04092F #2F0409 #092F04
tetradic
#04092F #2F041F #2F2A04 #042F14
square
#04092F #2F041F #2F2A04 #042F14
split-complementary
#04092F #2F1404 #1F2F04
monochromatic
#02051C #02051C #04092F #091467 #0E1FA0

Accessibility & contrast

On white

19.35
#04092F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#04092F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #04092F
19.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04092F#FFFFFF#000000##FFFFFF
##04092F1.0019.351.0919.35
#FFFFFF19.351.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001030
Deuteranopia (green-blind)
#000C2E
Tritanopia (blue-blind)
#00131A
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #04092f;
/* rgb */ color: rgb(4, 9, 47);
/* oklch */ color: oklch(16.8% 0.076 268.6);
Tailwind
colors: {
  custom: {
    50: '#4a4a68',
    500: '#04092f',
    950: '#000000',
  },
}
SCSS
$custom: #04092f;
$custom-light: #4a4a68;
$custom-dark: #000000;
JSON
{
  "hex": "#04092f",
  "rgb": {
    "r": 4,
    "g": 9,
    "b": 47
  },
  "hsl": {
    "h": 233.023,
    "s": 84.314,
    "l": 10
  },
  "oklch": {
    "l": 0.16787,
    "c": 0.07573,
    "h": 268.6
  },
  "luminance": 0.00426
}

Semantic roles & 50–950 ramp

primary
#04092F
secondary
#72681D
accent
#E32DFB
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #04092F

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

Preview Lab → · Contrast checker → · Palette generator →

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