#291C91#291C91

#291C91 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 34.1% C 0.178 H 276.2°. Best body text is #FFFFFF at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#291C91
RGBrgb(41, 28, 145)
HSLhsl(247, 68%, 34%)
HSVhsv(247, 81%, 57%)
CMYKcmyk(71.7%, 80.7%, 0%, 43.1%)
CIE-LABlab(21.38, 42.71, -61.34)
CIE-LCHlch(21.38, 74.75, 304.85°)
OKLaboklab(34.11% 0.0194 -0.1773)
OKLCHoklch(34.11% 0.178 276.2)
XYZxyz(6.4389, 3.3457, 27.0890)
Luminance0.0335 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291C91 #84911C
analogous
#1C4A91 #291C91 #641C91
triadic
#291C91 #91291C #1C9129
tetradic
#291C91 #911C4A #84911C #1C9164
square
#291C91 #911C4A #84911C #1C9164
split-complementary
#291C91 #91641C #4A911C
monochromatic
#0C082A #1A125E #291C91 #3826C4 #5B4BDC

Accessibility & contrast

On white

12.58
#291C91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#291C91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291C91
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291C91#FFFFFF#000000##FFFFFF
##291C911.0012.581.6712.58
#FFFFFF12.581.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003894
Deuteranopia (green-blind)
#002E8F
Tritanopia (blue-blind)
#004057
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #291c91;
/* rgb */ color: rgb(41, 28, 145);
/* oklch */ color: oklch(34.1% 0.178 276.2);
Tailwind
colors: {
  custom: {
    50: '#745cb2',
    500: '#291c91',
    950: '#000000',
  },
}
SCSS
$custom: #291c91;
$custom-light: #745cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#291c91",
  "rgb": {
    "r": 41,
    "g": 28,
    "b": 145
  },
  "hsl": {
    "h": 246.667,
    "s": 67.63,
    "l": 33.922
  },
  "oklch": {
    "l": 0.34109,
    "c": 0.17837,
    "h": 276.2
  },
  "luminance": 0.03346
}

Semantic roles & 50–950 ramp

primary
#291C91
secondary
#B2BE4A
accent
#EB3DD7
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #291C91

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

Preview Lab → · Contrast checker → · Palette generator →

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