#04032E#04032E

#04032E is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 15.1% C 0.085 H 271.6°. Best body text is #FFFFFF at 19.86:1 contrast (WCAG AA passes).

Color values

HEX#04032E
RGBrgb(4, 3, 46)
HSLhsl(241, 88%, 10%)
HSVhsv(241, 93%, 18%)
CMYKcmyk(91.3%, 93.5%, 0%, 82%)
CIE-LABlab(2.60, 12.36, -25.59)
CIE-LCHlch(2.60, 28.42, 295.78°)
OKLaboklab(15.11% 0.0024 -0.0845)
OKLCHoklch(15.11% 0.085 271.6)
XYZxyz(0.5756, 0.2881, 2.6095)
Luminance0.0029 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04032E #2D2E03
analogous
#03182E #04032E #1A032E
triadic
#04032E #2E0403 #032E04
tetradic
#04032E #2E0318 #2D2E03 #032E1A
square
#04032E #2E0318 #2D2E03 #032E1A
split-complementary
#04032E #2E1A03 #182E03
monochromatic
#02021D #02021D #04032E #090767 #0E0AA1

Accessibility & contrast

On white

19.86
#04032E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.06
#04032E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #04032E
19.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04032E#FFFFFF#000000##FFFFFF
##04032E1.0019.861.0619.86
#FFFFFF19.861.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000C2F
Deuteranopia (green-blind)
#00072D
Tritanopia (blue-blind)
#000F18
Achromatopsia (no color)
#090909

Design tokens & code

CSS
--color: #04032e;
/* rgb */ color: rgb(4, 3, 46);
/* oklch */ color: oklch(15.1% 0.085 271.6);
Tailwind
colors: {
  custom: {
    50: '#4a4867',
    500: '#04032e',
    950: '#000000',
  },
}
SCSS
$custom: #04032e;
$custom-light: #4a4867;
$custom-dark: #000000;
JSON
{
  "hex": "#04032e",
  "rgb": {
    "r": 4,
    "g": 3,
    "b": 46
  },
  "hsl": {
    "h": 241.395,
    "s": 87.755,
    "l": 9.608
  },
  "oklch": {
    "l": 0.15106,
    "c": 0.08455,
    "h": 271.6
  },
  "luminance": 0.00288
}

Semantic roles & 50–950 ramp

primary
#04032E
secondary
#70721B
accent
#FE2AF9
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#010006
muted
#77777A

Preview Lab

Preview with #04032E

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

Preview Lab → · Contrast checker → · Palette generator →

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