#041336#041336

#041336 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.0% C 0.072 H 262.6°. Best body text is #FFFFFF at 18.24:1 contrast (WCAG AA passes).

Color values

HEX#041336
RGBrgb(4, 19, 54)
HSLhsl(222, 86%, 11%)
HSVhsv(222, 93%, 21%)
CMYKcmyk(92.6%, 64.8%, 0%, 78.8%)
CIE-LABlab(6.85, 9.18, -24.72)
CIE-LCHlch(6.85, 26.37, 290.38°)
OKLaboklab(19.97% -0.0093 -0.0716)
OKLCHoklch(19.97% 0.072 262.6)
XYZxyz(0.9486, 0.7578, 3.5856)
Luminance0.0076 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#041336 #362704
analogous
#042C36 #041336 #0E0436
triadic
#041336 #360413 #133604
tetradic
#041336 #36042C #362704 #04360E
square
#041336 #36042C #362704 #04360E
split-complementary
#041336 #360E04 #2C3604
monochromatic
#020A1C #020A1C #041336 #08276F #0C3BA8

Accessibility & contrast

On white

18.24
#041336 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#041336 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #041336
18.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##041336#FFFFFF#000000##FFFFFF
##0413361.0018.241.1518.24
#FFFFFF18.241.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001837
Deuteranopia (green-blind)
#001335
Tritanopia (blue-blind)
#001C22
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #041336;
/* rgb */ color: rgb(4, 19, 54);
/* oklch */ color: oklch(20.0% 0.072 262.6);
Tailwind
colors: {
  custom: {
    50: '#4d506d',
    500: '#041336',
    950: '#000000',
  },
}
SCSS
$custom: #041336;
$custom-light: #4d506d;
$custom-dark: #000000;
JSON
{
  "hex": "#041336",
  "rgb": {
    "r": 4,
    "g": 19,
    "b": 54
  },
  "hsl": {
    "h": 222,
    "s": 86.207,
    "l": 11.373
  },
  "oklch": {
    "l": 0.19974,
    "c": 0.07225,
    "h": 262.6
  },
  "luminance": 0.00758
}

Semantic roles & 50–950 ramp

primary
#041336
secondary
#785D1E
accent
#BE2BFC
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020207
muted
#78787A

Preview Lab

Preview with #041336

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

Preview Lab → · Contrast checker → · Palette generator →

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