#041737#041737

#041737 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.1% C 0.068 H 259.3°. Best body text is #FFFFFF at 17.75:1 contrast (WCAG AA passes).

Color values

HEX#041737
RGBrgb(4, 23, 55)
HSLhsl(218, 86%, 12%)
HSVhsv(218, 93%, 22%)
CMYKcmyk(92.7%, 58.2%, 0%, 78.4%)
CIE-LABlab(8.26, 6.66, -23.16)
CIE-LCHlch(8.26, 24.10, 286.03°)
OKLaboklab(21.12% -0.0126 -0.0667)
OKLCHoklch(21.12% 0.068 259.3)
XYZxyz(1.0458, 0.9143, 3.7350)
Luminance0.0091 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#041737 #372404
analogous
#043137 #041737 #0B0437
triadic
#041737 #370417 #173704
tetradic
#041737 #370431 #372404 #04370B
square
#041737 #370431 #372404 #04370B
split-complementary
#041737 #370B04 #313704
monochromatic
#020C1D #020C1D #041737 #082F70 #0C47A9

Accessibility & contrast

On white

17.75
#041737 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #041737
17.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##041737#FFFFFF#000000##FFFFFF
##0417371.0017.751.1817.75
#FFFFFF17.751.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051B38
Deuteranopia (green-blind)
#001636
Tritanopia (blue-blind)
#001F24
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #041737;
/* rgb */ color: rgb(4, 23, 55);
/* oklch */ color: oklch(21.1% 0.068 259.3);
Tailwind
colors: {
  custom: {
    50: '#4d536e',
    500: '#041737',
    950: '#000000',
  },
}
SCSS
$custom: #041737;
$custom-light: #4d536e;
$custom-dark: #000000;
JSON
{
  "hex": "#041737",
  "rgb": {
    "r": 4,
    "g": 23,
    "b": 55
  },
  "hsl": {
    "h": 217.647,
    "s": 86.441,
    "l": 11.569
  },
  "oklch": {
    "l": 0.21123,
    "c": 0.06786,
    "h": 259.3
  },
  "luminance": 0.00914
}

Semantic roles & 50–950 ramp

primary
#041737
secondary
#79571E
accent
#AF2BFD
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020207
muted
#78787A

Preview Lab

Preview with #041737

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

Preview Lab → · Contrast checker → · Palette generator →

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