#291D81#291D81

#291D81 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.5% C 0.158 H 278.4°. Best body text is #FFFFFF at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#291D81
RGBrgb(41, 29, 129)
HSLhsl(247, 63%, 31%)
HSVhsv(247, 78%, 51%)
CMYKcmyk(68.2%, 77.5%, 0%, 49.4%)
CIE-LABlab(19.78, 36.98, -53.96)
CIE-LCHlch(19.78, 65.41, 304.42°)
OKLaboklab(32.46% 0.023 -0.1558)
OKLCHoklch(32.46% 0.158 278.4)
XYZxyz(5.3150, 2.9347, 21.0510)
Luminance0.0294 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291D81 #75811D
analogous
#1D4381 #291D81 #5B1D81
triadic
#291D81 #81291D #1D8129
tetradic
#291D81 #811D43 #75811D #1D815B
square
#291D81 #811D43 #75811D #1D815B
split-complementary
#291D81 #815B1D #43811D
monochromatic
#09071D #19124F #291D81 #3928B3 #5544D5

Accessibility & contrast

On white

13.23
#291D81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #291D81
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291D81#FFFFFF#000000##FFFFFF
##291D811.0013.231.5913.23
#FFFFFF13.231.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003484
Deuteranopia (green-blind)
#002C7F
Tritanopia (blue-blind)
#003A4E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #291d81;
/* rgb */ color: rgb(41, 29, 129);
/* oklch */ color: oklch(32.5% 0.158 278.4);
Tailwind
colors: {
  custom: {
    50: '#705ba7',
    500: '#291d81',
    950: '#000000',
  },
}
SCSS
$custom: #291d81;
$custom-light: #705ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#291d81",
  "rgb": {
    "r": 41,
    "g": 29,
    "b": 129
  },
  "hsl": {
    "h": 247.2,
    "s": 63.291,
    "l": 30.98
  },
  "oklch": {
    "l": 0.32461,
    "c": 0.15752,
    "h": 278.4
  },
  "luminance": 0.02935
}

Semantic roles & 50–950 ramp

primary
#291D81
secondary
#A7B446
accent
#E641D3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #291D81

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

Preview Lab → · Contrast checker → · Palette generator →

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