#291C9A#291C9A

#291C9A is a dark, vivid blue. Relative luminance 0.036; OKLCH L 35.1% C 0.189 H 275.1°. Best body text is #FFFFFF at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#291C9A
RGBrgb(41, 28, 154)
HSLhsl(246, 69%, 36%)
HSVhsv(246, 82%, 60%)
CMYKcmyk(73.4%, 81.8%, 0%, 39.6%)
CIE-LABlab(22.42, 45.55, -65.17)
CIE-LCHlch(22.42, 79.51, 304.95°)
OKLaboklab(35.14% 0.0169 -0.1884)
OKLCHoklch(35.14% 0.189 275.1)
XYZxyz(7.1605, 3.6343, 30.8897)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291C9A #8D9A1C
analogous
#1C4E9A #291C9A #681C9A
triadic
#291C9A #9A291C #1C9A29
tetradic
#291C9A #9A1C4E #8D9A1C #1C9A68
square
#291C9A #9A1C4E #8D9A1C #1C9A68
split-complementary
#291C9A #9A681C #4E9A1C
monochromatic
#0D0932 #1B1366 #291C9A #3725CE #6051DF

Accessibility & contrast

On white

12.16
#291C9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#291C9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291C9A
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291C9A#FFFFFF#000000##FFFFFF
##291C9A1.0012.161.7312.16
#FFFFFF12.161.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B9D
Deuteranopia (green-blind)
#003098
Tritanopia (blue-blind)
#00435C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #291c9a;
/* rgb */ color: rgb(41, 28, 154);
/* oklch */ color: oklch(35.1% 0.189 275.1);
Tailwind
colors: {
  custom: {
    50: '#765cb9',
    500: '#291c9a',
    950: '#000000',
  },
}
SCSS
$custom: #291c9a;
$custom-light: #765cb9;
$custom-dark: #000000;
JSON
{
  "hex": "#291c9a",
  "rgb": {
    "r": 41,
    "g": 28,
    "b": 154
  },
  "hsl": {
    "h": 246.19,
    "s": 69.231,
    "l": 35.686
  },
  "oklch": {
    "l": 0.35142,
    "c": 0.18919,
    "h": 275.1
  },
  "luminance": 0.03635
}

Semantic roles & 50–950 ramp

primary
#291C9A
secondary
#B6C250
accent
#EC3CDA
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #291C9A

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

Preview Lab → · Contrast checker → · Palette generator →

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