#291C82#291C82

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

Color values

HEX#291C82
RGBrgb(41, 28, 130)
HSLhsl(248, 65%, 31%)
HSVhsv(248, 78%, 51%)
CMYKcmyk(68.5%, 78.5%, 0%, 49%)
CIE-LABlab(19.69, 37.86, -54.73)
CIE-LCHlch(19.69, 66.55, 304.67°)
OKLaboklab(32.43% 0.0233 -0.1581)
OKLCHoklch(32.43% 0.16 278.4)
XYZxyz(5.3577, 2.9132, 21.3947)
Luminance0.0291 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291C82 #75821C
analogous
#1C4282 #291C82 #5C1C82
triadic
#291C82 #82291C #1C8229
tetradic
#291C82 #821C42 #75821C #1C825C
square
#291C82 #821C42 #75821C #1C825C
split-complementary
#291C82 #825C1C #42821C
monochromatic
#09061D #191150 #291C82 #3927B4 #5542D6

Accessibility & contrast

On white

13.27
#291C82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #291C82
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291C82#FFFFFF#000000##FFFFFF
##291C821.0013.271.5813.27
#FFFFFF13.271.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #291c82;
/* rgb */ color: rgb(41, 28, 130);
/* oklch */ color: oklch(32.4% 0.160 278.4);
Tailwind
colors: {
  custom: {
    50: '#705ba7',
    500: '#291c82',
    950: '#000000',
  },
}
SCSS
$custom: #291c82;
$custom-light: #705ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#291c82",
  "rgb": {
    "r": 41,
    "g": 28,
    "b": 130
  },
  "hsl": {
    "h": 247.647,
    "s": 64.557,
    "l": 30.98
  },
  "oklch": {
    "l": 0.32432,
    "c": 0.15979,
    "h": 278.4
  },
  "luminance": 0.02914
}

Semantic roles & 50–950 ramp

primary
#291C82
secondary
#A7B544
accent
#E840D2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #291C82

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

Preview Lab → · Contrast checker → · Palette generator →

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