#041036#041036

#041036 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.2% C 0.077 H 264.8°. Best body text is #FFFFFF at 18.54:1 contrast (WCAG AA passes).

Color values

HEX#041036
RGBrgb(4, 16, 54)
HSLhsl(226, 86%, 11%)
HSVhsv(226, 93%, 21%)
CMYKcmyk(92.6%, 70.4%, 0%, 78.8%)
CIE-LABlab(5.99, 11.06, -26.11)
CIE-LCHlch(5.99, 28.35, 292.95°)
OKLaboklab(19.23% -0.0069 -0.0765)
OKLCHoklch(19.23% 0.077 264.8)
XYZxyz(0.9010, 0.6626, 3.5697)
Luminance0.0066 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#041036 #362A04
analogous
#042936 #041036 #110436
triadic
#041036 #360410 #103604
tetradic
#041036 #360429 #362A04 #043611
square
#041036 #360429 #362A04 #043611
split-complementary
#041036 #361104 #293604
monochromatic
#02081C #02081C #041036 #08216F #0C32A8

Accessibility & contrast

On white

18.54
#041036 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#041036 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #041036
18.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##041036#FFFFFF#000000##FFFFFF
##0410361.0018.541.1318.54
#FFFFFF18.541.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001637
Deuteranopia (green-blind)
#001135
Tritanopia (blue-blind)
#001A20
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #041036;
/* rgb */ color: rgb(4, 16, 54);
/* oklch */ color: oklch(19.2% 0.077 264.8);
Tailwind
colors: {
  custom: {
    50: '#4d4e6d',
    500: '#041036',
    950: '#000000',
  },
}
SCSS
$custom: #041036;
$custom-light: #4d4e6d;
$custom-dark: #000000;
JSON
{
  "hex": "#041036",
  "rgb": {
    "r": 4,
    "g": 16,
    "b": 54
  },
  "hsl": {
    "h": 225.6,
    "s": 86.207,
    "l": 11.373
  },
  "oklch": {
    "l": 0.19225,
    "c": 0.07679,
    "h": 264.8
  },
  "luminance": 0.00663
}

Semantic roles & 50–950 ramp

primary
#041036
secondary
#78621E
accent
#CA2BFC
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020107
muted
#78777A

Preview Lab

Preview with #041036

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

Preview Lab → · Contrast checker → · Palette generator →

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