#04092E#04092E

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

Color values

HEX#04092E
RGBrgb(4, 9, 46)
HSLhsl(233, 84%, 10%)
HSVhsv(233, 91%, 18%)
CMYKcmyk(91.3%, 80.4%, 0%, 82%)
CIE-LABlab(3.78, 9.96, -23.72)
CIE-LCHlch(3.78, 25.72, 292.77°)
OKLaboklab(16.67% -0.0018 -0.0741)
OKLCHoklch(16.67% 0.074 268.6)
XYZxyz(0.6407, 0.4184, 2.6312)
Luminance0.0042 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04092E #2E2904
analogous
#041E2E #04092E #14042E
triadic
#04092E #2E0409 #092E04
tetradic
#04092E #2E041E #2E2904 #042E14
square
#04092E #2E041E #2E2904 #042E14
split-complementary
#04092E #2E1404 #1E2E04
monochromatic
#02061C #02061C #04092E #091466 #0E1F9F

Accessibility & contrast

On white

19.38
#04092E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #04092E
19.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04092E#FFFFFF#000000##FFFFFF
##04092E1.0019.381.0819.38
#FFFFFF19.381.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00102F
Deuteranopia (green-blind)
#000B2D
Tritanopia (blue-blind)
#00131A
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #04092e;
/* rgb */ color: rgb(4, 9, 46);
/* oklch */ color: oklch(16.7% 0.074 268.6);
Tailwind
colors: {
  custom: {
    50: '#4a4a67',
    500: '#04092e',
    950: '#000000',
  },
}
SCSS
$custom: #04092e;
$custom-light: #4a4a67;
$custom-dark: #000000;
JSON
{
  "hex": "#04092e",
  "rgb": {
    "r": 4,
    "g": 9,
    "b": 46
  },
  "hsl": {
    "h": 232.857,
    "s": 84,
    "l": 9.804
  },
  "oklch": {
    "l": 0.16665,
    "c": 0.07411,
    "h": 268.6
  },
  "luminance": 0.00418
}

Semantic roles & 50–950 ramp

primary
#04092E
secondary
#71671D
accent
#E22EFA
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #04092E

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

Preview Lab → · Contrast checker → · Palette generator →

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