#291CA1#291CA1

#291CA1 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 36.0% C 0.197 H 274.4°. Best body text is #FFFFFF at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#291CA1
RGBrgb(41, 28, 161)
HSLhsl(246, 70%, 37%)
HSVhsv(246, 83%, 63%)
CMYKcmyk(74.5%, 82.6%, 0%, 36.9%)
CIE-LABlab(23.25, 47.73, -68.08)
CIE-LCHlch(23.25, 83.14, 305.03°)
OKLaboklab(35.96% 0.015 -0.1969)
OKLCHoklch(35.96% 0.197 274.4)
XYZxyz(7.7606, 3.8743, 34.0501)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291CA1 #94A11C
analogous
#1C51A1 #291CA1 #6C1CA1
triadic
#291CA1 #A1291C #1CA129
tetradic
#291CA1 #A11C51 #94A11C #1CA16C
square
#291CA1 #A11C51 #94A11C #1CA16C
split-complementary
#291CA1 #A16C1C #51A11C
monochromatic
#0E0A39 #1C136D #291CA1 #3625D5 #6356E2

Accessibility & contrast

On white

11.83
#291CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#291CA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291CA1
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291CA1#FFFFFF#000000##FFFFFF
##291CA11.0011.831.7811.83
#FFFFFF11.831.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA5
Deuteranopia (green-blind)
#00319F
Tritanopia (blue-blind)
#004660
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #291ca1;
/* rgb */ color: rgb(41, 28, 161);
/* oklch */ color: oklch(36.0% 0.197 274.4);
Tailwind
colors: {
  custom: {
    50: '#785dbe',
    500: '#291ca1',
    950: '#000000',
  },
}
SCSS
$custom: #291ca1;
$custom-light: #785dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#291ca1",
  "rgb": {
    "r": 41,
    "g": 28,
    "b": 161
  },
  "hsl": {
    "h": 245.865,
    "s": 70.37,
    "l": 37.059
  },
  "oklch": {
    "l": 0.35956,
    "c": 0.19744,
    "h": 274.4
  },
  "luminance": 0.03875
}

Semantic roles & 50–950 ramp

primary
#291CA1
secondary
#BAC554
accent
#ED3BDC
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #291CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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