#291986#291986

#291986 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.5% C 0.168 H 278.2°. Best body text is #FFFFFF at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#291986
RGBrgb(41, 25, 134)
HSLhsl(249, 69%, 31%)
HSVhsv(249, 81%, 53%)
CMYKcmyk(69.4%, 81.3%, 0%, 47.5%)
CIE-LABlab(19.59, 40.75, -57.43)
CIE-LCHlch(19.59, 70.42, 305.36°)
OKLaboklab(32.49% 0.0239 -0.1659)
OKLCHoklch(32.49% 0.168 278.2)
XYZxyz(5.5638, 2.8874, 22.8138)
Luminance0.0289 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291986 #768619
analogous
#193F86 #291986 #5F1986
triadic
#291986 #862919 #198629
tetradic
#291986 #86193F #768619 #19865F
square
#291986 #86193F #768619 #19865F
split-complementary
#291986 #865F19 #3F8619
monochromatic
#09061F #190F52 #291986 #3923BA #553EDB

Accessibility & contrast

On white

13.31
#291986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#291986 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291986
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291986#FFFFFF#000000##FFFFFF
##2919861.0013.311.5813.31
#FFFFFF13.311.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003489
Deuteranopia (green-blind)
#002B84
Tritanopia (blue-blind)
#003A50
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #291986;
/* rgb */ color: rgb(41, 25, 134);
/* oklch */ color: oklch(32.5% 0.168 278.2);
Tailwind
colors: {
  custom: {
    50: '#7259aa',
    500: '#291986',
    950: '#000000',
  },
}
SCSS
$custom: #291986;
$custom-light: #7259aa;
$custom-dark: #000000;
JSON
{
  "hex": "#291986",
  "rgb": {
    "r": 41,
    "g": 25,
    "b": 134
  },
  "hsl": {
    "h": 248.807,
    "s": 68.553,
    "l": 31.176
  },
  "oklch": {
    "l": 0.32491,
    "c": 0.16761,
    "h": 278.2
  },
  "luminance": 0.02888
}

Semantic roles & 50–950 ramp

primary
#291986
secondary
#A8BA41
accent
#EB3CD2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #291986

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

Preview Lab → · Contrast checker → · Palette generator →

#291986 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva