#291D84#291D84

#291D84 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.8% C 0.161 H 277.9°. Best body text is #FFFFFF at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#291D84
RGBrgb(41, 29, 132)
HSLhsl(247, 64%, 32%)
HSVhsv(247, 78%, 52%)
CMYKcmyk(68.9%, 78%, 0%, 48.2%)
CIE-LABlab(20.11, 37.97, -55.31)
CIE-LCHlch(20.11, 67.09, 304.47°)
OKLaboklab(32.79% 0.0222 -0.1598)
OKLCHoklch(32.79% 0.161 277.9)
XYZxyz(5.5173, 3.0156, 22.1166)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291D84 #78841D
analogous
#1D4584 #291D84 #5D1D84
triadic
#291D84 #84291D #1D8429
tetradic
#291D84 #841D45 #78841D #1D845D
square
#291D84 #841D45 #78841D #1D845D
split-complementary
#291D84 #845D1D #45841D
monochromatic
#0A0720 #191252 #291D84 #3928B6 #5645D6

Accessibility & contrast

On white

13.10
#291D84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#291D84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291D84
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291D84#FFFFFF#000000##FFFFFF
##291D841.0013.101.6013.10
#FFFFFF13.101.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003587
Deuteranopia (green-blind)
#002C82
Tritanopia (blue-blind)
#003B4F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #291d84;
/* rgb */ color: rgb(41, 29, 132);
/* oklch */ color: oklch(32.8% 0.161 277.9);
Tailwind
colors: {
  custom: {
    50: '#715ba9',
    500: '#291d84',
    950: '#000000',
  },
}
SCSS
$custom: #291d84;
$custom-light: #715ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#291d84",
  "rgb": {
    "r": 41,
    "g": 29,
    "b": 132
  },
  "hsl": {
    "h": 246.99,
    "s": 63.975,
    "l": 31.569
  },
  "oklch": {
    "l": 0.32788,
    "c": 0.16133,
    "h": 277.9
  },
  "luminance": 0.03016
}

Semantic roles & 50–950 ramp

primary
#291D84
secondary
#AAB746
accent
#E741D4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #291D84

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

Preview Lab → · Contrast checker → · Palette generator →

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