#04032C#04032C

#04032C is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 14.8% C 0.082 H 272.1°. Best body text is #FFFFFF at 19.91:1 contrast (WCAG AA passes).

Color values

HEX#04032C
RGBrgb(4, 3, 44)
HSLhsl(241, 87%, 9%)
HSVhsv(241, 93%, 17%)
CMYKcmyk(90.9%, 93.2%, 0%, 82.7%)
CIE-LABlab(2.46, 11.38, -24.30)
CIE-LCHlch(2.46, 26.83, 295.11°)
OKLaboklab(14.81% 0.003 -0.0816)
OKLCHoklch(14.81% 0.082 272.1)
XYZxyz(0.5371, 0.2727, 2.4067)
Luminance0.0027 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04032C #2B2C03
analogous
#03172C #04032C #19032C
triadic
#04032C #2C0403 #032C04
tetradic
#04032C #2C0317 #2B2C03 #032C19
square
#04032C #2C0317 #2B2C03 #032C19
split-complementary
#04032C #2C1903 #172C03
monochromatic
#03021D #03021D #04032C #090765 #0E0B9F

Accessibility & contrast

On white

19.91
#04032C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.05
#04032C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #04032C
19.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04032C#FFFFFF#000000##FFFFFF
##04032C1.0019.911.0519.91
#FFFFFF19.911.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF19.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000B2D
Deuteranopia (green-blind)
#00072B
Tritanopia (blue-blind)
#000E16
Achromatopsia (no color)
#090909

Design tokens & code

CSS
--color: #04032c;
/* rgb */ color: rgb(4, 3, 44);
/* oklch */ color: oklch(14.8% 0.082 272.1);
Tailwind
colors: {
  custom: {
    50: '#494865',
    500: '#04032c',
    950: '#000000',
  },
}
SCSS
$custom: #04032c;
$custom-light: #494865;
$custom-dark: #000000;
JSON
{
  "hex": "#04032c",
  "rgb": {
    "r": 4,
    "g": 3,
    "b": 44
  },
  "hsl": {
    "h": 241.463,
    "s": 87.234,
    "l": 9.216
  },
  "oklch": {
    "l": 0.14812,
    "c": 0.08163,
    "h": 272.1
  },
  "luminance": 0.00273
}

Semantic roles & 50–950 ramp

primary
#04032C
secondary
#6E701B
accent
#FD2AF8
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#010005
muted
#77777A

Preview Lab

Preview with #04032C

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

Preview Lab → · Contrast checker → · Palette generator →

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