#291A8D#291A8D

#291A8D is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.4% C 0.175 H 277.0°. Best body text is #FFFFFF at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#291A8D
RGBrgb(41, 26, 141)
HSLhsl(248, 69%, 33%)
HSVhsv(248, 82%, 55%)
CMYKcmyk(70.9%, 81.6%, 0%, 44.7%)
CIE-LABlab(20.57, 42.46, -60.20)
CIE-LCHlch(20.57, 73.66, 305.20°)
OKLaboklab(33.41% 0.0214 -0.174)
OKLCHoklch(33.41% 0.175 277)
XYZxyz(6.0900, 3.1327, 25.4779)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291A8D #7E8D1A
analogous
#1A458D #291A8D #621A8D
triadic
#291A8D #8D291A #1A8D29
tetradic
#291A8D #8D1A45 #7E8D1A #1A8D62
square
#291A8D #8D1A45 #7E8D1A #1A8D62
split-complementary
#291A8D #8D621A #458D1A
monochromatic
#0B0726 #1A1059 #291A8D #3824C1 #5945DD

Accessibility & contrast

On white

12.91
#291A8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #291A8D
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291A8D#FFFFFF#000000##FFFFFF
##291A8D1.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #291a8d;
/* rgb */ color: rgb(41, 26, 141);
/* oklch */ color: oklch(33.4% 0.175 277.0);
Tailwind
colors: {
  custom: {
    50: '#735ab0',
    500: '#291a8d',
    950: '#000000',
  },
}
SCSS
$custom: #291a8d;
$custom-light: #735ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#291a8d",
  "rgb": {
    "r": 41,
    "g": 26,
    "b": 141
  },
  "hsl": {
    "h": 247.826,
    "s": 68.862,
    "l": 32.745
  },
  "oklch": {
    "l": 0.3341,
    "c": 0.17527,
    "h": 277
  },
  "luminance": 0.03133
}

Semantic roles & 50–950 ramp

primary
#291A8D
secondary
#AEBE45
accent
#EC3CD5
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #291A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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