#291D8A#291D8A

#291D8A is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.5% C 0.169 H 277.0°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#291D8A
RGBrgb(41, 29, 138)
HSLhsl(247, 65%, 33%)
HSVhsv(247, 79%, 54%)
CMYKcmyk(70.3%, 79%, 0%, 45.9%)
CIE-LABlab(20.77, 39.93, -57.99)
CIE-LCHlch(20.77, 70.41, 304.55°)
OKLaboklab(33.45% 0.0207 -0.1676)
OKLCHoklch(33.45% 0.169 277)
XYZxyz(5.9398, 3.1846, 24.3415)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291D8A #7E8A1D
analogous
#1D478A #291D8A #601D8A
triadic
#291D8A #8A291D #1D8A29
tetradic
#291D8A #8A1D47 #7E8A1D #1D8A60
square
#291D8A #8A1D47 #7E8A1D #1D8A60
split-complementary
#291D8A #8A601D #478A1D
monochromatic
#0B0825 #1A1257 #291D8A #3828BD #5949D9

Accessibility & contrast

On white

12.83
#291D8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #291D8A
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291D8A#FFFFFF#000000##FFFFFF
##291D8A1.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00368D
Deuteranopia (green-blind)
#002D88
Tritanopia (blue-blind)
#003D53
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #291d8a;
/* rgb */ color: rgb(41, 29, 138);
/* oklch */ color: oklch(33.5% 0.169 277.0);
Tailwind
colors: {
  custom: {
    50: '#725cad',
    500: '#291d8a',
    950: '#000000',
  },
}
SCSS
$custom: #291d8a;
$custom-light: #725cad;
$custom-dark: #000000;
JSON
{
  "hex": "#291d8a",
  "rgb": {
    "r": 41,
    "g": 29,
    "b": 138
  },
  "hsl": {
    "h": 246.606,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.3345,
    "c": 0.16885,
    "h": 277
  },
  "luminance": 0.03185
}

Semantic roles & 50–950 ramp

primary
#291D8A
secondary
#AEBB48
accent
#E840D6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #291D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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