#291B96#291B96

#291B96 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.6% C 0.185 H 275.7°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#291B96
RGBrgb(41, 27, 150)
HSLhsl(247, 69%, 35%)
HSVhsv(247, 82%, 59%)
CMYKcmyk(72.7%, 82%, 0%, 41.2%)
CIE-LABlab(21.79, 44.79, -63.76)
CIE-LCHlch(21.79, 77.92, 305.09°)
OKLaboklab(34.56% 0.0184 -0.1843)
OKLCHoklch(34.56% 0.185 275.7)
XYZxyz(6.8096, 3.4566, 29.1566)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291B96 #88961B
analogous
#1B4B96 #291B96 #661B96
triadic
#291B96 #96291B #1B9629
tetradic
#291B96 #961B4B #88961B #1B9666
square
#291B96 #961B4B #88961B #1B9666
split-complementary
#291B96 #96661B #4B961B
monochromatic
#0D082E #1B1262 #291B96 #3724CA #5D4DDF

Accessibility & contrast

On white

12.42
#291B96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#291B96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291B96
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291B96#FFFFFF#000000##FFFFFF
##291B961.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003999
Deuteranopia (green-blind)
#002F94
Tritanopia (blue-blind)
#004159
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #291b96;
/* rgb */ color: rgb(41, 27, 150);
/* oklch */ color: oklch(34.6% 0.185 275.7);
Tailwind
colors: {
  custom: {
    50: '#755bb6',
    500: '#291b96',
    950: '#000000',
  },
}
SCSS
$custom: #291b96;
$custom-light: #755bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#291b96",
  "rgb": {
    "r": 41,
    "g": 27,
    "b": 150
  },
  "hsl": {
    "h": 246.829,
    "s": 69.492,
    "l": 34.706
  },
  "oklch": {
    "l": 0.34564,
    "c": 0.18525,
    "h": 275.7
  },
  "luminance": 0.03457
}

Semantic roles & 50–950 ramp

primary
#291B96
secondary
#B4C14C
accent
#EC3BD8
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #291B96

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

Preview Lab → · Contrast checker → · Palette generator →

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