#291D8B#291D8B

#291D8B is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.6% C 0.170 H 276.9°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#291D8B
RGBrgb(41, 29, 139)
HSLhsl(247, 65%, 33%)
HSVhsv(247, 79%, 55%)
CMYKcmyk(70.5%, 79.1%, 0%, 45.5%)
CIE-LABlab(20.88, 40.26, -58.43)
CIE-LCHlch(20.88, 70.96, 304.57°)
OKLaboklab(33.56% 0.0205 -0.1689)
OKLCHoklch(33.56% 0.17 276.9)
XYZxyz(6.0125, 3.2137, 24.7245)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291D8B #7F8B1D
analogous
#1D488B #291D8B #601D8B
triadic
#291D8B #8B291D #1D8B29
tetradic
#291D8B #8B1D48 #7F8B1D #1D8B60
square
#291D8B #8B1D48 #7F8B1D #1D8B60
split-complementary
#291D8B #8B601D #488B1D
monochromatic
#0B0826 #1A1258 #291D8B #3828BE #5949D9

Accessibility & contrast

On white

12.78
#291D8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#291D8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291D8B
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291D8B#FFFFFF#000000##FFFFFF
##291D8B1.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00378E
Deuteranopia (green-blind)
#002D89
Tritanopia (blue-blind)
#003E53
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #291d8b;
/* rgb */ color: rgb(41, 29, 139);
/* oklch */ color: oklch(33.6% 0.170 276.9);
Tailwind
colors: {
  custom: {
    50: '#725cae',
    500: '#291d8b',
    950: '#000000',
  },
}
SCSS
$custom: #291d8b;
$custom-light: #725cae;
$custom-dark: #000000;
JSON
{
  "hex": "#291d8b",
  "rgb": {
    "r": 41,
    "g": 29,
    "b": 139
  },
  "hsl": {
    "h": 246.545,
    "s": 65.476,
    "l": 32.941
  },
  "oklch": {
    "l": 0.33561,
    "c": 0.1701,
    "h": 276.9
  },
  "luminance": 0.03214
}

Semantic roles & 50–950 ramp

primary
#291D8B
secondary
#AFBB49
accent
#E83FD6
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090410
muted
#7B797F

Preview Lab

Preview with #291D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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