#041537#041537

#041537 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.6% C 0.071 H 261.2°. Best body text is #FFFFFF at 17.99:1 contrast (WCAG AA passes).

Color values

HEX#041537
RGBrgb(4, 21, 55)
HSLhsl(220, 86%, 12%)
HSVhsv(220, 93%, 22%)
CMYKcmyk(92.7%, 61.8%, 0%, 78.4%)
CIE-LABlab(7.57, 8.25, -24.27)
CIE-LCHlch(7.57, 25.64, 288.77°)
OKLaboklab(20.59% -0.0108 -0.07)
OKLCHoklch(20.59% 0.071 261.2)
XYZxyz(1.0076, 0.8379, 3.7223)
Luminance0.0084 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#041537 #372604
analogous
#042F37 #041537 #0D0437
triadic
#041537 #370415 #153704
tetradic
#041537 #37042F #372604 #04370D
square
#041537 #37042F #372604 #04370D
split-complementary
#041537 #370D04 #2F3704
monochromatic
#020B1D #020B1D #041537 #082B70 #0C41A9

Accessibility & contrast

On white

17.99
#041537 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #041537
17.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##041537#FFFFFF#000000##FFFFFF
##0415371.0017.991.1717.99
#FFFFFF17.991.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011938
Deuteranopia (green-blind)
#001436
Tritanopia (blue-blind)
#001D23
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #041537;
/* rgb */ color: rgb(4, 21, 55);
/* oklch */ color: oklch(20.6% 0.071 261.2);
Tailwind
colors: {
  custom: {
    50: '#4e516e',
    500: '#041537',
    950: '#000000',
  },
}
SCSS
$custom: #041537;
$custom-light: #4e516e;
$custom-dark: #000000;
JSON
{
  "hex": "#041537",
  "rgb": {
    "r": 4,
    "g": 21,
    "b": 55
  },
  "hsl": {
    "h": 220,
    "s": 86.441,
    "l": 11.569
  },
  "oklch": {
    "l": 0.20591,
    "c": 0.07087,
    "h": 261.2
  },
  "luminance": 0.00838
}

Semantic roles & 50–950 ramp

primary
#041537
secondary
#795B1E
accent
#B72BFD
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020207
muted
#78787A

Preview Lab

Preview with #041537

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

Preview Lab → · Contrast checker → · Palette generator →

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