#291C95#291C95

#291C95 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.6% C 0.183 H 275.7°. Best body text is #FFFFFF at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#291C95
RGBrgb(41, 28, 149)
HSLhsl(246, 68%, 35%)
HSVhsv(246, 81%, 58%)
CMYKcmyk(72.5%, 81.2%, 0%, 41.6%)
CIE-LABlab(21.84, 43.98, -63.06)
CIE-LCHlch(21.84, 76.88, 304.90°)
OKLaboklab(34.57% 0.0183 -0.1823)
OKLCHoklch(34.57% 0.183 275.7)
XYZxyz(6.7527, 3.4712, 28.7421)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291C95 #88951C
analogous
#1C4C95 #291C95 #651C95
triadic
#291C95 #95291C #1C9529
tetradic
#291C95 #951C4C #88951C #1C9565
square
#291C95 #951C4C #88951C #1C9565
split-complementary
#291C95 #95651C #4C951C
monochromatic
#0D092E #1B1261 #291C95 #3726C9 #5D4EDE

Accessibility & contrast

On white

12.39
#291C95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#291C95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291C95
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291C95#FFFFFF#000000##FFFFFF
##291C951.0012.391.6912.39
#FFFFFF12.391.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003998
Deuteranopia (green-blind)
#002F93
Tritanopia (blue-blind)
#004159
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #291c95;
/* rgb */ color: rgb(41, 28, 149);
/* oklch */ color: oklch(34.6% 0.183 275.7);
Tailwind
colors: {
  custom: {
    50: '#755cb5',
    500: '#291c95',
    950: '#000000',
  },
}
SCSS
$custom: #291c95;
$custom-light: #755cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#291c95",
  "rgb": {
    "r": 41,
    "g": 28,
    "b": 149
  },
  "hsl": {
    "h": 246.446,
    "s": 68.362,
    "l": 34.706
  },
  "oklch": {
    "l": 0.34566,
    "c": 0.1832,
    "h": 275.7
  },
  "luminance": 0.03472
}

Semantic roles & 50–950 ramp

primary
#291C95
secondary
#B4C04D
accent
#EB3DD8
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #291C95

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

Preview Lab → · Contrast checker → · Palette generator →

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