#291D82#291D82

#291D82 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.6% C 0.159 H 278.2°. Best body text is #FFFFFF at 13.19:1 contrast (WCAG AA passes).

Color values

HEX#291D82
RGBrgb(41, 29, 130)
HSLhsl(247, 64%, 31%)
HSVhsv(247, 78%, 51%)
CMYKcmyk(68.5%, 77.7%, 0%, 49%)
CIE-LABlab(19.89, 37.31, -54.41)
CIE-LCHlch(19.89, 65.97, 304.44°)
OKLaboklab(32.57% 0.0227 -0.1572)
OKLCHoklch(32.57% 0.159 278.2)
XYZxyz(5.3818, 2.9614, 21.4028)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291D82 #76821D
analogous
#1D4382 #291D82 #5B1D82
triadic
#291D82 #82291D #1D8229
tetradic
#291D82 #821D43 #76821D #1D825B
square
#291D82 #821D43 #76821D #1D825B
split-complementary
#291D82 #825B1D #43821D
monochromatic
#09071E #191250 #291D82 #3928B4 #5544D5

Accessibility & contrast

On white

13.19
#291D82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #291D82
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291D82#FFFFFF#000000##FFFFFF
##291D821.0013.191.5913.19
#FFFFFF13.191.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #291d82;
/* rgb */ color: rgb(41, 29, 130);
/* oklch */ color: oklch(32.6% 0.159 278.2);
Tailwind
colors: {
  custom: {
    50: '#705ba7',
    500: '#291d82',
    950: '#000000',
  },
}
SCSS
$custom: #291d82;
$custom-light: #705ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#291d82",
  "rgb": {
    "r": 41,
    "g": 29,
    "b": 130
  },
  "hsl": {
    "h": 247.129,
    "s": 63.522,
    "l": 31.176
  },
  "oklch": {
    "l": 0.3257,
    "c": 0.15879,
    "h": 278.2
  },
  "luminance": 0.02962
}

Semantic roles & 50–950 ramp

primary
#291D82
secondary
#A8B546
accent
#E741D3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #291D82

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

Preview Lab → · Contrast checker → · Palette generator →

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