#291A91#291A91

#291A91 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.9% C 0.180 H 276.5°. Best body text is #FFFFFF at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#291A91
RGBrgb(41, 26, 145)
HSLhsl(248, 70%, 34%)
HSVhsv(248, 82%, 57%)
CMYKcmyk(71.7%, 82.1%, 0%, 43.1%)
CIE-LABlab(21.03, 43.71, -61.91)
CIE-LCHlch(21.03, 75.79, 305.22°)
OKLaboklab(33.87% 0.0202 -0.1789)
OKLCHoklch(33.87% 0.18 276.5)
XYZxyz(6.3930, 3.2539, 27.0737)
Luminance0.0326 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291A91 #82911A
analogous
#1A4691 #291A91 #641A91
triadic
#291A91 #91291A #1A9129
tetradic
#291A91 #911A46 #82911A #1A9164
square
#291A91 #911A46 #82911A #1A9164
split-complementary
#291A91 #91641A #46911A
monochromatic
#0C0729 #1A115D #291A91 #3823C5 #5A47DE

Accessibility & contrast

On white

12.72
#291A91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#291A91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291A91
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291A91#FFFFFF#000000##FFFFFF
##291A911.0012.721.6512.72
#FFFFFF12.721.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003794
Deuteranopia (green-blind)
#002D8F
Tritanopia (blue-blind)
#003F56
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #291a91;
/* rgb */ color: rgb(41, 26, 145);
/* oklch */ color: oklch(33.9% 0.180 276.5);
Tailwind
colors: {
  custom: {
    50: '#745ab3',
    500: '#291a91',
    950: '#000000',
  },
}
SCSS
$custom: #291a91;
$custom-light: #745ab3;
$custom-dark: #000000;
JSON
{
  "hex": "#291a91",
  "rgb": {
    "r": 41,
    "g": 26,
    "b": 145
  },
  "hsl": {
    "h": 247.563,
    "s": 69.591,
    "l": 33.529
  },
  "oklch": {
    "l": 0.3387,
    "c": 0.18009,
    "h": 276.5
  },
  "luminance": 0.03255
}

Semantic roles & 50–950 ramp

primary
#291A91
secondary
#B0C047
accent
#EC3BD6
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #291A91

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

Preview Lab → · Contrast checker → · Palette generator →

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