#041032#041032

#041032 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.8% C 0.070 H 264.2°. Best body text is #FFFFFF at 18.66:1 contrast (WCAG AA passes).

Color values

HEX#041032
RGBrgb(4, 16, 50)
HSLhsl(224, 85%, 11%)
HSVhsv(224, 92%, 20%)
CMYKcmyk(92%, 68%, 0%, 80.4%)
CIE-LABlab(5.66, 8.82, -23.69)
CIE-LCHlch(5.66, 25.28, 290.42°)
OKLaboklab(18.8% -0.0071 -0.0698)
OKLCHoklch(18.8% 0.07 264.2)
XYZxyz(0.8109, 0.6266, 3.0952)
Luminance0.0063 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#041032 #322604
analogous
#042732 #041032 #0F0432
triadic
#041032 #320410 #103204
tetradic
#041032 #320427 #322604 #04320F
square
#041032 #320427 #322604 #04320F
split-complementary
#041032 #320F04 #273204
monochromatic
#02091C #02091C #041032 #09226B #0D34A3

Accessibility & contrast

On white

18.66
#041032 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#041032 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #041032
18.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##041032#FFFFFF#000000##FFFFFF
##0410321.0018.661.1318.66
#FFFFFF18.661.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001533
Deuteranopia (green-blind)
#001031
Tritanopia (blue-blind)
#00191E
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #041032;
/* rgb */ color: rgb(4, 16, 50);
/* oklch */ color: oklch(18.8% 0.070 264.2);
Tailwind
colors: {
  custom: {
    50: '#4c4e6a',
    500: '#041032',
    950: '#000000',
  },
}
SCSS
$custom: #041032;
$custom-light: #4c4e6a;
$custom-dark: #000000;
JSON
{
  "hex": "#041032",
  "rgb": {
    "r": 4,
    "g": 16,
    "b": 50
  },
  "hsl": {
    "h": 224.348,
    "s": 85.185,
    "l": 10.588
  },
  "oklch": {
    "l": 0.18798,
    "c": 0.07016,
    "h": 264.2
  },
  "luminance": 0.00627
}

Semantic roles & 50–950 ramp

primary
#041032
secondary
#745E1D
accent
#C52CFB
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #041032

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

Preview Lab → · Contrast checker → · Palette generator →

#041032 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva