#291CB3#291CB3

#291CB3 is a dark, highly saturated blue. Relative luminance 0.046; OKLCH L 38.1% C 0.218 H 272.7°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#291CB3
RGBrgb(41, 28, 179)
HSLhsl(245, 73%, 41%)
HSVhsv(245, 84%, 70%)
CMYKcmyk(77.1%, 84.4%, 0%, 29.8%)
CIE-LABlab(25.43, 53.17, -75.33)
CIE-LCHlch(25.43, 92.20, 305.22°)
OKLaboklab(38.08% 0.0101 -0.2179)
OKLCHoklch(38.08% 0.218 272.7)
XYZxyz(9.4637, 4.5556, 43.0196)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291CB3 #A6B31C
analogous
#1C5AB3 #291CB3 #751CB3
triadic
#291CB3 #B3291C #1CB329
tetradic
#291CB3 #B31C5A #A6B31C #1CB375
square
#291CB3 #B31C5A #A6B31C #1CB375
split-complementary
#291CB3 #B3751C #5AB31C
monochromatic
#110B49 #1D147E #291CB3 #3D2EDE #6E63E7

Accessibility & contrast

On white

10.99
#291CB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#291CB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291CB3
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291CB3#FFFFFF#000000##FFFFFF
##291CB31.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043B7
Deuteranopia (green-blind)
#0035B1
Tritanopia (blue-blind)
#004E6A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #291cb3;
/* rgb */ color: rgb(41, 28, 179);
/* oklch */ color: oklch(38.1% 0.218 272.7);
Tailwind
colors: {
  custom: {
    50: '#7c5ecb',
    500: '#291cb3',
    950: '#000000',
  },
}
SCSS
$custom: #291cb3;
$custom-light: #7c5ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#291cb3",
  "rgb": {
    "r": 41,
    "g": 28,
    "b": 179
  },
  "hsl": {
    "h": 245.166,
    "s": 72.947,
    "l": 40.588
  },
  "oklch": {
    "l": 0.38084,
    "c": 0.21811,
    "h": 272.7
  },
  "luminance": 0.04557
}

Semantic roles & 50–950 ramp

primary
#291CB3
secondary
#C2CB5F
accent
#F038E0
background
#F8F5FC
surface
#F0E9F9
border
#CBC5D2
text
#0C0514
muted
#7D7982

Preview Lab

Preview with #291CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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