#291BAA#291BAA

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

Color values

HEX#291BAA
RGBrgb(41, 27, 170)
HSLhsl(246, 73%, 39%)
HSVhsv(246, 84%, 67%)
CMYKcmyk(75.9%, 84.1%, 0%, 33.3%)
CIE-LABlab(24.18, 50.92, -71.99)
CIE-LCHlch(24.18, 88.18, 305.27°)
OKLaboklab(36.91% 0.0128 -0.2082)
OKLCHoklch(36.91% 0.209 273.5)
XYZxyz(8.5597, 4.1567, 38.3736)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291BAA #9CAA1B
analogous
#1B54AA #291BAA #701BAA
triadic
#291BAA #AA291B #1BAA29
tetradic
#291BAA #AA1B54 #9CAA1B #1BAA70
square
#291BAA #AA1B54 #9CAA1B #1BAA70
split-complementary
#291BAA #AA701B #54AA1B
monochromatic
#100A40 #1C1375 #291BAA #3826DC #685BE5

Accessibility & contrast

On white

11.47
#291BAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#291BAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291BAA
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291BAA#FFFFFF#000000##FFFFFF
##291BAA1.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040AE
Deuteranopia (green-blind)
#0033A8
Tritanopia (blue-blind)
#004A65
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #291baa;
/* rgb */ color: rgb(41, 27, 170);
/* oklch */ color: oklch(36.9% 0.209 273.5);
Tailwind
colors: {
  custom: {
    50: '#7a5dc5',
    500: '#291baa',
    950: '#000000',
  },
}
SCSS
$custom: #291baa;
$custom-light: #7a5dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#291baa",
  "rgb": {
    "r": 41,
    "g": 27,
    "b": 170
  },
  "hsl": {
    "h": 245.874,
    "s": 72.589,
    "l": 38.627
  },
  "oklch": {
    "l": 0.36912,
    "c": 0.20858,
    "h": 273.5
  },
  "luminance": 0.04158
}

Semantic roles & 50–950 ramp

primary
#291BAA
secondary
#BEC958
accent
#EF39DD
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0413
muted
#7C7982

Preview Lab

Preview with #291BAA

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

Preview Lab → · Contrast checker → · Palette generator →

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