#291C92#291C92

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

Color values

HEX#291C92
RGBrgb(41, 28, 146)
HSLhsl(247, 68%, 34%)
HSVhsv(247, 81%, 57%)
CMYKcmyk(71.9%, 80.8%, 0%, 42.7%)
CIE-LABlab(21.49, 43.03, -61.77)
CIE-LCHlch(21.49, 75.28, 304.86°)
OKLaboklab(34.22% 0.0191 -0.1786)
OKLCHoklch(34.22% 0.18 276.1)
XYZxyz(6.5163, 3.3766, 27.4969)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291C92 #85921C
analogous
#1C4A92 #291C92 #641C92
triadic
#291C92 #92291C #1C9229
tetradic
#291C92 #921C4A #85921C #1C9264
square
#291C92 #921C4A #85921C #1C9264
split-complementary
#291C92 #92641C #4A921C
monochromatic
#0C082B #1B125F #291C92 #3726C5 #5C4CDD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##291C92#FFFFFF#000000##FFFFFF
##291C921.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)
#003895
Deuteranopia (green-blind)
#002E90
Tritanopia (blue-blind)
#004057
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #291c92;
/* rgb */ color: rgb(41, 28, 146);
/* oklch */ color: oklch(34.2% 0.180 276.1);
Tailwind
colors: {
  custom: {
    50: '#745cb3',
    500: '#291c92',
    950: '#000000',
  },
}
SCSS
$custom: #291c92;
$custom-light: #745cb3;
$custom-dark: #000000;
JSON
{
  "hex": "#291c92",
  "rgb": {
    "r": 41,
    "g": 28,
    "b": 146
  },
  "hsl": {
    "h": 246.61,
    "s": 67.816,
    "l": 34.118
  },
  "oklch": {
    "l": 0.34223,
    "c": 0.17959,
    "h": 276.1
  },
  "luminance": 0.03377
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #291C92

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

Preview Lab → · Contrast checker → · Palette generator →

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