#041532#041532

#041532 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.1% C 0.062 H 259.3°. Best body text is #FFFFFF at 18.13:1 contrast (WCAG AA passes).

Color values

HEX#041532
RGBrgb(4, 21, 50)
HSLhsl(218, 85%, 11%)
HSVhsv(218, 92%, 20%)
CMYKcmyk(92%, 58%, 0%, 80.4%)
CIE-LABlab(7.16, 5.72, -21.29)
CIE-LCHlch(7.16, 22.05, 285.03°)
OKLaboklab(20.12% -0.0116 -0.0614)
OKLCHoklch(20.12% 0.062 259.3)
XYZxyz(0.8937, 0.7923, 3.1228)
Luminance0.0079 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#041532 #322104
analogous
#042C32 #041532 #0A0432
triadic
#041532 #320415 #153204
tetradic
#041532 #32042C #322104 #04320A
square
#041532 #32042C #322104 #04320A
split-complementary
#041532 #320A04 #2C3204
monochromatic
#020C1C #020C1C #041532 #092D6B #0D45A3

Accessibility & contrast

On white

18.13
#041532 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#041532 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #041532
18.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##041532#FFFFFF#000000##FFFFFF
##0415321.0018.131.1618.13
#FFFFFF18.131.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051833
Deuteranopia (green-blind)
#001431
Tritanopia (blue-blind)
#001C21
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #041532;
/* rgb */ color: rgb(4, 21, 50);
/* oklch */ color: oklch(20.1% 0.062 259.3);
Tailwind
colors: {
  custom: {
    50: '#4c516a',
    500: '#041532',
    950: '#000000',
  },
}
SCSS
$custom: #041532;
$custom-light: #4c516a;
$custom-dark: #000000;
JSON
{
  "hex": "#041532",
  "rgb": {
    "r": 4,
    "g": 21,
    "b": 50
  },
  "hsl": {
    "h": 217.826,
    "s": 85.185,
    "l": 10.588
  },
  "oklch": {
    "l": 0.20121,
    "c": 0.06248,
    "h": 259.3
  },
  "luminance": 0.00792
}

Semantic roles & 50–950 ramp

primary
#041532
secondary
#74541D
accent
#AF2CFB
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A

Preview Lab

Preview with #041532

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

Preview Lab → · Contrast checker → · Palette generator →

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