#291A86#291A86

#291A86 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.6% C 0.167 H 278.1°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#291A86
RGBrgb(41, 26, 134)
HSLhsl(248, 68%, 31%)
HSVhsv(248, 81%, 53%)
CMYKcmyk(69.4%, 80.6%, 0%, 47.5%)
CIE-LABlab(19.77, 40.23, -57.14)
CIE-LCHlch(19.77, 69.88, 305.15°)
OKLaboklab(32.62% 0.0234 -0.1651)
OKLCHoklch(32.62% 0.167 278.1)
XYZxyz(5.5855, 2.9310, 22.8210)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291A86 #77861A
analogous
#1A4186 #291A86 #5F1A86
triadic
#291A86 #86291A #1A8629
tetradic
#291A86 #861A41 #77861A #1A865F
square
#291A86 #861A41 #77861A #1A865F
split-complementary
#291A86 #865F1A #41861A
monochromatic
#0A061F #191053 #291A86 #3924B9 #5640DA

Accessibility & contrast

On white

13.24
#291A86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#291A86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291A86
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291A86#FFFFFF#000000##FFFFFF
##291A861.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #291a86;
/* rgb */ color: rgb(41, 26, 134);
/* oklch */ color: oklch(32.6% 0.167 278.1);
Tailwind
colors: {
  custom: {
    50: '#725aaa',
    500: '#291a86',
    950: '#000000',
  },
}
SCSS
$custom: #291a86;
$custom-light: #725aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#291a86",
  "rgb": {
    "r": 41,
    "g": 26,
    "b": 134
  },
  "hsl": {
    "h": 248.333,
    "s": 67.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.32615,
    "c": 0.16671,
    "h": 278.1
  },
  "luminance": 0.02931
}

Semantic roles & 50–950 ramp

primary
#291A86
secondary
#A9B942
accent
#EA3DD2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #291A86

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

Preview Lab → · Contrast checker → · Palette generator →

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