#291D8D#291D8D

#291D8D is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.8% C 0.173 H 276.6°. Best body text is #FFFFFF at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#291D8D
RGBrgb(41, 29, 141)
HSLhsl(246, 66%, 33%)
HSVhsv(246, 79%, 55%)
CMYKcmyk(70.9%, 79.4%, 0%, 44.7%)
CIE-LABlab(21.10, 40.91, -59.31)
CIE-LCHlch(21.10, 72.05, 304.60°)
OKLaboklab(33.78% 0.0199 -0.1714)
OKLCHoklch(33.78% 0.173 276.6)
XYZxyz(6.1600, 3.2727, 25.5012)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291D8D #818D1D
analogous
#1D498D #291D8D #611D8D
triadic
#291D8D #8D291D #1D8D29
tetradic
#291D8D #8D1D49 #818D1D #1D8D61
square
#291D8D #8D1D49 #818D1D #1D8D61
split-complementary
#291D8D #8D611D #498D1D
monochromatic
#0B0827 #1A135A #291D8D #3827C0 #5A4BDA

Accessibility & contrast

On white

12.69
#291D8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#291D8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291D8D
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291D8D#FFFFFF#000000##FFFFFF
##291D8D1.0012.691.6512.69
#FFFFFF12.691.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003790
Deuteranopia (green-blind)
#002E8B
Tritanopia (blue-blind)
#003F54
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #291d8d;
/* rgb */ color: rgb(41, 29, 141);
/* oklch */ color: oklch(33.8% 0.173 276.6);
Tailwind
colors: {
  custom: {
    50: '#735cb0',
    500: '#291d8d',
    950: '#000000',
  },
}
SCSS
$custom: #291d8d;
$custom-light: #735cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#291d8d",
  "rgb": {
    "r": 41,
    "g": 29,
    "b": 141
  },
  "hsl": {
    "h": 246.429,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.33784,
    "c": 0.17258,
    "h": 276.6
  },
  "luminance": 0.03273
}

Semantic roles & 50–950 ramp

primary
#291D8D
secondary
#B0BC4A
accent
#E93FD7
background
#F7F5FA
surface
#EEE9F5
border
#C9C5CF
text
#090411
muted
#7B7980

Preview Lab

Preview with #291D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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