#291A99#291A99

#291A99 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.8% C 0.190 H 275.4°. Best body text is #FFFFFF at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#291A99
RGBrgb(41, 26, 153)
HSLhsl(247, 71%, 35%)
HSVhsv(247, 83%, 60%)
CMYKcmyk(73.2%, 83%, 0%, 40%)
CIE-LABlab(21.98, 46.20, -65.29)
CIE-LCHlch(21.98, 79.98, 305.28°)
OKLaboklab(34.8% 0.0179 -0.1887)
OKLCHoklch(34.8% 0.19 275.4)
XYZxyz(7.0317, 3.5094, 30.4376)
Luminance0.0351 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291A99 #8A991A
analogous
#1A4A99 #291A99 #691A99
triadic
#291A99 #99291A #1A9929
tetradic
#291A99 #991A4A #8A991A #1A9969
square
#291A99 #991A4A #8A991A #1A9969
split-complementary
#291A99 #99691A #4A991A
monochromatic
#0D0830 #1B1165 #291A99 #3723CD #5E4DE1

Accessibility & contrast

On white

12.34
#291A99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#291A99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291A99
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291A99#FFFFFF#000000##FFFFFF
##291A991.0012.341.7012.34
#FFFFFF12.341.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A9C
Deuteranopia (green-blind)
#002F97
Tritanopia (blue-blind)
#00425B
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #291a99;
/* rgb */ color: rgb(41, 26, 153);
/* oklch */ color: oklch(34.8% 0.190 275.4);
Tailwind
colors: {
  custom: {
    50: '#765bb8',
    500: '#291a99',
    950: '#000000',
  },
}
SCSS
$custom: #291a99;
$custom-light: #765bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#291a99",
  "rgb": {
    "r": 41,
    "g": 26,
    "b": 153
  },
  "hsl": {
    "h": 247.087,
    "s": 70.95,
    "l": 35.098
  },
  "oklch": {
    "l": 0.34799,
    "c": 0.1896,
    "h": 275.4
  },
  "luminance": 0.0351
}

Semantic roles & 50–950 ramp

primary
#291A99
secondary
#B5C34C
accent
#EE3AD8
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #291A99

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

Preview Lab → · Contrast checker → · Palette generator →

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