#291AA1#291AA1

#291AA1 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.7% C 0.199 H 274.5°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#291AA1
RGBrgb(41, 26, 161)
HSLhsl(247, 72%, 37%)
HSVhsv(247, 84%, 63%)
CMYKcmyk(74.5%, 83.9%, 0%, 36.9%)
CIE-LABlab(22.94, 48.64, -68.60)
CIE-LCHlch(22.94, 84.09, 305.34°)
OKLaboklab(35.74% 0.0157 -0.1983)
OKLCHoklch(35.74% 0.199 274.5)
XYZxyz(7.7147, 3.7826, 34.0348)
Luminance0.0378 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291AA1 #92A11A
analogous
#1A4EA1 #291AA1 #6D1AA1
triadic
#291AA1 #A1291A #1AA129
tetradic
#291AA1 #A11A4E #92A11A #1AA16D
square
#291AA1 #A11A4E #92A11A #1AA16D
split-complementary
#291AA1 #A16D1A #4EA11A
monochromatic
#0E0938 #1C116C #291AA1 #3623D6 #6252E3

Accessibility & contrast

On white

11.95
#291AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#291AA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291AA1
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291AA1#FFFFFF#000000##FFFFFF
##291AA11.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA5
Deuteranopia (green-blind)
#00309F
Tritanopia (blue-blind)
#00465F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #291aa1;
/* rgb */ color: rgb(41, 26, 161);
/* oklch */ color: oklch(35.7% 0.199 274.5);
Tailwind
colors: {
  custom: {
    50: '#785cbe',
    500: '#291aa1',
    950: '#000000',
  },
}
SCSS
$custom: #291aa1;
$custom-light: #785cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#291aa1",
  "rgb": {
    "r": 41,
    "g": 26,
    "b": 161
  },
  "hsl": {
    "h": 246.667,
    "s": 72.193,
    "l": 36.667
  },
  "oklch": {
    "l": 0.35741,
    "c": 0.19895,
    "h": 274.5
  },
  "luminance": 0.03783
}

Semantic roles & 50–950 ramp

primary
#291AA1
secondary
#B9C651
accent
#EF39DB
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #291AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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