#291C93#291C93

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

Color values

HEX#291C93
RGBrgb(41, 28, 147)
HSLhsl(247, 68%, 34%)
HSVhsv(247, 81%, 58%)
CMYKcmyk(72.1%, 81%, 0%, 42.4%)
CIE-LABlab(21.61, 43.35, -62.20)
CIE-LCHlch(21.61, 75.82, 304.87°)
OKLaboklab(34.34% 0.0188 -0.1798)
OKLCHoklch(34.34% 0.181 276)
XYZxyz(6.5944, 3.4079, 27.9084)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291C93 #86931C
analogous
#1C4A93 #291C93 #651C93
triadic
#291C93 #93291C #1C9329
tetradic
#291C93 #931C4A #86931C #1C9365
square
#291C93 #931C4A #86931C #1C9365
split-complementary
#291C93 #93651C #4A931C
monochromatic
#0C082C #1B1260 #291C93 #3726C6 #5C4CDD

Accessibility & contrast

On white

12.49
#291C93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #291C93
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291C93#FFFFFF#000000##FFFFFF
##291C931.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #291c93;
/* rgb */ color: rgb(41, 28, 147);
/* oklch */ color: oklch(34.3% 0.181 276.0);
Tailwind
colors: {
  custom: {
    50: '#745cb4',
    500: '#291c93',
    950: '#000000',
  },
}
SCSS
$custom: #291c93;
$custom-light: #745cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#291c93",
  "rgb": {
    "r": 41,
    "g": 28,
    "b": 147
  },
  "hsl": {
    "h": 246.555,
    "s": 68,
    "l": 34.314
  },
  "oklch": {
    "l": 0.34337,
    "c": 0.18079,
    "h": 276
  },
  "luminance": 0.03409
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #291C93

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

Preview Lab → · Contrast checker → · Palette generator →

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