#04032D#04032D

#04032D is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 15.0% C 0.083 H 271.9°. Best body text is #FFFFFF at 19.89:1 contrast (WCAG AA passes).

Color values

HEX#04032D
RGBrgb(4, 3, 45)
HSLhsl(241, 88%, 9%)
HSVhsv(241, 93%, 18%)
CMYKcmyk(91.1%, 93.3%, 0%, 82.4%)
CIE-LABlab(2.53, 11.87, -24.95)
CIE-LCHlch(2.53, 27.62, 295.44°)
OKLaboklab(14.96% 0.0027 -0.083)
OKLCHoklch(14.96% 0.083 271.9)
XYZxyz(0.5561, 0.2803, 2.5069)
Luminance0.0028 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04032D #2C2D03
analogous
#03172D #04032D #19032D
triadic
#04032D #2D0403 #032D04
tetradic
#04032D #2D0317 #2C2D03 #032D19
square
#04032D #2D0317 #2C2D03 #032D19
split-complementary
#04032D #2D1903 #172D03
monochromatic
#03021D #03021D #04032D #090766 #0E0BA0

Accessibility & contrast

On white

19.89
#04032D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #04032D
19.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04032D#FFFFFF#000000##FFFFFF
##04032D1.0019.891.0619.89
#FFFFFF19.891.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000B2E
Deuteranopia (green-blind)
#00072C
Tritanopia (blue-blind)
#000F17
Achromatopsia (no color)
#090909

Design tokens & code

CSS
--color: #04032d;
/* rgb */ color: rgb(4, 3, 45);
/* oklch */ color: oklch(15.0% 0.083 271.9);
Tailwind
colors: {
  custom: {
    50: '#494866',
    500: '#04032d',
    950: '#000000',
  },
}
SCSS
$custom: #04032d;
$custom-light: #494866;
$custom-dark: #000000;
JSON
{
  "hex": "#04032d",
  "rgb": {
    "r": 4,
    "g": 3,
    "b": 45
  },
  "hsl": {
    "h": 241.429,
    "s": 87.5,
    "l": 9.412
  },
  "oklch": {
    "l": 0.14959,
    "c": 0.08309,
    "h": 271.9
  },
  "luminance": 0.0028
}

Semantic roles & 50–950 ramp

primary
#04032D
secondary
#6F711B
accent
#FE2AF9
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#010006
muted
#77777A

Preview Lab

Preview with #04032D

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

Preview Lab → · Contrast checker → · Palette generator →

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