#041337#041337

#041337 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.1% C 0.074 H 262.9°. Best body text is #FFFFFF at 18.21:1 contrast (WCAG AA passes).

Color values

HEX#041337
RGBrgb(4, 19, 55)
HSLhsl(222, 86%, 12%)
HSVhsv(222, 93%, 22%)
CMYKcmyk(92.7%, 65.5%, 0%, 78.4%)
CIE-LABlab(6.93, 9.70, -25.31)
CIE-LCHlch(6.93, 27.10, 290.97°)
OKLaboklab(20.08% -0.0092 -0.0733)
OKLCHoklch(20.08% 0.074 262.9)
XYZxyz(0.9723, 0.7673, 3.7105)
Luminance0.0077 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#041337 #372804
analogous
#042D37 #041337 #0F0437
triadic
#041337 #370413 #133704
tetradic
#041337 #37042D #372804 #04370F
square
#041337 #37042D #372804 #04370F
split-complementary
#041337 #370F04 #2D3704
monochromatic
#020A1D #020A1D #041337 #082770 #0C3AA9

Accessibility & contrast

On white

18.21
#041337 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#041337 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #041337
18.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##041337#FFFFFF#000000##FFFFFF
##0413371.0018.211.1518.21
#FFFFFF18.211.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001838
Deuteranopia (green-blind)
#001336
Tritanopia (blue-blind)
#001C22
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #041337;
/* rgb */ color: rgb(4, 19, 55);
/* oklch */ color: oklch(20.1% 0.074 262.9);
Tailwind
colors: {
  custom: {
    50: '#4e506e',
    500: '#041337',
    950: '#000000',
  },
}
SCSS
$custom: #041337;
$custom-light: #4e506e;
$custom-dark: #000000;
JSON
{
  "hex": "#041337",
  "rgb": {
    "r": 4,
    "g": 19,
    "b": 55
  },
  "hsl": {
    "h": 222.353,
    "s": 86.441,
    "l": 11.569
  },
  "oklch": {
    "l": 0.20075,
    "c": 0.07391,
    "h": 262.9
  },
  "luminance": 0.00767
}

Semantic roles & 50–950 ramp

primary
#041337
secondary
#795E1E
accent
#BF2BFD
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020207
muted
#78787A

Preview Lab

Preview with #041337

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

Preview Lab → · Contrast checker → · Palette generator →

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