#291A81#291A81

#291A81 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.1% C 0.161 H 278.9°. Best body text is #FFFFFF at 13.47:1 contrast (WCAG AA passes).

Color values

HEX#291A81
RGBrgb(41, 26, 129)
HSLhsl(249, 66%, 30%)
HSVhsv(249, 80%, 51%)
CMYKcmyk(68.2%, 79.8%, 0%, 49.4%)
CIE-LABlab(19.20, 38.62, -54.91)
CIE-LCHlch(19.20, 67.13, 305.12°)
OKLaboklab(32.06% 0.0248 -0.1586)
OKLCHoklch(32.06% 0.161 278.9)
XYZxyz(5.2450, 2.7947, 21.0277)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291A81 #72811A
analogous
#1A3E81 #291A81 #5C1A81
triadic
#291A81 #81291A #1A8129
tetradic
#291A81 #811A3E #72811A #1A815C
square
#291A81 #811A3E #72811A #1A815C
split-complementary
#291A81 #815C1A #3E811A
monochromatic
#09051B #19104E #291A81 #3924B4 #543DD8

Accessibility & contrast

On white

13.47
#291A81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#291A81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291A81
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291A81#FFFFFF#000000##FFFFFF
##291A811.0013.471.5613.47
#FFFFFF13.471.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003284
Deuteranopia (green-blind)
#002A7F
Tritanopia (blue-blind)
#00394D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #291a81;
/* rgb */ color: rgb(41, 26, 129);
/* oklch */ color: oklch(32.1% 0.161 278.9);
Tailwind
colors: {
  custom: {
    50: '#7059a7',
    500: '#291a81',
    950: '#000000',
  },
}
SCSS
$custom: #291a81;
$custom-light: #7059a7;
$custom-dark: #000000;
JSON
{
  "hex": "#291a81",
  "rgb": {
    "r": 41,
    "g": 26,
    "b": 129
  },
  "hsl": {
    "h": 248.738,
    "s": 66.452,
    "l": 30.392
  },
  "oklch": {
    "l": 0.32055,
    "c": 0.16051,
    "h": 278.9
  },
  "luminance": 0.02795
}

Semantic roles & 50–950 ramp

primary
#291A81
secondary
#A4B542
accent
#E93ED0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #291A81

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

Preview Lab → · Contrast checker → · Palette generator →

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