#291C85#291C85

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

Color values

HEX#291C85
RGBrgb(41, 28, 133)
HSLhsl(247, 65%, 32%)
HSVhsv(247, 79%, 52%)
CMYKcmyk(69.2%, 78.9%, 0%, 47.8%)
CIE-LABlab(20.02, 38.85, -56.08)
CIE-LCHlch(20.02, 68.22, 304.71°)
OKLaboklab(32.76% 0.0226 -0.162)
OKLCHoklch(32.76% 0.164 277.9)
XYZxyz(5.5620, 2.9949, 22.4707)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291C85 #78851C
analogous
#1C4485 #291C85 #5E1C85
triadic
#291C85 #85291C #1C8529
tetradic
#291C85 #851C44 #78851C #1C855E
square
#291C85 #851C44 #78851C #1C855E
split-complementary
#291C85 #855E1C #44851C
monochromatic
#0A0720 #191152 #291C85 #3927B8 #5644D8

Accessibility & contrast

On white

13.13
#291C85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #291C85
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291C85#FFFFFF#000000##FFFFFF
##291C851.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003488
Deuteranopia (green-blind)
#002C83
Tritanopia (blue-blind)
#003B50
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #291c85;
/* rgb */ color: rgb(41, 28, 133);
/* oklch */ color: oklch(32.8% 0.164 277.9);
Tailwind
colors: {
  custom: {
    50: '#715baa',
    500: '#291c85',
    950: '#000000',
  },
}
SCSS
$custom: #291c85;
$custom-light: #715baa;
$custom-dark: #000000;
JSON
{
  "hex": "#291c85",
  "rgb": {
    "r": 41,
    "g": 28,
    "b": 133
  },
  "hsl": {
    "h": 247.429,
    "s": 65.217,
    "l": 31.569
  },
  "oklch": {
    "l": 0.32762,
    "c": 0.16357,
    "h": 277.9
  },
  "luminance": 0.02995
}

Semantic roles & 50–950 ramp

primary
#291C85
secondary
#AAB845
accent
#E840D3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #291C85

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

Preview Lab → · Contrast checker → · Palette generator →

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