#041836#041836

#041836 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.3% C 0.065 H 257.8°. Best body text is #FFFFFF at 17.66:1 contrast (WCAG AA passes).

Color values

HEX#041836
RGBrgb(4, 24, 54)
HSLhsl(216, 86%, 11%)
HSVhsv(216, 93%, 21%)
CMYKcmyk(92.6%, 55.6%, 0%, 78.8%)
CIE-LABlab(8.53, 5.36, -22.00)
CIE-LCHlch(8.53, 22.65, 283.70°)
OKLaboklab(21.31% -0.0137 -0.0632)
OKLCHoklch(21.31% 0.065 257.8)
XYZxyz(1.0423, 0.9453, 3.6168)
Luminance0.0095 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#041836 #362204
analogous
#043136 #041836 #090436
triadic
#041836 #360418 #183604
tetradic
#041836 #360431 #362204 #043609
square
#041836 #360431 #362204 #043609
split-complementary
#041836 #360904 #313604
monochromatic
#020D1C #020D1C #041836 #08316F #0C4BA8

Accessibility & contrast

On white

17.66
#041836 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#041836 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #041836
17.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##041836#FFFFFF#000000##FFFFFF
##0418361.0017.661.1917.66
#FFFFFF17.661.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071B37
Deuteranopia (green-blind)
#001635
Tritanopia (blue-blind)
#001F24
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #041836;
/* rgb */ color: rgb(4, 24, 54);
/* oklch */ color: oklch(21.3% 0.065 257.8);
Tailwind
colors: {
  custom: {
    50: '#4d546d',
    500: '#041836',
    950: '#000000',
  },
}
SCSS
$custom: #041836;
$custom-light: #4d546d;
$custom-dark: #000000;
JSON
{
  "hex": "#041836",
  "rgb": {
    "r": 4,
    "g": 24,
    "b": 54
  },
  "hsl": {
    "h": 216,
    "s": 86.207,
    "l": 11.373
  },
  "oklch": {
    "l": 0.21305,
    "c": 0.06471,
    "h": 257.8
  },
  "luminance": 0.00945
}

Semantic roles & 50–950 ramp

primary
#041836
secondary
#78541E
accent
#A92BFC
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020207
muted
#78787A

Preview Lab

Preview with #041836

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

Preview Lab → · Contrast checker → · Palette generator →

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