#040441#040441

#040441 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 18.2% C 0.109 H 268.4°. Best body text is #FFFFFF at 19.11:1 contrast (WCAG AA passes).

Color values

HEX#040441
RGBrgb(4, 4, 65)
HSLhsl(240, 88%, 14%)
HSVhsv(240, 94%, 25%)
CMYKcmyk(93.8%, 93.8%, 0%, 74.5%)
CIE-LABlab(4.46, 23.05, -36.53)
CIE-LCHlch(4.46, 43.20, 302.26°)
OKLaboklab(18.18% -0.003 -0.1093)
OKLCHoklch(18.18% 0.109 268.4)
XYZxyz(1.0473, 0.4942, 5.0402)
Luminance0.0049 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#040441 #414104
analogous
#042241 #040441 #220441
triadic
#040441 #410404 #044104
tetradic
#040441 #410422 #414104 #044122
square
#040441 #410422 #414104 #044122
split-complementary
#040441 #412204 #224104
monochromatic
#02021D #02021D #040441 #08087B #0B0BB4

Accessibility & contrast

On white

19.11
#040441 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#040441 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #040441
19.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##040441#FFFFFF#000000##FFFFFF
##0404411.0019.111.1019.11
#FFFFFF19.111.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001343
Deuteranopia (green-blind)
#000C40
Tritanopia (blue-blind)
#001723
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #040441;
/* rgb */ color: rgb(4, 4, 65);
/* oklch */ color: oklch(18.2% 0.109 268.4);
Tailwind
colors: {
  custom: {
    50: '#524776',
    500: '#040441',
    950: '#000000',
  },
}
SCSS
$custom: #040441;
$custom-light: #524776;
$custom-dark: #000000;
JSON
{
  "hex": "#040441",
  "rgb": {
    "r": 4,
    "g": 4,
    "b": 65
  },
  "hsl": {
    "h": 240,
    "s": 88.406,
    "l": 13.529
  },
  "oklch": {
    "l": 0.18179,
    "c": 0.1093,
    "h": 268.4
  },
  "luminance": 0.00494
}

Semantic roles & 50–950 ramp

primary
#040441
secondary
#82821F
accent
#FF29FF
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#030009
muted
#78777B

Preview Lab

Preview with #040441

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

Preview Lab → · Contrast checker → · Palette generator →

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