#291B86#291B86

#291B86 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.7% C 0.166 H 277.9°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#291B86
RGBrgb(41, 27, 134)
HSLhsl(248, 66%, 32%)
HSVhsv(248, 80%, 53%)
CMYKcmyk(69.4%, 79.9%, 0%, 47.5%)
CIE-LABlab(19.95, 39.71, -56.84)
CIE-LCHlch(19.95, 69.33, 304.94°)
OKLaboklab(32.74% 0.0229 -0.1642)
OKLCHoklch(32.74% 0.166 277.9)
XYZxyz(5.6081, 2.9760, 22.8285)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291B86 #78861B
analogous
#1B4386 #291B86 #5F1B86
triadic
#291B86 #86291B #1B8629
tetradic
#291B86 #861B43 #78861B #1B865F
square
#291B86 #861B43 #78861B #1B865F
split-complementary
#291B86 #865F1B #43861B
monochromatic
#0A0620 #191153 #291B86 #3925B9 #5642D9

Accessibility & contrast

On white

13.16
#291B86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #291B86
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291B86#FFFFFF#000000##FFFFFF
##291B861.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #291b86;
/* rgb */ color: rgb(41, 27, 134);
/* oklch */ color: oklch(32.7% 0.166 277.9);
Tailwind
colors: {
  custom: {
    50: '#715aaa',
    500: '#291b86',
    950: '#000000',
  },
}
SCSS
$custom: #291b86;
$custom-light: #715aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#291b86",
  "rgb": {
    "r": 41,
    "g": 27,
    "b": 134
  },
  "hsl": {
    "h": 247.85,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.32742,
    "c": 0.16578,
    "h": 277.9
  },
  "luminance": 0.02977
}

Semantic roles & 50–950 ramp

primary
#291B86
secondary
#AAB944
accent
#E93ED3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #291B86

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

Preview Lab → · Contrast checker → · Palette generator →

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