#291E8D#291E8D

#291E8D is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.9% C 0.172 H 276.5°. Best body text is #FFFFFF at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#291E8D
RGBrgb(41, 30, 141)
HSLhsl(246, 65%, 34%)
HSVhsv(246, 79%, 55%)
CMYKcmyk(70.9%, 78.7%, 0%, 44.7%)
CIE-LABlab(21.29, 40.37, -59.00)
CIE-LCHlch(21.29, 71.49, 304.38°)
OKLaboklab(33.92% 0.0194 -0.1705)
OKLCHoklch(33.92% 0.172 276.5)
XYZxyz(6.1849, 3.3225, 25.5095)
Luminance0.0332 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291E8D #828D1E
analogous
#1E4A8D #291E8D #601E8D
triadic
#291E8D #8D291E #1E8D29
tetradic
#291E8D #8D1E4A #828D1E #1E8D60
square
#291E8D #8D1E4A #828D1E #1E8D60
split-complementary
#291E8D #8D601E #4A8D1E
monochromatic
#0C0928 #1A135B #291E8D #3829BF #5A4CD9

Accessibility & contrast

On white

12.62
#291E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#291E8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291E8D
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291E8D#FFFFFF#000000##FFFFFF
##291E8D1.0012.621.6612.62
#FFFFFF12.621.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003890
Deuteranopia (green-blind)
#002E8B
Tritanopia (blue-blind)
#003F55
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #291e8d;
/* rgb */ color: rgb(41, 30, 141);
/* oklch */ color: oklch(33.9% 0.172 276.5);
Tailwind
colors: {
  custom: {
    50: '#735cb0',
    500: '#291e8d',
    950: '#000000',
  },
}
SCSS
$custom: #291e8d;
$custom-light: #735cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#291e8d",
  "rgb": {
    "r": 41,
    "g": 30,
    "b": 141
  },
  "hsl": {
    "h": 245.946,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.33916,
    "c": 0.17163,
    "h": 276.5
  },
  "luminance": 0.03323
}

Semantic roles & 50–950 ramp

primary
#291E8D
secondary
#B0BC4B
accent
#E840D7
background
#F7F5FA
surface
#EEE9F5
border
#C9C5CF
text
#090411
muted
#7B7980

Preview Lab

Preview with #291E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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