#041437#041437

#041437 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.3% C 0.072 H 262.1°. Best body text is #FFFFFF at 18.10:1 contrast (WCAG AA passes).

Color values

HEX#041437
RGBrgb(4, 20, 55)
HSLhsl(221, 86%, 12%)
HSVhsv(221, 93%, 22%)
CMYKcmyk(92.7%, 63.6%, 0%, 78.4%)
CIE-LABlab(7.24, 9.00, -24.80)
CIE-LCHlch(7.24, 26.38, 289.94°)
OKLaboklab(20.33% -0.01 -0.0717)
OKLCHoklch(20.33% 0.072 262.1)
XYZxyz(0.9896, 0.8018, 3.7163)
Luminance0.0080 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#041437 #372704
analogous
#042E37 #041437 #0D0437
triadic
#041437 #370414 #143704
tetradic
#041437 #37042E #372704 #04370D
square
#041437 #37042E #372704 #04370D
split-complementary
#041437 #370D04 #2E3704
monochromatic
#020A1D #020A1D #041437 #082970 #0C3DA9

Accessibility & contrast

On white

18.10
#041437 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#041437 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #041437
18.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##041437#FFFFFF#000000##FFFFFF
##0414371.0018.101.1618.10
#FFFFFF18.101.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #041437;
/* rgb */ color: rgb(4, 20, 55);
/* oklch */ color: oklch(20.3% 0.072 262.1);
Tailwind
colors: {
  custom: {
    50: '#4e506e',
    500: '#041437',
    950: '#000000',
  },
}
SCSS
$custom: #041437;
$custom-light: #4e506e;
$custom-dark: #000000;
JSON
{
  "hex": "#041437",
  "rgb": {
    "r": 4,
    "g": 20,
    "b": 55
  },
  "hsl": {
    "h": 221.176,
    "s": 86.441,
    "l": 11.569
  },
  "oklch": {
    "l": 0.20331,
    "c": 0.07239,
    "h": 262.1
  },
  "luminance": 0.00802
}

Semantic roles & 50–950 ramp

primary
#041437
secondary
#795C1E
accent
#BB2BFD
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020207
muted
#78787A

Preview Lab

Preview with #041437

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

Preview Lab → · Contrast checker → · Palette generator →

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