#041937#041937

#041937 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 21.7% C 0.065 H 257.1°. Best body text is #FFFFFF at 17.51:1 contrast (WCAG AA passes).

Color values

HEX#041937
RGBrgb(4, 25, 55)
HSLhsl(215, 86%, 12%)
HSVhsv(215, 93%, 22%)
CMYKcmyk(92.7%, 54.5%, 0%, 78.4%)
CIE-LABlab(8.96, 5.04, -22.02)
CIE-LCHlch(8.96, 22.59, 282.90°)
OKLaboklab(21.67% -0.0145 -0.0633)
OKLCHoklch(21.67% 0.065 257.1)
XYZxyz(1.0870, 0.9968, 3.7488)
Luminance0.0100 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#041937 #372204
analogous
#043337 #041937 #090437
triadic
#041937 #370419 #193704
tetradic
#041937 #370433 #372204 #043709
square
#041937 #370433 #372204 #043709
split-complementary
#041937 #370904 #333704
monochromatic
#020D1D #020D1D #041937 #083370 #0C4DA9

Accessibility & contrast

On white

17.51
#041937 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#041937 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #041937
17.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##041937#FFFFFF#000000##FFFFFF
##0419371.0017.511.2017.51
#FFFFFF17.511.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#091C38
Deuteranopia (green-blind)
#001736
Tritanopia (blue-blind)
#002025
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #041937;
/* rgb */ color: rgb(4, 25, 55);
/* oklch */ color: oklch(21.7% 0.065 257.1);
Tailwind
colors: {
  custom: {
    50: '#4d556e',
    500: '#041937',
    950: '#000000',
  },
}
SCSS
$custom: #041937;
$custom-light: #4d556e;
$custom-dark: #000000;
JSON
{
  "hex": "#041937",
  "rgb": {
    "r": 4,
    "g": 25,
    "b": 55
  },
  "hsl": {
    "h": 215.294,
    "s": 86.441,
    "l": 11.569
  },
  "oklch": {
    "l": 0.21668,
    "c": 0.0649,
    "h": 257.1
  },
  "luminance": 0.00997
}

Semantic roles & 50–950 ramp

primary
#041937
secondary
#79531E
accent
#A62BFD
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020207
muted
#78787A

Preview Lab

Preview with #041937

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

Preview Lab → · Contrast checker → · Palette generator →

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