#041E47#041E47

#041E47 is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.4% C 0.083 H 259.1°. Best body text is #FFFFFF at 16.38:1 contrast (WCAG AA passes).

Color values

HEX#041E47
RGBrgb(4, 30, 71)
HSLhsl(217, 89%, 15%)
HSVhsv(217, 94%, 28%)
CMYKcmyk(94.4%, 57.7%, 0%, 72.2%)
CIE-LABlab(12.02, 8.73, -28.41)
CIE-LCHlch(12.02, 29.72, 287.08°)
OKLaboklab(24.44% -0.0158 -0.0819)
OKLCHoklch(24.44% 0.083 259.1)
XYZxyz(1.6513, 1.4091, 6.1450)
Luminance0.0141 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#041E47 #472D04
analogous
#044047 #041E47 #0B0447
triadic
#041E47 #47041E #1E4704
tetradic
#041E47 #470440 #472D04 #04470B
square
#041E47 #470440 #472D04 #04470B
split-complementary
#041E47 #470B04 #404704
monochromatic
#020C1D #020C1D #041E47 #073681 #0B4FBB

Accessibility & contrast

On white

16.38
#041E47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#041E47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #041E47
16.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##041E47#FFFFFF#000000##FFFFFF
##041E471.0016.381.2816.38
#FFFFFF16.381.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#032348
Deuteranopia (green-blind)
#001D46
Tritanopia (blue-blind)
#00282F
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #041e47;
/* rgb */ color: rgb(4, 30, 71);
/* oklch */ color: oklch(24.4% 0.083 259.1);
Tailwind
colors: {
  custom: {
    50: '#52597b',
    500: '#041e47',
    950: '#000000',
  },
}
SCSS
$custom: #041e47;
$custom-light: #52597b;
$custom-dark: #000000;
JSON
{
  "hex": "#041e47",
  "rgb": {
    "r": 4,
    "g": 30,
    "b": 71
  },
  "hsl": {
    "h": 216.716,
    "s": 89.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.24435,
    "c": 0.08345,
    "h": 259.1
  },
  "luminance": 0.01409
}

Semantic roles & 50–950 ramp

primary
#041E47
secondary
#885F1F
accent
#AC29FF
background
#F5F5F7
surface
#E8E9ED
border
#C4C5C8
text
#030309
muted
#78787B

Preview Lab

Preview with #041E47

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

Preview Lab → · Contrast checker → · Palette generator →

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