#291C96#291C96

#291C96 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.7% C 0.184 H 275.6°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#291C96
RGBrgb(41, 28, 150)
HSLhsl(246, 69%, 35%)
HSVhsv(246, 81%, 59%)
CMYKcmyk(72.7%, 81.3%, 0%, 41.2%)
CIE-LABlab(21.96, 44.30, -63.48)
CIE-LCHlch(21.96, 77.41, 304.91°)
OKLaboklab(34.68% 0.018 -0.1835)
OKLCHoklch(34.68% 0.184 275.6)
XYZxyz(6.8329, 3.5033, 29.1643)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291C96 #89961C
analogous
#1C4C96 #291C96 #661C96
triadic
#291C96 #96291C #1C9629
tetradic
#291C96 #961C4C #89961C #1C9666
square
#291C96 #961C4C #89961C #1C9666
split-complementary
#291C96 #96661C #4C961C
monochromatic
#0D092F #1B1262 #291C96 #3726CA #5E4EDE

Accessibility & contrast

On white

12.35
#291C96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#291C96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291C96
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291C96#FFFFFF#000000##FFFFFF
##291C961.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A99
Deuteranopia (green-blind)
#002F94
Tritanopia (blue-blind)
#004259
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #291c96;
/* rgb */ color: rgb(41, 28, 150);
/* oklch */ color: oklch(34.7% 0.184 275.6);
Tailwind
colors: {
  custom: {
    50: '#755cb6',
    500: '#291c96',
    950: '#000000',
  },
}
SCSS
$custom: #291c96;
$custom-light: #755cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#291c96",
  "rgb": {
    "r": 41,
    "g": 28,
    "b": 150
  },
  "hsl": {
    "h": 246.393,
    "s": 68.539,
    "l": 34.902
  },
  "oklch": {
    "l": 0.34681,
    "c": 0.18441,
    "h": 275.6
  },
  "luminance": 0.03504
}

Semantic roles & 50–950 ramp

primary
#291C96
secondary
#B4C14D
accent
#EB3CD9
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #291C96

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

Preview Lab → · Contrast checker → · Palette generator →

#291C96 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva