#041739#041739

#041739 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.3% C 0.071 H 260.1°. Best body text is #FFFFFF at 17.69:1 contrast (WCAG AA passes).

Color values

HEX#041739
RGBrgb(4, 23, 57)
HSLhsl(218, 87%, 12%)
HSVhsv(218, 93%, 22%)
CMYKcmyk(93%, 59.6%, 0%, 77.6%)
CIE-LABlab(8.43, 7.62, -24.33)
CIE-LCHlch(8.43, 25.49, 287.40°)
OKLaboklab(21.31% -0.0123 -0.0701)
OKLCHoklch(21.31% 0.071 260.1)
XYZxyz(1.0947, 0.9339, 3.9927)
Luminance0.0093 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#041739 #392604
analogous
#043239 #041739 #0C0439
triadic
#041739 #390417 #173904
tetradic
#041739 #390432 #392604 #04390C
square
#041739 #390432 #392604 #04390C
split-complementary
#041739 #390C04 #323904
monochromatic
#020C1D #020C1D #041739 #082E72 #0C45AB

Accessibility & contrast

On white

17.69
#041739 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#041739 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #041739
17.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##041739#FFFFFF#000000##FFFFFF
##0417391.0017.691.1917.69
#FFFFFF17.691.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031B3A
Deuteranopia (green-blind)
#001638
Tritanopia (blue-blind)
#001F25
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #041739;
/* rgb */ color: rgb(4, 23, 57);
/* oklch */ color: oklch(21.3% 0.071 260.1);
Tailwind
colors: {
  custom: {
    50: '#4e5370',
    500: '#041739',
    950: '#000000',
  },
}
SCSS
$custom: #041739;
$custom-light: #4e5370;
$custom-dark: #000000;
JSON
{
  "hex": "#041739",
  "rgb": {
    "r": 4,
    "g": 23,
    "b": 57
  },
  "hsl": {
    "h": 218.491,
    "s": 86.885,
    "l": 11.961
  },
  "oklch": {
    "l": 0.21309,
    "c": 0.07116,
    "h": 260.1
  },
  "luminance": 0.00934
}

Semantic roles & 50–950 ramp

primary
#041739
secondary
#7B5A1E
accent
#B22BFD
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020207
muted
#78787A

Preview Lab

Preview with #041739

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

Preview Lab → · Contrast checker → · Palette generator →

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