#291E86#291E86

#291E86 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.1% C 0.163 H 277.5°. Best body text is #FFFFFF at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#291E86
RGBrgb(41, 30, 134)
HSLhsl(246, 63%, 32%)
HSVhsv(246, 78%, 53%)
CMYKcmyk(69.4%, 77.6%, 0%, 47.5%)
CIE-LABlab(20.52, 38.07, -55.89)
CIE-LCHlch(20.52, 67.62, 304.26°)
OKLaboklab(33.15% 0.0212 -0.1615)
OKLCHoklch(33.15% 0.163 277.5)
XYZxyz(5.6804, 3.1207, 22.8526)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291E86 #7B861E
analogous
#1E4786 #291E86 #5D1E86
triadic
#291E86 #86291E #1E8629
tetradic
#291E86 #861E47 #7B861E #1E865D
square
#291E86 #861E47 #7B861E #1E865D
split-complementary
#291E86 #865D1E #47861E
monochromatic
#0A0822 #1A1354 #291E86 #3829B8 #5748D6

Accessibility & contrast

On white

12.93
#291E86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#291E86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291E86
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291E86#FFFFFF#000000##FFFFFF
##291E861.0012.931.6212.93
#FFFFFF12.931.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #291e86;
/* rgb */ color: rgb(41, 30, 134);
/* oklch */ color: oklch(33.1% 0.163 277.5);
Tailwind
colors: {
  custom: {
    50: '#715caa',
    500: '#291e86',
    950: '#000000',
  },
}
SCSS
$custom: #291e86;
$custom-light: #715caa;
$custom-dark: #000000;
JSON
{
  "hex": "#291e86",
  "rgb": {
    "r": 41,
    "g": 30,
    "b": 134
  },
  "hsl": {
    "h": 246.346,
    "s": 63.415,
    "l": 32.157
  },
  "oklch": {
    "l": 0.33145,
    "c": 0.16285,
    "h": 277.5
  },
  "luminance": 0.03121
}

Semantic roles & 50–950 ramp

primary
#291E86
secondary
#ACB847
accent
#E641D5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #291E86

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

Preview Lab → · Contrast checker → · Palette generator →

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