#291C86#291C86

#291C86 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.9% C 0.165 H 277.8°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#291C86
RGBrgb(41, 28, 134)
HSLhsl(247, 65%, 32%)
HSVhsv(247, 79%, 53%)
CMYKcmyk(69.4%, 79.1%, 0%, 47.5%)
CIE-LABlab(20.13, 39.17, -56.53)
CIE-LCHlch(20.13, 68.77, 304.72°)
OKLaboklab(32.87% 0.0223 -0.1633)
OKLCHoklch(32.87% 0.165 277.8)
XYZxyz(5.6314, 3.0227, 22.8363)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291C86 #79861C
analogous
#1C4486 #291C86 #5E1C86
triadic
#291C86 #86291C #1C8629
tetradic
#291C86 #861C44 #79861C #1C865E
square
#291C86 #861C44 #79861C #1C865E
split-complementary
#291C86 #865E1C #44861C
monochromatic
#0A0721 #1A1153 #291C86 #3827B9 #5644D8

Accessibility & contrast

On white

13.09
#291C86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#291C86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291C86
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291C86#FFFFFF#000000##FFFFFF
##291C861.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003589
Deuteranopia (green-blind)
#002C84
Tritanopia (blue-blind)
#003B50
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #291c86;
/* rgb */ color: rgb(41, 28, 134);
/* oklch */ color: oklch(32.9% 0.165 277.8);
Tailwind
colors: {
  custom: {
    50: '#715baa',
    500: '#291c86',
    950: '#000000',
  },
}
SCSS
$custom: #291c86;
$custom-light: #715baa;
$custom-dark: #000000;
JSON
{
  "hex": "#291c86",
  "rgb": {
    "r": 41,
    "g": 28,
    "b": 134
  },
  "hsl": {
    "h": 247.358,
    "s": 65.432,
    "l": 31.765
  },
  "oklch": {
    "l": 0.32873,
    "c": 0.16483,
    "h": 277.8
  },
  "luminance": 0.03023
}

Semantic roles & 50–950 ramp

primary
#291C86
secondary
#ABB945
accent
#E83FD4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #291C86

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

Preview Lab → · Contrast checker → · Palette generator →

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