#291B93#291B93

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

Color values

HEX#291B93
RGBrgb(41, 27, 147)
HSLhsl(247, 69%, 34%)
HSVhsv(247, 82%, 58%)
CMYKcmyk(72.1%, 81.6%, 0%, 42.4%)
CIE-LABlab(21.44, 43.85, -62.49)
CIE-LCHlch(21.44, 76.34, 305.06°)
OKLaboklab(34.22% 0.0193 -0.1806)
OKLCHoklch(34.22% 0.182 276.1)
XYZxyz(6.5711, 3.3612, 27.9006)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291B93 #85931B
analogous
#1B4993 #291B93 #651B93
triadic
#291B93 #93291B #1B9329
tetradic
#291B93 #931B49 #85931B #1B9365
square
#291B93 #931B49 #85931B #1B9365
split-complementary
#291B93 #93651B #49931B
monochromatic
#0C082C #1B125F #291B93 #3724C7 #5C4BDE

Accessibility & contrast

On white

12.56
#291B93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #291B93
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291B93#FFFFFF#000000##FFFFFF
##291B931.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #291b93;
/* rgb */ color: rgb(41, 27, 147);
/* oklch */ color: oklch(34.2% 0.182 276.1);
Tailwind
colors: {
  custom: {
    50: '#745bb4',
    500: '#291b93',
    950: '#000000',
  },
}
SCSS
$custom: #291b93;
$custom-light: #745bb4;
$custom-dark: #000000;
JSON
{
  "hex": "#291b93",
  "rgb": {
    "r": 41,
    "g": 27,
    "b": 147
  },
  "hsl": {
    "h": 247,
    "s": 68.966,
    "l": 34.118
  },
  "oklch": {
    "l": 0.34218,
    "c": 0.18165,
    "h": 276.1
  },
  "luminance": 0.03362
}

Semantic roles & 50–950 ramp

primary
#291B93
secondary
#B2C04A
accent
#EC3CD7
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #291B93

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

Preview Lab → · Contrast checker → · Palette generator →

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