#291CA9#291CA9

#291CA9 is a dark, highly saturated blue. Relative luminance 0.042; OKLCH L 36.9% C 0.207 H 273.6°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#291CA9
RGBrgb(41, 28, 169)
HSLhsl(246, 72%, 39%)
HSVhsv(246, 83%, 66%)
CMYKcmyk(75.7%, 83.4%, 0%, 33.7%)
CIE-LABlab(24.21, 50.17, -71.34)
CIE-LCHlch(24.21, 87.22, 305.12°)
OKLaboklab(36.9% 0.0128 -0.2063)
OKLCHoklch(36.9% 0.207 273.6)
XYZxyz(8.4888, 4.1656, 37.8851)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291CA9 #9CA91C
analogous
#1C55A9 #291CA9 #6F1CA9
triadic
#291CA9 #A9291C #1CA929
tetradic
#291CA9 #A91C55 #9CA91C #1CA96F
square
#291CA9 #A91C55 #9CA91C #1CA96F
split-complementary
#291CA9 #A96F1C #55A91C
monochromatic
#100B40 #1C1374 #291CA9 #3827DB #685BE4

Accessibility & contrast

On white

11.46
#291CA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#291CA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291CA9
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291CA9#FFFFFF#000000##FFFFFF
##291CA91.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040AD
Deuteranopia (green-blind)
#0033A7
Tritanopia (blue-blind)
#004A64
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #291ca9;
/* rgb */ color: rgb(41, 28, 169);
/* oklch */ color: oklch(36.9% 0.207 273.6);
Tailwind
colors: {
  custom: {
    50: '#7a5dc4',
    500: '#291ca9',
    950: '#000000',
  },
}
SCSS
$custom: #291ca9;
$custom-light: #7a5dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#291ca9",
  "rgb": {
    "r": 41,
    "g": 28,
    "b": 169
  },
  "hsl": {
    "h": 245.532,
    "s": 71.574,
    "l": 38.627
  },
  "oklch": {
    "l": 0.36896,
    "c": 0.20672,
    "h": 273.6
  },
  "luminance": 0.04166
}

Semantic roles & 50–950 ramp

primary
#291CA9
secondary
#BEC859
accent
#EE39DE
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0413
muted
#7C7982

Preview Lab

Preview with #291CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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