#041841#041841

#041841 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.3% C 0.083 H 261.6°. Best body text is #FFFFFF at 17.32:1 contrast (WCAG AA passes).

Color values

HEX#041841
RGBrgb(4, 24, 65)
HSLhsl(220, 88%, 14%)
HSVhsv(220, 94%, 25%)
CMYKcmyk(93.8%, 63.1%, 0%, 74.5%)
CIE-LABlab(9.49, 10.65, -28.31)
CIE-LCHlch(9.49, 30.25, 290.61°)
OKLaboklab(22.34% -0.012 -0.0818)
OKLCHoklch(22.34% 0.083 261.6)
XYZxyz(1.3305, 1.0606, 5.1346)
Luminance0.0106 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#041841 #412D04
analogous
#043641 #041841 #0E0441
triadic
#041841 #410418 #184104
tetradic
#041841 #410436 #412D04 #04410E
square
#041841 #410436 #412D04 #04410E
split-complementary
#041841 #410E04 #364104
monochromatic
#020B1D #020B1D #041841 #082D7B #0B43B4

Accessibility & contrast

On white

17.32
#041841 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#041841 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #041841
17.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##041841#FFFFFF#000000##FFFFFF
##0418411.0017.321.2117.32
#FFFFFF17.321.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D42
Deuteranopia (green-blind)
#001840
Tritanopia (blue-blind)
#002229
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #041841;
/* rgb */ color: rgb(4, 24, 65);
/* oklch */ color: oklch(22.3% 0.083 261.6);
Tailwind
colors: {
  custom: {
    50: '#515476',
    500: '#041841',
    950: '#000000',
  },
}
SCSS
$custom: #041841;
$custom-light: #515476;
$custom-dark: #000000;
JSON
{
  "hex": "#041841",
  "rgb": {
    "r": 4,
    "g": 24,
    "b": 65
  },
  "hsl": {
    "h": 220.328,
    "s": 88.406,
    "l": 13.529
  },
  "oklch": {
    "l": 0.22341,
    "c": 0.08268,
    "h": 261.6
  },
  "luminance": 0.01061
}

Semantic roles & 50–950 ramp

primary
#041841
secondary
#82621F
accent
#B929FF
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#020208
muted
#78787B

Preview Lab

Preview with #041841

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

Preview Lab → · Contrast checker → · Palette generator →

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