#291C8D#291C8D

#291C8D is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.7% C 0.173 H 276.8°. Best body text is #FFFFFF at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#291C8D
RGBrgb(41, 28, 141)
HSLhsl(247, 67%, 33%)
HSVhsv(247, 80%, 55%)
CMYKcmyk(70.9%, 80.1%, 0%, 44.7%)
CIE-LABlab(20.92, 41.43, -59.61)
CIE-LCHlch(20.92, 72.60, 304.80°)
OKLaboklab(33.66% 0.0204 -0.1723)
OKLCHoklch(33.66% 0.173 276.8)
XYZxyz(6.1359, 3.2245, 25.4932)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291C8D #808D1C
analogous
#1C478D #291C8D #611C8D
triadic
#291C8D #8D291C #1C8D29
tetradic
#291C8D #8D1C47 #808D1C #1C8D61
square
#291C8D #8D1C47 #808D1C #1C8D61
split-complementary
#291C8D #8D611C #478D1C
monochromatic
#0B0827 #1A125A #291C8D #3826C0 #5949DB

Accessibility & contrast

On white

12.77
#291C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#291C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291C8D
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291C8D#FFFFFF#000000##FFFFFF
##291C8D1.0012.771.6512.77
#FFFFFF12.771.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.771.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: #291c8d;
/* rgb */ color: rgb(41, 28, 141);
/* oklch */ color: oklch(33.7% 0.173 276.8);
Tailwind
colors: {
  custom: {
    50: '#735bb0',
    500: '#291c8d',
    950: '#000000',
  },
}
SCSS
$custom: #291c8d;
$custom-light: #735bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#291c8d",
  "rgb": {
    "r": 41,
    "g": 28,
    "b": 141
  },
  "hsl": {
    "h": 246.903,
    "s": 66.864,
    "l": 33.137
  },
  "oklch": {
    "l": 0.33656,
    "c": 0.17349,
    "h": 276.8
  },
  "luminance": 0.03225
}

Semantic roles & 50–950 ramp

primary
#291C8D
secondary
#AFBD48
accent
#EA3ED6
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #291C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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