#291B99#291B99

#291B99 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.9% C 0.189 H 275.3°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#291B99
RGBrgb(41, 27, 153)
HSLhsl(247, 70%, 35%)
HSVhsv(247, 82%, 60%)
CMYKcmyk(73.2%, 82.4%, 0%, 40%)
CIE-LABlab(22.14, 45.73, -65.02)
CIE-LCHlch(22.14, 79.49, 305.12°)
OKLaboklab(34.91% 0.0176 -0.188)
OKLCHoklch(34.91% 0.189 275.3)
XYZxyz(7.0543, 3.5545, 30.4451)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291B99 #8B991B
analogous
#1B4C99 #291B99 #681B99
triadic
#291B99 #99291B #1B9929
tetradic
#291B99 #991B4C #8B991B #1B9968
square
#291B99 #991B4C #8B991B #1B9968
split-complementary
#291B99 #99681B #4C991B
monochromatic
#0D0931 #1B1265 #291B99 #3724CD #5F4FE0

Accessibility & contrast

On white

12.27
#291B99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#291B99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291B99
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291B99#FFFFFF#000000##FFFFFF
##291B991.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A9C
Deuteranopia (green-blind)
#002F97
Tritanopia (blue-blind)
#00435B
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #291b99;
/* rgb */ color: rgb(41, 27, 153);
/* oklch */ color: oklch(34.9% 0.189 275.3);
Tailwind
colors: {
  custom: {
    50: '#765cb8',
    500: '#291b99',
    950: '#000000',
  },
}
SCSS
$custom: #291b99;
$custom-light: #765cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#291b99",
  "rgb": {
    "r": 41,
    "g": 27,
    "b": 153
  },
  "hsl": {
    "h": 246.667,
    "s": 70,
    "l": 35.294
  },
  "oklch": {
    "l": 0.34911,
    "c": 0.18881,
    "h": 275.3
  },
  "luminance": 0.03555
}

Semantic roles & 50–950 ramp

primary
#291B99
secondary
#B5C24E
accent
#ED3BD9
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #291B99

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

Preview Lab → · Contrast checker → · Palette generator →

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