#291D86#291D86

#291D86 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.0% C 0.164 H 277.6°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#291D86
RGBrgb(41, 29, 134)
HSLhsl(247, 64%, 32%)
HSVhsv(247, 78%, 53%)
CMYKcmyk(69.4%, 78.4%, 0%, 47.5%)
CIE-LABlab(20.33, 38.62, -56.21)
CIE-LCHlch(20.33, 68.20, 304.49°)
OKLaboklab(33.01% 0.0217 -0.1624)
OKLCHoklch(33.01% 0.164 277.6)
XYZxyz(5.6555, 3.0709, 22.8443)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291D86 #7A861D
analogous
#1D4686 #291D86 #5E1D86
triadic
#291D86 #86291D #1D8629
tetradic
#291D86 #861D46 #7A861D #1D865E
square
#291D86 #861D46 #7A861D #1D865E
split-complementary
#291D86 #865E1D #46861D
monochromatic
#0A0721 #1A1254 #291D86 #3828B8 #5746D7

Accessibility & contrast

On white

13.01
#291D86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#291D86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291D86
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291D86#FFFFFF#000000##FFFFFF
##291D861.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #291d86;
/* rgb */ color: rgb(41, 29, 134);
/* oklch */ color: oklch(33.0% 0.164 277.6);
Tailwind
colors: {
  custom: {
    50: '#715baa',
    500: '#291d86',
    950: '#000000',
  },
}
SCSS
$custom: #291d86;
$custom-light: #715baa;
$custom-dark: #000000;
JSON
{
  "hex": "#291d86",
  "rgb": {
    "r": 41,
    "g": 29,
    "b": 134
  },
  "hsl": {
    "h": 246.857,
    "s": 64.417,
    "l": 31.961
  },
  "oklch": {
    "l": 0.33007,
    "c": 0.16385,
    "h": 277.6
  },
  "luminance": 0.03071
}

Semantic roles & 50–950 ramp

primary
#291D86
secondary
#ACB946
accent
#E740D4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #291D86

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

Preview Lab → · Contrast checker → · Palette generator →

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