#291C99#291C99

#291C99 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 35.0% C 0.188 H 275.2°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#291C99
RGBrgb(41, 28, 153)
HSLhsl(246, 69%, 35%)
HSVhsv(246, 82%, 60%)
CMYKcmyk(73.2%, 81.7%, 0%, 40%)
CIE-LABlab(22.31, 45.24, -64.75)
CIE-LCHlch(22.31, 78.99, 304.94°)
OKLaboklab(35.03% 0.0172 -0.1872)
OKLCHoklch(35.03% 0.188 275.2)
XYZxyz(7.0776, 3.6011, 30.4529)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291C99 #8C991C
analogous
#1C4D99 #291C99 #671C99
triadic
#291C99 #99291C #1C9929
tetradic
#291C99 #991C4D #8C991C #1C9967
square
#291C99 #991C4D #8C991C #1C9967
split-complementary
#291C99 #99671C #4D991C
monochromatic
#0D0932 #1B1365 #291C99 #3725CD #5F50DF

Accessibility & contrast

On white

12.21
#291C99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#291C99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291C99
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291C99#FFFFFF#000000##FFFFFF
##291C991.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B9C
Deuteranopia (green-blind)
#003097
Tritanopia (blue-blind)
#00435B
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #291c99;
/* rgb */ color: rgb(41, 28, 153);
/* oklch */ color: oklch(35.0% 0.188 275.2);
Tailwind
colors: {
  custom: {
    50: '#765cb8',
    500: '#291c99',
    950: '#000000',
  },
}
SCSS
$custom: #291c99;
$custom-light: #765cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#291c99",
  "rgb": {
    "r": 41,
    "g": 28,
    "b": 153
  },
  "hsl": {
    "h": 246.24,
    "s": 69.061,
    "l": 35.49
  },
  "oklch": {
    "l": 0.35027,
    "c": 0.188,
    "h": 275.2
  },
  "luminance": 0.03602
}

Semantic roles & 50–950 ramp

primary
#291C99
secondary
#B6C24F
accent
#EC3CDA
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #291C99

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

Preview Lab → · Contrast checker → · Palette generator →

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