#291B8D#291B8D

#291B8D is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.5% C 0.174 H 276.9°. Best body text is #FFFFFF at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#291B8D
RGBrgb(41, 27, 141)
HSLhsl(247, 68%, 33%)
HSVhsv(247, 81%, 55%)
CMYKcmyk(70.9%, 80.9%, 0%, 44.7%)
CIE-LABlab(20.74, 41.95, -59.91)
CIE-LCHlch(20.74, 73.13, 305.00°)
OKLaboklab(33.53% 0.0209 -0.1731)
OKLCHoklch(33.53% 0.174 276.9)
XYZxyz(6.1125, 3.1778, 25.4854)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291B8D #7F8D1B
analogous
#1B468D #291B8D #621B8D
triadic
#291B8D #8D291B #1B8D29
tetradic
#291B8D #8D1B46 #7F8D1B #1B8D62
square
#291B8D #8D1B46 #7F8D1B #1B8D62
split-complementary
#291B8D #8D621B #468D1B
monochromatic
#0B0726 #1A115A #291B8D #3825C0 #5947DC

Accessibility & contrast

On white

12.84
#291B8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#291B8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291B8D
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291B8D#FFFFFF#000000##FFFFFF
##291B8D1.0012.841.6412.84
#FFFFFF12.841.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003790
Deuteranopia (green-blind)
#002D8B
Tritanopia (blue-blind)
#003E54
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #291b8d;
/* rgb */ color: rgb(41, 27, 141);
/* oklch */ color: oklch(33.5% 0.174 276.9);
Tailwind
colors: {
  custom: {
    50: '#735bb0',
    500: '#291b8d',
    950: '#000000',
  },
}
SCSS
$custom: #291b8d;
$custom-light: #735bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#291b8d",
  "rgb": {
    "r": 41,
    "g": 27,
    "b": 141
  },
  "hsl": {
    "h": 247.368,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.33532,
    "c": 0.17439,
    "h": 276.9
  },
  "luminance": 0.03178
}

Semantic roles & 50–950 ramp

primary
#291B8D
secondary
#AFBD46
accent
#EB3DD5
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #291B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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