#291CA7#291CA7

#291CA7 is a dark, highly saturated blue. Relative luminance 0.041; OKLCH L 36.7% C 0.204 H 273.7°. Best body text is #FFFFFF at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#291CA7
RGBrgb(41, 28, 167)
HSLhsl(246, 71%, 38%)
HSVhsv(246, 83%, 65%)
CMYKcmyk(75.4%, 83.2%, 0%, 34.5%)
CIE-LABlab(23.97, 49.56, -70.53)
CIE-LCHlch(23.97, 86.20, 305.10°)
OKLaboklab(36.66% 0.0134 -0.204)
OKLCHoklch(36.66% 0.204 273.7)
XYZxyz(8.3024, 4.0911, 36.9038)
Luminance0.0409 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291CA7 #9AA71C
analogous
#1C54A7 #291CA7 #6F1CA7
triadic
#291CA7 #A7291C #1CA729
tetradic
#291CA7 #A71C54 #9AA71C #1CA76F
square
#291CA7 #A71C54 #9AA71C #1CA76F
split-complementary
#291CA7 #A76F1C #54A71C
monochromatic
#0F0A3E #1C1373 #291CA7 #3726DB #675AE3

Accessibility & contrast

On white

11.55
#291CA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#291CA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291CA7
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291CA7#FFFFFF#000000##FFFFFF
##291CA71.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FAB
Deuteranopia (green-blind)
#0032A5
Tritanopia (blue-blind)
#004963
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #291ca7;
/* rgb */ color: rgb(41, 28, 167);
/* oklch */ color: oklch(36.7% 0.204 273.7);
Tailwind
colors: {
  custom: {
    50: '#795dc3',
    500: '#291ca7',
    950: '#000000',
  },
}
SCSS
$custom: #291ca7;
$custom-light: #795dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#291ca7",
  "rgb": {
    "r": 41,
    "g": 28,
    "b": 167
  },
  "hsl": {
    "h": 245.612,
    "s": 71.282,
    "l": 38.235
  },
  "oklch": {
    "l": 0.36661,
    "c": 0.20442,
    "h": 273.7
  },
  "luminance": 0.04092
}

Semantic roles & 50–950 ramp

primary
#291CA7
secondary
#BDC758
accent
#EE3ADD
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0413
muted
#7C7982

Preview Lab

Preview with #291CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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