#041332#041332

#041332 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.6% C 0.066 H 261.4°. Best body text is #FFFFFF at 18.35:1 contrast (WCAG AA passes).

Color values

HEX#041332
RGBrgb(4, 19, 50)
HSLhsl(220, 85%, 11%)
HSVhsv(220, 92%, 20%)
CMYKcmyk(92%, 62%, 0%, 80.4%)
CIE-LABlab(6.52, 7.06, -22.32)
CIE-LCHlch(6.52, 23.41, 287.56°)
OKLaboklab(19.58% -0.0098 -0.0648)
OKLCHoklch(19.58% 0.066 261.4)
XYZxyz(0.8585, 0.7217, 3.1111)
Luminance0.0072 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#041332 #322304
analogous
#042A32 #041332 #0C0432
triadic
#041332 #320413 #133204
tetradic
#041332 #32042A #322304 #04320C
square
#041332 #32042A #322304 #04320C
split-complementary
#041332 #320C04 #2A3204
monochromatic
#020B1C #020B1C #041332 #09296B #0D3EA3

Accessibility & contrast

On white

18.35
#041332 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#041332 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #041332
18.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##041332#FFFFFF#000000##FFFFFF
##0413321.0018.351.1418.35
#FFFFFF18.351.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021733
Deuteranopia (green-blind)
#001231
Tritanopia (blue-blind)
#001B20
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #041332;
/* rgb */ color: rgb(4, 19, 50);
/* oklch */ color: oklch(19.6% 0.066 261.4);
Tailwind
colors: {
  custom: {
    50: '#4c506a',
    500: '#041332',
    950: '#000000',
  },
}
SCSS
$custom: #041332;
$custom-light: #4c506a;
$custom-dark: #000000;
JSON
{
  "hex": "#041332",
  "rgb": {
    "r": 4,
    "g": 19,
    "b": 50
  },
  "hsl": {
    "h": 220.435,
    "s": 85.185,
    "l": 10.588
  },
  "oklch": {
    "l": 0.19579,
    "c": 0.06553,
    "h": 261.4
  },
  "luminance": 0.00722
}

Semantic roles & 50–950 ramp

primary
#041332
secondary
#74581D
accent
#B82CFB
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A

Preview Lab

Preview with #041332

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

Preview Lab → · Contrast checker → · Palette generator →

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