#291A82#291A82

#291A82 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.2% C 0.162 H 278.7°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#291A82
RGBrgb(41, 26, 130)
HSLhsl(249, 67%, 31%)
HSVhsv(249, 80%, 51%)
CMYKcmyk(68.5%, 80%, 0%, 49%)
CIE-LABlab(19.31, 38.95, -55.36)
CIE-LCHlch(19.31, 67.69, 305.13°)
OKLaboklab(32.17% 0.0245 -0.1599)
OKLCHoklch(32.17% 0.162 278.7)
XYZxyz(5.3118, 2.8215, 21.3794)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291A82 #73821A
analogous
#1A3F82 #291A82 #5D1A82
triadic
#291A82 #82291A #1A8229
tetradic
#291A82 #821A3F #73821A #1A825D
square
#291A82 #821A3F #73821A #1A825D
split-complementary
#291A82 #825D1A #3F821A
monochromatic
#09061C #19104F #291A82 #3924B5 #543ED8

Accessibility & contrast

On white

13.42
#291A82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #291A82
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291A82#FFFFFF#000000##FFFFFF
##291A821.0013.421.5613.42
#FFFFFF13.421.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #291a82;
/* rgb */ color: rgb(41, 26, 130);
/* oklch */ color: oklch(32.2% 0.162 278.7);
Tailwind
colors: {
  custom: {
    50: '#7159a7',
    500: '#291a82',
    950: '#000000',
  },
}
SCSS
$custom: #291a82;
$custom-light: #7159a7;
$custom-dark: #000000;
JSON
{
  "hex": "#291a82",
  "rgb": {
    "r": 41,
    "g": 26,
    "b": 130
  },
  "hsl": {
    "h": 248.654,
    "s": 66.667,
    "l": 30.588
  },
  "oklch": {
    "l": 0.32166,
    "c": 0.16175,
    "h": 278.7
  },
  "luminance": 0.02822
}

Semantic roles & 50–950 ramp

primary
#291A82
secondary
#A5B642
accent
#EA3ED1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #291A82

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

Preview Lab → · Contrast checker → · Palette generator →

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