#291C81#291C81

#291C81 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.3% C 0.159 H 278.6°. Best body text is #FFFFFF at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#291C81
RGBrgb(41, 28, 129)
HSLhsl(248, 64%, 31%)
HSVhsv(248, 78%, 51%)
CMYKcmyk(68.2%, 78.3%, 0%, 49.4%)
CIE-LABlab(19.58, 37.54, -54.28)
CIE-LCHlch(19.58, 66.00, 304.66°)
OKLaboklab(32.32% 0.0236 -0.1568)
OKLCHoklch(32.32% 0.159 278.6)
XYZxyz(5.2909, 2.8865, 21.0429)
Luminance0.0289 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291C81 #74811C
analogous
#1C4181 #291C81 #5B1C81
triadic
#291C81 #81291C #1C8129
tetradic
#291C81 #811C41 #74811C #1C815B
square
#291C81 #811C41 #74811C #1C815B
split-complementary
#291C81 #815B1C #41811C
monochromatic
#09061C #19114F #291C81 #3927B3 #5542D6

Accessibility & contrast

On white

13.31
#291C81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#291C81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##291C81#FFFFFF#000000##FFFFFF
##291C811.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)
#003384
Deuteranopia (green-blind)
#002B7F
Tritanopia (blue-blind)
#00394D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #291c81;
/* rgb */ color: rgb(41, 28, 129);
/* oklch */ color: oklch(32.3% 0.159 278.6);
Tailwind
colors: {
  custom: {
    50: '#705ba7',
    500: '#291c81',
    950: '#000000',
  },
}
SCSS
$custom: #291c81;
$custom-light: #705ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#291c81",
  "rgb": {
    "r": 41,
    "g": 28,
    "b": 129
  },
  "hsl": {
    "h": 247.723,
    "s": 64.331,
    "l": 30.784
  },
  "oklch": {
    "l": 0.32322,
    "c": 0.15854,
    "h": 278.6
  },
  "luminance": 0.02887
}

Semantic roles & 50–950 ramp

primary
#291C81
secondary
#A6B444
accent
#E740D2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #291C81

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

Preview Lab → · Contrast checker → · Palette generator →

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