#04032B#04032B

#04032B is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 14.7% C 0.080 H 272.4°. Best body text is #FFFFFF at 19.94:1 contrast (WCAG AA passes).

Color values

HEX#04032B
RGBrgb(4, 3, 43)
HSLhsl(242, 87%, 9%)
HSVhsv(242, 93%, 17%)
CMYKcmyk(90.7%, 93%, 0%, 83.1%)
CIE-LABlab(2.40, 10.91, -23.64)
CIE-LCHlch(2.40, 26.04, 294.77°)
OKLaboklab(14.67% 0.0033 -0.0801)
OKLCHoklch(14.67% 0.08 272.4)
XYZxyz(0.5185, 0.2653, 2.3089)
Luminance0.0027 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04032B #2A2B03
analogous
#03162B #04032B #18032B
triadic
#04032B #2B0403 #032B04
tetradic
#04032B #2B0316 #2A2B03 #032B18
square
#04032B #2B0316 #2A2B03 #032B18
split-complementary
#04032B #2B1803 #162B03
monochromatic
#03021D #03021D #04032B #090764 #0F0B9D

Accessibility & contrast

On white

19.94
#04032B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #04032B
19.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04032B#FFFFFF#000000##FFFFFF
##04032B1.0019.941.0519.94
#FFFFFF19.941.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF19.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #04032b;
/* rgb */ color: rgb(4, 3, 43);
/* oklch */ color: oklch(14.7% 0.080 272.4);
Tailwind
colors: {
  custom: {
    50: '#494864',
    500: '#04032b',
    950: '#000000',
  },
}
SCSS
$custom: #04032b;
$custom-light: #494864;
$custom-dark: #000000;
JSON
{
  "hex": "#04032b",
  "rgb": {
    "r": 4,
    "g": 3,
    "b": 43
  },
  "hsl": {
    "h": 241.5,
    "s": 86.957,
    "l": 9.02
  },
  "oklch": {
    "l": 0.14665,
    "c": 0.08015,
    "h": 272.4
  },
  "luminance": 0.00265
}

Semantic roles & 50–950 ramp

primary
#04032B
secondary
#6D6F1B
accent
#FD2BF8
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#010005
muted
#77777A

Preview Lab

Preview with #04032B

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

Preview Lab → · Contrast checker → · Palette generator →

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