#04032F#04032F

#04032F is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 15.3% C 0.086 H 271.4°. Best body text is #FFFFFF at 19.83:1 contrast (WCAG AA passes).

Color values

HEX#04032F
RGBrgb(4, 3, 47)
HSLhsl(241, 88%, 10%)
HSVhsv(241, 94%, 18%)
CMYKcmyk(91.5%, 93.6%, 0%, 81.6%)
CIE-LABlab(2.67, 12.87, -26.23)
CIE-LCHlch(2.67, 29.21, 296.13°)
OKLaboklab(15.25% 0.0021 -0.086)
OKLCHoklch(15.25% 0.086 271.4)
XYZxyz(0.5955, 0.2961, 2.7145)
Luminance0.0030 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04032F #2E2F03
analogous
#03182F #04032F #1A032F
triadic
#04032F #2F0403 #032F04
tetradic
#04032F #2F0318 #2E2F03 #032F1A
square
#04032F #2F0318 #2E2F03 #032F1A
split-complementary
#04032F #2F1A03 #182F03
monochromatic
#02021D #02021D #04032F #090769 #0E0AA2

Accessibility & contrast

On white

19.83
#04032F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #04032F
19.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04032F#FFFFFF#000000##FFFFFF
##04032F1.0019.831.0619.83
#FFFFFF19.831.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000C30
Deuteranopia (green-blind)
#00082E
Tritanopia (blue-blind)
#000F18
Achromatopsia (no color)
#0A0A0A

Design tokens & code

CSS
--color: #04032f;
/* rgb */ color: rgb(4, 3, 47);
/* oklch */ color: oklch(15.3% 0.086 271.4);
Tailwind
colors: {
  custom: {
    50: '#4a4868',
    500: '#04032f',
    950: '#000000',
  },
}
SCSS
$custom: #04032f;
$custom-light: #4a4868;
$custom-dark: #000000;
JSON
{
  "hex": "#04032f",
  "rgb": {
    "r": 4,
    "g": 3,
    "b": 47
  },
  "hsl": {
    "h": 241.364,
    "s": 88,
    "l": 9.804
  },
  "oklch": {
    "l": 0.15254,
    "c": 0.086,
    "h": 271.4
  },
  "luminance": 0.00296
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #04032F

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

Preview Lab → · Contrast checker → · Palette generator →

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