#291C8F#291C8F

#291C8F is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.9% C 0.176 H 276.5°. Best body text is #FFFFFF at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#291C8F
RGBrgb(41, 28, 143)
HSLhsl(247, 67%, 34%)
HSVhsv(247, 80%, 56%)
CMYKcmyk(71.3%, 80.4%, 0%, 43.9%)
CIE-LABlab(21.15, 42.08, -60.48)
CIE-LCHlch(21.15, 73.68, 304.83°)
OKLaboklab(33.88% 0.0199 -0.1748)
OKLCHoklch(33.88% 0.176 276.5)
XYZxyz(6.2860, 3.2845, 26.2840)
Luminance0.0328 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291C8F #828F1C
analogous
#1C488F #291C8F #621C8F
triadic
#291C8F #8F291C #1C8F29
tetradic
#291C8F #8F1C48 #828F1C #1C8F62
square
#291C8F #8F1C48 #828F1C #1C8F62
split-complementary
#291C8F #8F621C #488F1C
monochromatic
#0C0829 #1A125C #291C8F #3826C2 #5A4ADC

Accessibility & contrast

On white

12.67
#291C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#291C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291C8F
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291C8F#FFFFFF#000000##FFFFFF
##291C8F1.0012.671.6612.67
#FFFFFF12.671.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003892
Deuteranopia (green-blind)
#002E8D
Tritanopia (blue-blind)
#003F55
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #291c8f;
/* rgb */ color: rgb(41, 28, 143);
/* oklch */ color: oklch(33.9% 0.176 276.5);
Tailwind
colors: {
  custom: {
    50: '#735bb1',
    500: '#291c8f',
    950: '#000000',
  },
}
SCSS
$custom: #291c8f;
$custom-light: #735bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#291c8f",
  "rgb": {
    "r": 41,
    "g": 28,
    "b": 143
  },
  "hsl": {
    "h": 246.783,
    "s": 67.251,
    "l": 33.529
  },
  "oklch": {
    "l": 0.33882,
    "c": 0.17594,
    "h": 276.5
  },
  "luminance": 0.03285
}

Semantic roles & 50–950 ramp

primary
#291C8F
secondary
#B0BE49
accent
#EA3ED7
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #291C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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