#291A93#291A93

#291A93 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 34.1% C 0.182 H 276.2°. Best body text is #FFFFFF at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#291A93
RGBrgb(41, 26, 147)
HSLhsl(247, 70%, 34%)
HSVhsv(247, 82%, 58%)
CMYKcmyk(72.1%, 82.3%, 0%, 42.4%)
CIE-LABlab(21.27, 44.34, -62.77)
CIE-LCHlch(21.27, 76.85, 305.24°)
OKLaboklab(34.1% 0.0197 -0.1814)
OKLCHoklch(34.1% 0.182 276.2)
XYZxyz(6.5486, 3.3162, 27.8931)
Luminance0.0332 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291A93 #84931A
analogous
#1A4893 #291A93 #661A93
triadic
#291A93 #93291A #1A9329
tetradic
#291A93 #931A48 #84931A #1A9366
square
#291A93 #931A48 #84931A #1A9366
split-complementary
#291A93 #93661A #48931A
monochromatic
#0C082B #1A115F #291A93 #3823C7 #5B49DF

Accessibility & contrast

On white

12.62
#291A93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#291A93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291A93
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291A93#FFFFFF#000000##FFFFFF
##291A931.0012.621.6612.62
#FFFFFF12.621.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003896
Deuteranopia (green-blind)
#002E91
Tritanopia (blue-blind)
#004057
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #291a93;
/* rgb */ color: rgb(41, 26, 147);
/* oklch */ color: oklch(34.1% 0.182 276.2);
Tailwind
colors: {
  custom: {
    50: '#755bb4',
    500: '#291a93',
    950: '#000000',
  },
}
SCSS
$custom: #291a93;
$custom-light: #755bb4;
$custom-dark: #000000;
JSON
{
  "hex": "#291a93",
  "rgb": {
    "r": 41,
    "g": 26,
    "b": 147
  },
  "hsl": {
    "h": 247.438,
    "s": 69.942,
    "l": 33.922
  },
  "oklch": {
    "l": 0.34101,
    "c": 0.18248,
    "h": 276.2
  },
  "luminance": 0.03317
}

Semantic roles & 50–950 ramp

primary
#291A93
secondary
#B2C048
accent
#ED3BD7
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #291A93

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

Preview Lab → · Contrast checker → · Palette generator →

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