#041535#041535

#041535 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.4% C 0.068 H 260.5°. Best body text is #FFFFFF at 18.04:1 contrast (WCAG AA passes).

Color values

HEX#041535
RGBrgb(4, 21, 53)
HSLhsl(219, 86%, 11%)
HSVhsv(219, 92%, 21%)
CMYKcmyk(92.5%, 60.4%, 0%, 79.2%)
CIE-LABlab(7.40, 7.25, -23.10)
CIE-LCHlch(7.40, 24.21, 287.42°)
OKLaboklab(20.4% -0.0111 -0.0666)
OKLCHoklch(20.4% 0.068 260.5)
XYZxyz(0.9606, 0.8191, 3.4749)
Luminance0.0082 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#041535 #352404
analogous
#042D35 #041535 #0B0435
triadic
#041535 #350415 #153504
tetradic
#041535 #35042D #352404 #04350B
square
#041535 #35042D #352404 #04350B
split-complementary
#041535 #350B04 #2D3504
monochromatic
#020B1C #020B1C #041535 #082C6E #0D42A7

Accessibility & contrast

On white

18.04
#041535 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#041535 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #041535
18.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##041535#FFFFFF#000000##FFFFFF
##0415351.0018.041.1618.04
#FFFFFF18.041.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031936
Deuteranopia (green-blind)
#001434
Tritanopia (blue-blind)
#001D22
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #041535;
/* rgb */ color: rgb(4, 21, 53);
/* oklch */ color: oklch(20.4% 0.068 260.5);
Tailwind
colors: {
  custom: {
    50: '#4d516c',
    500: '#041535',
    950: '#000000',
  },
}
SCSS
$custom: #041535;
$custom-light: #4d516c;
$custom-dark: #000000;
JSON
{
  "hex": "#041535",
  "rgb": {
    "r": 4,
    "g": 21,
    "b": 53
  },
  "hsl": {
    "h": 219.184,
    "s": 85.965,
    "l": 11.176
  },
  "oklch": {
    "l": 0.204,
    "c": 0.06753,
    "h": 260.5
  },
  "luminance": 0.00819
}

Semantic roles & 50–950 ramp

primary
#041535
secondary
#77581E
accent
#B42CFC
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020207
muted
#78787A

Preview Lab

Preview with #041535

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

Preview Lab → · Contrast checker → · Palette generator →

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