#04092A#04092A

#04092A is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.2% C 0.067 H 268.7°. Best body text is #FFFFFF at 19.49:1 contrast (WCAG AA passes).

Color values

HEX#04092A
RGBrgb(4, 9, 42)
HSLhsl(232, 83%, 9%)
HSVhsv(232, 90%, 16%)
CMYKcmyk(90.5%, 78.6%, 0%, 83.5%)
CIE-LABlab(3.51, 8.05, -21.13)
CIE-LCHlch(3.51, 22.61, 290.85°)
OKLaboklab(16.19% -0.0016 -0.0674)
OKLCHoklch(16.19% 0.067 268.7)
XYZxyz(0.5655, 0.3883, 2.2352)
Luminance0.0039 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04092A #2A2504
analogous
#041C2A #04092A #12042A
triadic
#04092A #2A0409 #092A04
tetradic
#04092A #2A041C #2A2504 #042A12
square
#04092A #2A041C #2A2504 #042A12
split-complementary
#04092A #2A1204 #1C2A04
monochromatic
#03061C #03061C #04092A #091562 #0F219A

Accessibility & contrast

On white

19.49
#04092A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #04092A
19.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04092A#FFFFFF#000000##FFFFFF
##04092A1.0019.491.0819.49
#FFFFFF19.491.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #04092a;
/* rgb */ color: rgb(4, 9, 42);
/* oklch */ color: oklch(16.2% 0.067 268.7);
Tailwind
colors: {
  custom: {
    50: '#494a64',
    500: '#04092a',
    950: '#000000',
  },
}
SCSS
$custom: #04092a;
$custom-light: #494a64;
$custom-dark: #000000;
JSON
{
  "hex": "#04092a",
  "rgb": {
    "r": 4,
    "g": 9,
    "b": 42
  },
  "hsl": {
    "h": 232.105,
    "s": 82.609,
    "l": 9.02
  },
  "oklch": {
    "l": 0.16188,
    "c": 0.06747,
    "h": 268.7
  },
  "luminance": 0.00388
}

Semantic roles & 50–950 ramp

primary
#04092A
secondary
#6D621D
accent
#DE2FF9
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#010105
muted
#777779

Preview Lab

Preview with #04092A

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

Preview Lab → · Contrast checker → · Palette generator →

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