#041137#041137

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

Color values

HEX#041137
RGBrgb(4, 17, 55)
HSLhsl(225, 86%, 12%)
HSVhsv(225, 93%, 22%)
CMYKcmyk(92.7%, 69.1%, 0%, 78.4%)
CIE-LABlab(6.34, 11.01, -26.25)
CIE-LCHlch(6.34, 28.47, 292.75°)
OKLaboklab(19.58% -0.0076 -0.0766)
OKLCHoklch(19.58% 0.077 264.3)
XYZxyz(0.9399, 0.7024, 3.6997)
Luminance0.0070 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#041137 #372A04
analogous
#042B37 #041137 #110437
triadic
#041137 #370411 #113704
tetradic
#041137 #37042B #372A04 #043711
square
#041137 #37042B #372A04 #043711
split-complementary
#041137 #371104 #2B3704
monochromatic
#02091D #02091D #041137 #082370 #0C34A9

Accessibility & contrast

On white

18.41
#041137 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#041137 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #041137
18.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##041137#FFFFFF#000000##FFFFFF
##0411371.0018.411.1418.41
#FFFFFF18.411.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001738
Deuteranopia (green-blind)
#001236
Tritanopia (blue-blind)
#001B21
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #041137;
/* rgb */ color: rgb(4, 17, 55);
/* oklch */ color: oklch(19.6% 0.077 264.3);
Tailwind
colors: {
  custom: {
    50: '#4e4e6e',
    500: '#041137',
    950: '#000000',
  },
}
SCSS
$custom: #041137;
$custom-light: #4e4e6e;
$custom-dark: #000000;
JSON
{
  "hex": "#041137",
  "rgb": {
    "r": 4,
    "g": 17,
    "b": 55
  },
  "hsl": {
    "h": 224.706,
    "s": 86.441,
    "l": 11.569
  },
  "oklch": {
    "l": 0.19576,
    "c": 0.07693,
    "h": 264.3
  },
  "luminance": 0.00703
}

Semantic roles & 50–950 ramp

primary
#041137
secondary
#79621E
accent
#C72BFD
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020107
muted
#78777A

Preview Lab

Preview with #041137

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

Preview Lab → · Contrast checker → · Palette generator →

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