#04032A#04032A

#04032A is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 14.5% C 0.079 H 272.6°. Best body text is #FFFFFF at 19.97:1 contrast (WCAG AA passes).

Color values

HEX#04032A
RGBrgb(4, 3, 42)
HSLhsl(242, 87%, 9%)
HSVhsv(242, 93%, 16%)
CMYKcmyk(90.5%, 92.9%, 0%, 83.5%)
CIE-LABlab(2.33, 10.45, -22.98)
CIE-LCHlch(2.33, 25.24, 294.45°)
OKLaboklab(14.52% 0.0036 -0.0786)
OKLCHoklch(14.52% 0.079 272.6)
XYZxyz(0.5004, 0.2581, 2.2135)
Luminance0.0026 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04032A #292A03
analogous
#03162A #04032A #18032A
triadic
#04032A #2A0403 #032A04
tetradic
#04032A #2A0316 #292A03 #032A18
square
#04032A #2A0316 #292A03 #032A18
split-complementary
#04032A #2A1803 #162A03
monochromatic
#03021D #03021D #04032A #090763 #0F0B9C

Accessibility & contrast

On white

19.97
#04032A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #04032A
19.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04032A#FFFFFF#000000##FFFFFF
##04032A1.0019.971.0519.97
#FFFFFF19.971.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF19.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000A2B
Deuteranopia (green-blind)
#000729
Tritanopia (blue-blind)
#000D15
Achromatopsia (no color)
#090909

Design tokens & code

CSS
--color: #04032a;
/* rgb */ color: rgb(4, 3, 42);
/* oklch */ color: oklch(14.5% 0.079 272.6);
Tailwind
colors: {
  custom: {
    50: '#494864',
    500: '#04032a',
    950: '#000000',
  },
}
SCSS
$custom: #04032a;
$custom-light: #494864;
$custom-dark: #000000;
JSON
{
  "hex": "#04032a",
  "rgb": {
    "r": 4,
    "g": 3,
    "b": 42
  },
  "hsl": {
    "h": 241.538,
    "s": 86.667,
    "l": 8.824
  },
  "oklch": {
    "l": 0.14519,
    "c": 0.07865,
    "h": 272.6
  },
  "luminance": 0.00258
}

Semantic roles & 50–950 ramp

primary
#04032A
secondary
#6C6E1B
accent
#FD2BF7
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#010005
muted
#77777A

Preview Lab

Preview with #04032A

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

Preview Lab → · Contrast checker → · Palette generator →

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