#291E84#291E84

#291E84 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.9% C 0.160 H 277.8°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#291E84
RGBrgb(41, 30, 132)
HSLhsl(246, 63%, 32%)
HSVhsv(246, 77%, 52%)
CMYKcmyk(68.9%, 77.3%, 0%, 48.2%)
CIE-LABlab(20.30, 37.41, -54.99)
CIE-LCHlch(20.30, 66.50, 304.23°)
OKLaboklab(32.93% 0.0216 -0.1588)
OKLCHoklch(32.93% 0.16 277.8)
XYZxyz(5.5422, 3.0654, 22.1249)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291E84 #79841E
analogous
#1E4684 #291E84 #5C1E84
triadic
#291E84 #84291E #1E8429
tetradic
#291E84 #841E46 #79841E #1E845C
square
#291E84 #841E46 #79841E #1E845C
split-complementary
#291E84 #845C1E #46841E
monochromatic
#0A0720 #1A1352 #291E84 #3829B6 #5647D5

Accessibility & contrast

On white

13.02
#291E84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#291E84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291E84
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291E84#FFFFFF#000000##FFFFFF
##291E841.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003587
Deuteranopia (green-blind)
#002D82
Tritanopia (blue-blind)
#003B50
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #291e84;
/* rgb */ color: rgb(41, 30, 132);
/* oklch */ color: oklch(32.9% 0.160 277.8);
Tailwind
colors: {
  custom: {
    50: '#715ca9',
    500: '#291e84',
    950: '#000000',
  },
}
SCSS
$custom: #291e84;
$custom-light: #715ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#291e84",
  "rgb": {
    "r": 41,
    "g": 30,
    "b": 132
  },
  "hsl": {
    "h": 246.471,
    "s": 62.963,
    "l": 31.765
  },
  "oklch": {
    "l": 0.32927,
    "c": 0.16031,
    "h": 277.8
  },
  "luminance": 0.03066
}

Semantic roles & 50–950 ramp

primary
#291E84
secondary
#ABB747
accent
#E642D4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #291E84

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

Preview Lab → · Contrast checker → · Palette generator →

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