#041041#041041

#041041 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.5% C 0.094 H 265.7°. Best body text is #FFFFFF at 18.17:1 contrast (WCAG AA passes).

Color values

HEX#041041
RGBrgb(4, 16, 65)
HSLhsl(228, 88%, 14%)
HSVhsv(228, 94%, 25%)
CMYKcmyk(93.8%, 75.4%, 0%, 74.5%)
CIE-LABlab(7.03, 16.82, -32.33)
CIE-LCHlch(7.03, 36.45, 297.49°)
OKLaboklab(20.48% -0.007 -0.0939)
OKLCHoklch(20.48% 0.094 265.7)
XYZxyz(1.1892, 0.7779, 5.0875)
Luminance0.0078 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#041041 #413504
analogous
#042E41 #041041 #160441
triadic
#041041 #410410 #104104
tetradic
#041041 #41042E #413504 #044116
square
#041041 #41042E #413504 #044116
split-complementary
#041041 #411604 #2E4104
monochromatic
#02071D #02071D #041041 #081E7B #0B2CB4

Accessibility & contrast

On white

18.17
#041041 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #041041
18.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##041041#FFFFFF#000000##FFFFFF
##0410411.0018.171.1618.17
#FFFFFF18.171.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #041041;
/* rgb */ color: rgb(4, 16, 65);
/* oklch */ color: oklch(20.5% 0.094 265.7);
Tailwind
colors: {
  custom: {
    50: '#524d76',
    500: '#041041',
    950: '#000000',
  },
}
SCSS
$custom: #041041;
$custom-light: #524d76;
$custom-dark: #000000;
JSON
{
  "hex": "#041041",
  "rgb": {
    "r": 4,
    "g": 16,
    "b": 65
  },
  "hsl": {
    "h": 228.197,
    "s": 88.406,
    "l": 13.529
  },
  "oklch": {
    "l": 0.20476,
    "c": 0.09418,
    "h": 265.7
  },
  "luminance": 0.00778
}

Semantic roles & 50–950 ramp

primary
#041041
secondary
#826F1F
accent
#D529FF
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #041041

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

Preview Lab → · Contrast checker → · Palette generator →

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