#041637#041637

#041637 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 20.9% C 0.069 H 260.3°. Best body text is #FFFFFF at 17.87:1 contrast (WCAG AA passes).

Color values

HEX#041637
RGBrgb(4, 22, 55)
HSLhsl(219, 86%, 12%)
HSVhsv(219, 93%, 22%)
CMYKcmyk(92.7%, 60%, 0%, 78.4%)
CIE-LABlab(7.91, 7.47, -23.73)
CIE-LCHlch(7.91, 24.88, 287.47°)
OKLaboklab(20.86% -0.0117 -0.0684)
OKLCHoklch(20.86% 0.069 260.3)
XYZxyz(1.0263, 0.8753, 3.7286)
Luminance0.0088 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#041637 #372504
analogous
#043037 #041637 #0C0437
triadic
#041637 #370416 #163704
tetradic
#041637 #370430 #372504 #04370C
square
#041637 #370430 #372504 #04370C
split-complementary
#041637 #370C04 #303704
monochromatic
#020B1D #020B1D #041637 #082D70 #0C44A9

Accessibility & contrast

On white

17.87
#041637 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#041637 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #041637
17.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##041637#FFFFFF#000000##FFFFFF
##0416371.0017.871.1817.87
#FFFFFF17.871.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031A38
Deuteranopia (green-blind)
#001536
Tritanopia (blue-blind)
#001E23
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #041637;
/* rgb */ color: rgb(4, 22, 55);
/* oklch */ color: oklch(20.9% 0.069 260.3);
Tailwind
colors: {
  custom: {
    50: '#4e526e',
    500: '#041637',
    950: '#000000',
  },
}
SCSS
$custom: #041637;
$custom-light: #4e526e;
$custom-dark: #000000;
JSON
{
  "hex": "#041637",
  "rgb": {
    "r": 4,
    "g": 22,
    "b": 55
  },
  "hsl": {
    "h": 218.824,
    "s": 86.441,
    "l": 11.569
  },
  "oklch": {
    "l": 0.20856,
    "c": 0.06936,
    "h": 260.3
  },
  "luminance": 0.00875
}

Semantic roles & 50–950 ramp

primary
#041637
secondary
#79591E
accent
#B32BFD
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020207
muted
#78787A

Preview Lab

Preview with #041637

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

Preview Lab → · Contrast checker → · Palette generator →

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