#041541#041541

#041541 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.6% C 0.087 H 263.4°. Best body text is #FFFFFF at 17.66:1 contrast (WCAG AA passes).

Color values

HEX#041541
RGBrgb(4, 21, 65)
HSLhsl(223, 88%, 14%)
HSVhsv(223, 94%, 25%)
CMYKcmyk(93.8%, 67.7%, 0%, 74.5%)
CIE-LABlab(8.51, 13.05, -29.90)
CIE-LCHlch(8.51, 32.63, 293.58°)
OKLaboklab(21.61% -0.0099 -0.0865)
OKLCHoklch(21.61% 0.087 263.4)
XYZxyz(1.2720, 0.9436, 5.1151)
Luminance0.0094 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#041541 #413004
analogous
#043341 #041541 #110441
triadic
#041541 #410415 #154104
tetradic
#041541 #410433 #413004 #044111
square
#041541 #410433 #413004 #044111
split-complementary
#041541 #411104 #334104
monochromatic
#02091D #02091D #041541 #08287B #0B3AB4

Accessibility & contrast

On white

17.66
#041541 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#041541 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #041541
17.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##041541#FFFFFF#000000##FFFFFF
##0415411.0017.661.1917.66
#FFFFFF17.661.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B42
Deuteranopia (green-blind)
#001640
Tritanopia (blue-blind)
#002028
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #041541;
/* rgb */ color: rgb(4, 21, 65);
/* oklch */ color: oklch(21.6% 0.087 263.4);
Tailwind
colors: {
  custom: {
    50: '#515176',
    500: '#041541',
    950: '#000000',
  },
}
SCSS
$custom: #041541;
$custom-light: #515176;
$custom-dark: #000000;
JSON
{
  "hex": "#041541",
  "rgb": {
    "r": 4,
    "g": 21,
    "b": 65
  },
  "hsl": {
    "h": 223.279,
    "s": 88.406,
    "l": 13.529
  },
  "oklch": {
    "l": 0.21609,
    "c": 0.0871,
    "h": 263.4
  },
  "luminance": 0.00944
}

Semantic roles & 50–950 ramp

primary
#041541
secondary
#82661F
accent
#C329FF
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#020208
muted
#78787B

Preview Lab

Preview with #041541

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

Preview Lab → · Contrast checker → · Palette generator →

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