#041141#041141

#041141 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.7% C 0.093 H 265.3°. Best body text is #FFFFFF at 18.08:1 contrast (WCAG AA passes).

Color values

HEX#041141
RGBrgb(4, 17, 65)
HSLhsl(227, 88%, 14%)
HSVhsv(227, 94%, 25%)
CMYKcmyk(93.8%, 73.8%, 0%, 74.5%)
CIE-LABlab(7.30, 16.13, -31.89)
CIE-LCHlch(7.30, 35.73, 296.84°)
OKLaboklab(20.69% -0.0076 -0.0925)
OKLCHoklch(20.69% 0.093 265.3)
XYZxyz(1.2043, 0.8082, 5.0925)
Luminance0.0081 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#041141 #413404
analogous
#042F41 #041141 #150441
triadic
#041141 #410411 #114104
tetradic
#041141 #41042F #413404 #044115
square
#041141 #41042F #413404 #044115
split-complementary
#041141 #411504 #2F4104
monochromatic
#02081D #02081D #041141 #08207B #0B2FB4

Accessibility & contrast

On white

18.08
#041141 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#041141 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #041141
18.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##041141#FFFFFF#000000##FFFFFF
##0411411.0018.081.1618.08
#FFFFFF18.081.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001943
Deuteranopia (green-blind)
#001340
Tritanopia (blue-blind)
#001E27
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #041141;
/* rgb */ color: rgb(4, 17, 65);
/* oklch */ color: oklch(20.7% 0.093 265.3);
Tailwind
colors: {
  custom: {
    50: '#514e76',
    500: '#041141',
    950: '#000000',
  },
}
SCSS
$custom: #041141;
$custom-light: #514e76;
$custom-dark: #000000;
JSON
{
  "hex": "#041141",
  "rgb": {
    "r": 4,
    "g": 17,
    "b": 65
  },
  "hsl": {
    "h": 227.213,
    "s": 88.406,
    "l": 13.529
  },
  "oklch": {
    "l": 0.20693,
    "c": 0.09281,
    "h": 265.3
  },
  "luminance": 0.00808
}

Semantic roles & 50–950 ramp

primary
#041141
secondary
#826D1F
accent
#D129FF
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #041141

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

Preview Lab → · Contrast checker → · Palette generator →

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