#041536#041536

#041536 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.5% C 0.069 H 260.9°. Best body text is #FFFFFF at 18.02:1 contrast (WCAG AA passes).

Color values

HEX#041536
RGBrgb(4, 21, 54)
HSLhsl(220, 86%, 11%)
HSVhsv(220, 93%, 21%)
CMYKcmyk(92.6%, 61.1%, 0%, 78.8%)
CIE-LABlab(7.48, 7.75, -23.69)
CIE-LCHlch(7.48, 24.92, 288.11°)
OKLaboklab(20.5% -0.011 -0.0683)
OKLCHoklch(20.5% 0.069 260.9)
XYZxyz(0.9838, 0.8284, 3.5973)
Luminance0.0083 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#041536 #362504
analogous
#042E36 #041536 #0C0436
triadic
#041536 #360415 #153604
tetradic
#041536 #36042E #362504 #04360C
square
#041536 #36042E #362504 #04360C
split-complementary
#041536 #360C04 #2E3604
monochromatic
#020B1C #020B1C #041536 #082B6F #0C41A8

Accessibility & contrast

On white

18.02
#041536 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#041536 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #041536
18.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##041536#FFFFFF#000000##FFFFFF
##0415361.0018.021.1718.02
#FFFFFF18.021.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021937
Deuteranopia (green-blind)
#001435
Tritanopia (blue-blind)
#001D23
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #041536;
/* rgb */ color: rgb(4, 21, 54);
/* oklch */ color: oklch(20.5% 0.069 260.9);
Tailwind
colors: {
  custom: {
    50: '#4d516d',
    500: '#041536',
    950: '#000000',
  },
}
SCSS
$custom: #041536;
$custom-light: #4d516d;
$custom-dark: #000000;
JSON
{
  "hex": "#041536",
  "rgb": {
    "r": 4,
    "g": 21,
    "b": 54
  },
  "hsl": {
    "h": 219.6,
    "s": 86.207,
    "l": 11.373
  },
  "oklch": {
    "l": 0.20495,
    "c": 0.0692,
    "h": 260.9
  },
  "luminance": 0.00828
}

Semantic roles & 50–950 ramp

primary
#041536
secondary
#78591E
accent
#B52BFC
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020207
muted
#78787A

Preview Lab

Preview with #041536

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

Preview Lab → · Contrast checker → · Palette generator →

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