#041037#041037

#041037 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.3% C 0.078 H 265.0°. Best body text is #FFFFFF at 18.51:1 contrast (WCAG AA passes).

Color values

HEX#041037
RGBrgb(4, 16, 55)
HSLhsl(226, 86%, 12%)
HSVhsv(226, 93%, 22%)
CMYKcmyk(92.7%, 70.9%, 0%, 78.4%)
CIE-LABlab(6.07, 11.61, -26.70)
CIE-LCHlch(6.07, 29.11, 293.50°)
OKLaboklab(19.33% -0.0069 -0.0781)
OKLCHoklch(19.33% 0.078 265)
XYZxyz(0.9247, 0.6721, 3.6947)
Luminance0.0067 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#041037 #372B04
analogous
#042A37 #041037 #120437
triadic
#041037 #370410 #103704
tetradic
#041037 #37042A #372B04 #043712
square
#041037 #37042A #372B04 #043712
split-complementary
#041037 #371204 #2A3704
monochromatic
#02081D #02081D #041037 #082170 #0C31A9

Accessibility & contrast

On white

18.51
#041037 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #041037
18.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##041037#FFFFFF#000000##FFFFFF
##0410371.0018.511.1318.51
#FFFFFF18.511.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001638
Deuteranopia (green-blind)
#001136
Tritanopia (blue-blind)
#001A21
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #041037;
/* rgb */ color: rgb(4, 16, 55);
/* oklch */ color: oklch(19.3% 0.078 265.0);
Tailwind
colors: {
  custom: {
    50: '#4e4e6e',
    500: '#041037',
    950: '#000000',
  },
}
SCSS
$custom: #041037;
$custom-light: #4e4e6e;
$custom-dark: #000000;
JSON
{
  "hex": "#041037",
  "rgb": {
    "r": 4,
    "g": 16,
    "b": 55
  },
  "hsl": {
    "h": 225.882,
    "s": 86.441,
    "l": 11.569
  },
  "oklch": {
    "l": 0.19334,
    "c": 0.07843,
    "h": 265
  },
  "luminance": 0.00672
}

Semantic roles & 50–950 ramp

primary
#041037
secondary
#79641E
accent
#CB2BFD
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020107
muted
#78777A

Preview Lab

Preview with #041037

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

Preview Lab → · Contrast checker → · Palette generator →

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