#291D89#291D89

#291D89 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.3% C 0.168 H 277.2°. Best body text is #FFFFFF at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#291D89
RGBrgb(41, 29, 137)
HSLhsl(247, 65%, 33%)
HSVhsv(247, 79%, 54%)
CMYKcmyk(70.1%, 78.8%, 0%, 46.3%)
CIE-LABlab(20.66, 39.61, -57.55)
CIE-LCHlch(20.66, 69.86, 304.54°)
OKLaboklab(33.34% 0.021 -0.1663)
OKLCHoklch(33.34% 0.168 277.2)
XYZxyz(5.8677, 3.1558, 23.9620)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291D89 #7D891D
analogous
#1D4789 #291D89 #5F1D89
triadic
#291D89 #89291D #1D8929
tetradic
#291D89 #891D47 #7D891D #1D895F
square
#291D89 #891D47 #7D891D #1D895F
split-complementary
#291D89 #895F1D #47891D
monochromatic
#0B0824 #1A1256 #291D89 #3828BC #5848D8

Accessibility & contrast

On white

12.87
#291D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#291D89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291D89
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291D89#FFFFFF#000000##FFFFFF
##291D891.0012.871.6312.87
#FFFFFF12.871.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00368C
Deuteranopia (green-blind)
#002D87
Tritanopia (blue-blind)
#003D52
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #291d89;
/* rgb */ color: rgb(41, 29, 137);
/* oklch */ color: oklch(33.3% 0.168 277.2);
Tailwind
colors: {
  custom: {
    50: '#725cad',
    500: '#291d89',
    950: '#000000',
  },
}
SCSS
$custom: #291d89;
$custom-light: #725cad;
$custom-dark: #000000;
JSON
{
  "hex": "#291d89",
  "rgb": {
    "r": 41,
    "g": 29,
    "b": 137
  },
  "hsl": {
    "h": 246.667,
    "s": 65.06,
    "l": 32.549
  },
  "oklch": {
    "l": 0.33339,
    "c": 0.16761,
    "h": 277.2
  },
  "luminance": 0.03156
}

Semantic roles & 50–950 ramp

primary
#291D89
secondary
#AEBA47
accent
#E840D5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #291D89

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

Preview Lab → · Contrast checker → · Palette generator →

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