#041341#041341

#041341 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.1% C 0.090 H 264.5°. Best body text is #FFFFFF at 17.88:1 contrast (WCAG AA passes).

Color values

HEX#041341
RGBrgb(4, 19, 65)
HSLhsl(225, 88%, 14%)
HSVhsv(225, 94%, 25%)
CMYKcmyk(93.8%, 70.8%, 0%, 74.5%)
CIE-LABlab(7.89, 14.64, -30.93)
CIE-LCHlch(7.89, 34.22, 295.33°)
OKLaboklab(21.14% -0.0087 -0.0896)
OKLCHoklch(21.14% 0.09 264.5)
XYZxyz(1.2367, 0.8731, 5.1033)
Luminance0.0087 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#041341 #413204
analogous
#043141 #041341 #130441
triadic
#041341 #410413 #134104
tetradic
#041341 #410431 #413204 #044113
square
#041341 #410431 #413204 #044113
split-complementary
#041341 #411304 #314104
monochromatic
#02081D #02081D #041341 #08247B #0B35B4

Accessibility & contrast

On white

17.88
#041341 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#041341 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #041341
17.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##041341#FFFFFF#000000##FFFFFF
##0413411.0017.881.1717.88
#FFFFFF17.881.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A42
Deuteranopia (green-blind)
#001440
Tritanopia (blue-blind)
#001F27
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #041341;
/* rgb */ color: rgb(4, 19, 65);
/* oklch */ color: oklch(21.1% 0.090 264.5);
Tailwind
colors: {
  custom: {
    50: '#515076',
    500: '#041341',
    950: '#000000',
  },
}
SCSS
$custom: #041341;
$custom-light: #515076;
$custom-dark: #000000;
JSON
{
  "hex": "#041341",
  "rgb": {
    "r": 4,
    "g": 19,
    "b": 65
  },
  "hsl": {
    "h": 225.246,
    "s": 88.406,
    "l": 13.529
  },
  "oklch": {
    "l": 0.21141,
    "c": 0.08999,
    "h": 264.5
  },
  "luminance": 0.00873
}

Semantic roles & 50–950 ramp

primary
#041341
secondary
#826A1F
accent
#CA29FF
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #041341

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

Preview Lab → · Contrast checker → · Palette generator →

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