#291A87#291A87

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

Color values

HEX#291A87
RGBrgb(41, 26, 135)
HSLhsl(248, 68%, 32%)
HSVhsv(248, 81%, 53%)
CMYKcmyk(69.6%, 80.7%, 0%, 47.1%)
CIE-LABlab(19.88, 40.55, -57.58)
CIE-LCHlch(19.88, 70.42, 305.16°)
OKLaboklab(32.73% 0.0231 -0.1663)
OKLCHoklch(32.73% 0.168 277.9)
XYZxyz(5.6556, 2.9590, 23.1901)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291A87 #78871A
analogous
#1A4287 #291A87 #601A87
triadic
#291A87 #87291A #1A8729
tetradic
#291A87 #871A42 #78871A #1A8760
square
#291A87 #871A42 #78871A #1A8760
split-complementary
#291A87 #87601A #42871A
monochromatic
#0A0620 #191054 #291A87 #3924BA #5641DA

Accessibility & contrast

On white

13.19
#291A87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #291A87
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291A87#FFFFFF#000000##FFFFFF
##291A871.0013.191.5913.19
#FFFFFF13.191.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00348A
Deuteranopia (green-blind)
#002B85
Tritanopia (blue-blind)
#003B50
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #291a87;
/* rgb */ color: rgb(41, 26, 135);
/* oklch */ color: oklch(32.7% 0.168 277.9);
Tailwind
colors: {
  custom: {
    50: '#725aab',
    500: '#291a87',
    950: '#000000',
  },
}
SCSS
$custom: #291a87;
$custom-light: #725aab;
$custom-dark: #000000;
JSON
{
  "hex": "#291a87",
  "rgb": {
    "r": 41,
    "g": 26,
    "b": 135
  },
  "hsl": {
    "h": 248.257,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.32728,
    "c": 0.16794,
    "h": 277.9
  },
  "luminance": 0.02959
}

Semantic roles & 50–950 ramp

primary
#291A87
secondary
#AABA42
accent
#EB3DD3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #291A87

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

Preview Lab → · Contrast checker → · Palette generator →

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