#291C9B#291C9B

#291C9B is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.3% C 0.190 H 275.0°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#291C9B
RGBrgb(41, 28, 155)
HSLhsl(246, 69%, 36%)
HSVhsv(246, 82%, 61%)
CMYKcmyk(73.5%, 81.9%, 0%, 39.2%)
CIE-LABlab(22.54, 45.87, -65.59)
CIE-LCHlch(22.54, 80.03, 304.97°)
OKLaboklab(35.26% 0.0166 -0.1896)
OKLCHoklch(35.26% 0.19 275)
XYZxyz(7.2441, 3.6678, 31.3302)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291C9B #8E9B1C
analogous
#1C4E9B #291C9B #681C9B
triadic
#291C9B #9B291C #1C9B29
tetradic
#291C9B #9B1C4E #8E9B1C #1C9B68
square
#291C9B #9B1C4E #8E9B1C #1C9B68
split-complementary
#291C9B #9B681C #4E9B1C
monochromatic
#0E0933 #1B1367 #291C9B #3725CF #6052E0

Accessibility & contrast

On white

12.11
#291C9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #291C9B
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291C9B#FFFFFF#000000##FFFFFF
##291C9B1.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B9E
Deuteranopia (green-blind)
#003099
Tritanopia (blue-blind)
#00445C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #291c9b;
/* rgb */ color: rgb(41, 28, 155);
/* oklch */ color: oklch(35.3% 0.190 275.0);
Tailwind
colors: {
  custom: {
    50: '#765cba',
    500: '#291c9b',
    950: '#000000',
  },
}
SCSS
$custom: #291c9b;
$custom-light: #765cba;
$custom-dark: #000000;
JSON
{
  "hex": "#291c9b",
  "rgb": {
    "r": 41,
    "g": 28,
    "b": 155
  },
  "hsl": {
    "h": 246.142,
    "s": 69.399,
    "l": 35.882
  },
  "oklch": {
    "l": 0.35258,
    "c": 0.19037,
    "h": 275
  },
  "luminance": 0.03668
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #291C9B

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

Preview Lab → · Contrast checker → · Palette generator →

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