#291B95#291B95

#291B95 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.4% C 0.184 H 275.8°. Best body text is #FFFFFF at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#291B95
RGBrgb(41, 27, 149)
HSLhsl(247, 69%, 35%)
HSVhsv(247, 82%, 58%)
CMYKcmyk(72.5%, 81.9%, 0%, 41.6%)
CIE-LABlab(21.67, 44.48, -63.34)
CIE-LCHlch(21.67, 77.39, 305.08°)
OKLaboklab(34.45% 0.0187 -0.1831)
OKLCHoklch(34.45% 0.184 275.8)
XYZxyz(6.7294, 3.4246, 28.7343)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291B95 #87951B
analogous
#1B4A95 #291B95 #661B95
triadic
#291B95 #95291B #1B9529
tetradic
#291B95 #951B4A #87951B #1B9566
square
#291B95 #951B4A #87951B #1B9566
split-complementary
#291B95 #95661B #4A951B
monochromatic
#0C082D #1B1261 #291B95 #3724C9 #5D4CDF

Accessibility & contrast

On white

12.46
#291B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #291B95
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291B95#FFFFFF#000000##FFFFFF
##291B951.0012.461.6912.46
#FFFFFF12.461.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #291b95;
/* rgb */ color: rgb(41, 27, 149);
/* oklch */ color: oklch(34.4% 0.184 275.8);
Tailwind
colors: {
  custom: {
    50: '#755bb5',
    500: '#291b95',
    950: '#000000',
  },
}
SCSS
$custom: #291b95;
$custom-light: #755bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#291b95",
  "rgb": {
    "r": 41,
    "g": 27,
    "b": 149
  },
  "hsl": {
    "h": 246.885,
    "s": 69.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.34448,
    "c": 0.18405,
    "h": 275.8
  },
  "luminance": 0.03425
}

Semantic roles & 50–950 ramp

primary
#291B95
secondary
#B3C14B
accent
#EC3CD8
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #291B95

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

Preview Lab → · Contrast checker → · Palette generator →

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