#041D47#041D47

#041D47 is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.2% C 0.085 H 259.8°. Best body text is #FFFFFF at 16.51:1 contrast (WCAG AA passes).

Color values

HEX#041D47
RGBrgb(4, 29, 71)
HSLhsl(218, 89%, 15%)
HSVhsv(218, 94%, 28%)
CMYKcmyk(94.4%, 59.2%, 0%, 72.2%)
CIE-LABlab(11.68, 9.51, -28.95)
CIE-LCHlch(11.68, 30.47, 288.19°)
OKLaboklab(24.18% -0.0151 -0.0835)
OKLCHoklch(24.18% 0.085 259.8)
XYZxyz(1.6263, 1.3593, 6.1367)
Luminance0.0136 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#041D47 #472E04
analogous
#043F47 #041D47 #0D0447
triadic
#041D47 #47041D #1D4704
tetradic
#041D47 #47043F #472E04 #04470D
square
#041D47 #47043F #472E04 #04470D
split-complementary
#041D47 #470D04 #3F4704
monochromatic
#020C1D #020C1D #041D47 #073581 #0B4CBB

Accessibility & contrast

On white

16.51
#041D47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#041D47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #041D47
16.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##041D47#FFFFFF#000000##FFFFFF
##041D471.0016.511.2716.51
#FFFFFF16.511.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#012248
Deuteranopia (green-blind)
#001C46
Tritanopia (blue-blind)
#00272E
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #041d47;
/* rgb */ color: rgb(4, 29, 71);
/* oklch */ color: oklch(24.2% 0.085 259.8);
Tailwind
colors: {
  custom: {
    50: '#52587b',
    500: '#041d47',
    950: '#000000',
  },
}
SCSS
$custom: #041d47;
$custom-light: #52587b;
$custom-dark: #000000;
JSON
{
  "hex": "#041d47",
  "rgb": {
    "r": 4,
    "g": 29,
    "b": 71
  },
  "hsl": {
    "h": 217.612,
    "s": 89.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.2418,
    "c": 0.0849,
    "h": 259.8
  },
  "luminance": 0.01359
}

Semantic roles & 50–950 ramp

primary
#041D47
secondary
#88611F
accent
#AF29FF
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#030309
muted
#78787B

Preview Lab

Preview with #041D47

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

Preview Lab → · Contrast checker → · Palette generator →

#041D47 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva