#291CAB#291CAB

#291CAB is a dark, highly saturated blue. Relative luminance 0.042; OKLCH L 37.1% C 0.209 H 273.4°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#291CAB
RGBrgb(41, 28, 171)
HSLhsl(245, 72%, 39%)
HSVhsv(245, 84%, 67%)
CMYKcmyk(76%, 83.6%, 0%, 32.9%)
CIE-LABlab(24.45, 50.78, -72.14)
CIE-LCHlch(24.45, 88.22, 305.14°)
OKLaboklab(37.13% 0.0123 -0.2086)
OKLCHoklch(37.13% 0.209 273.4)
XYZxyz(8.6779, 4.2413, 38.8815)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291CAB #9EAB1C
analogous
#1C56AB #291CAB #711CAB
triadic
#291CAB #AB291C #1CAB29
tetradic
#291CAB #AB1C56 #9EAB1C #1CAB71
square
#291CAB #AB1C56 #9EAB1C #1CAB71
split-complementary
#291CAB #AB711C #56AB1C
monochromatic
#100B42 #1C1376 #291CAB #3928DC #695DE4

Accessibility & contrast

On white

11.36
#291CAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#291CAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291CAB
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291CAB#FFFFFF#000000##FFFFFF
##291CAB1.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041AF
Deuteranopia (green-blind)
#0033A9
Tritanopia (blue-blind)
#004A66
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #291cab;
/* rgb */ color: rgb(41, 28, 171);
/* oklch */ color: oklch(37.1% 0.209 273.4);
Tailwind
colors: {
  custom: {
    50: '#7a5dc5',
    500: '#291cab',
    950: '#000000',
  },
}
SCSS
$custom: #291cab;
$custom-light: #7a5dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#291cab",
  "rgb": {
    "r": 41,
    "g": 28,
    "b": 171
  },
  "hsl": {
    "h": 245.455,
    "s": 71.859,
    "l": 39.02
  },
  "oklch": {
    "l": 0.37133,
    "c": 0.20901,
    "h": 273.4
  },
  "luminance": 0.04242
}

Semantic roles & 50–950 ramp

primary
#291CAB
secondary
#BFC95A
accent
#EF39DE
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #291CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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