#291A97#291A97

#291A97 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.6% C 0.187 H 275.7°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#291A97
RGBrgb(41, 26, 151)
HSLhsl(247, 71%, 35%)
HSVhsv(247, 83%, 59%)
CMYKcmyk(72.8%, 82.8%, 0%, 40.8%)
CIE-LABlab(21.74, 45.58, -64.45)
CIE-LCHlch(21.74, 78.94, 305.27°)
OKLaboklab(34.57% 0.0185 -0.1863)
OKLCHoklch(34.57% 0.187 275.7)
XYZxyz(6.8679, 3.4439, 29.5750)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291A97 #88971A
analogous
#1A4A97 #291A97 #681A97
triadic
#291A97 #97291A #1A9729
tetradic
#291A97 #971A4A #88971A #1A9768
square
#291A97 #971A4A #88971A #1A9768
split-complementary
#291A97 #97681A #4A971A
monochromatic
#0D082F #1B1163 #291A97 #3723CB #5D4BE0

Accessibility & contrast

On white

12.43
#291A97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #291A97
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291A97#FFFFFF#000000##FFFFFF
##291A971.0012.431.6912.43
#FFFFFF12.431.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00399A
Deuteranopia (green-blind)
#002E95
Tritanopia (blue-blind)
#00415A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #291a97;
/* rgb */ color: rgb(41, 26, 151);
/* oklch */ color: oklch(34.6% 0.187 275.7);
Tailwind
colors: {
  custom: {
    50: '#765bb7',
    500: '#291a97',
    950: '#000000',
  },
}
SCSS
$custom: #291a97;
$custom-light: #765bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#291a97",
  "rgb": {
    "r": 41,
    "g": 26,
    "b": 151
  },
  "hsl": {
    "h": 247.2,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.34566,
    "c": 0.18724,
    "h": 275.7
  },
  "luminance": 0.03445
}

Semantic roles & 50–950 ramp

primary
#291A97
secondary
#B4C24B
accent
#ED3AD8
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #291A97

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

Preview Lab → · Contrast checker → · Palette generator →

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