#291A95#291A95

#291A95 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.3% C 0.185 H 275.9°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#291A95
RGBrgb(41, 26, 149)
HSLhsl(247, 70%, 34%)
HSVhsv(247, 83%, 58%)
CMYKcmyk(72.5%, 82.6%, 0%, 41.6%)
CIE-LABlab(21.50, 44.96, -63.61)
CIE-LCHlch(21.50, 77.90, 305.25°)
OKLaboklab(34.33% 0.0191 -0.1839)
OKLCHoklch(34.33% 0.185 275.9)
XYZxyz(6.7069, 3.3795, 28.7268)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291A95 #86951A
analogous
#1A4995 #291A95 #671A95
triadic
#291A95 #95291A #1A9529
tetradic
#291A95 #951A49 #86951A #1A9567
square
#291A95 #951A49 #86951A #1A9567
split-complementary
#291A95 #95671A #49951A
monochromatic
#0C082D #1B1161 #291A95 #3723C9 #5C4ADF

Accessibility & contrast

On white

12.53
#291A95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#291A95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291A95
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291A95#FFFFFF#000000##FFFFFF
##291A951.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #291a95;
/* rgb */ color: rgb(41, 26, 149);
/* oklch */ color: oklch(34.3% 0.185 275.9);
Tailwind
colors: {
  custom: {
    50: '#755bb5',
    500: '#291a95',
    950: '#000000',
  },
}
SCSS
$custom: #291a95;
$custom-light: #755bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#291a95",
  "rgb": {
    "r": 41,
    "g": 26,
    "b": 149
  },
  "hsl": {
    "h": 247.317,
    "s": 70.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.34333,
    "c": 0.18487,
    "h": 275.9
  },
  "luminance": 0.0338
}

Semantic roles & 50–950 ramp

primary
#291A95
secondary
#B3C14A
accent
#ED3BD7
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #291A95

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

Preview Lab → · Contrast checker → · Palette generator →

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