#291E91#291E91

#291E91 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.4% C 0.177 H 276.0°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#291E91
RGBrgb(41, 30, 145)
HSLhsl(246, 66%, 34%)
HSVhsv(246, 79%, 57%)
CMYKcmyk(71.7%, 79.3%, 0%, 43.1%)
CIE-LABlab(21.74, 41.67, -60.75)
CIE-LCHlch(21.74, 73.66, 304.45°)
OKLaboklab(34.36% 0.0184 -0.1756)
OKLCHoklch(34.36% 0.177 276)
XYZxyz(6.4879, 3.4437, 27.1054)
Luminance0.0344 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291E91 #86911E
analogous
#1E4D91 #291E91 #631E91
triadic
#291E91 #91291E #1E9129
tetradic
#291E91 #911E4D #86911E #1E9163
square
#291E91 #911E4D #86911E #1E9163
split-complementary
#291E91 #91631E #4D911E
monochromatic
#0C092C #1B145E #291E91 #3728C4 #5C4FDB

Accessibility & contrast

On white

12.43
#291E91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#291E91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291E91
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291E91#FFFFFF#000000##FFFFFF
##291E911.0012.431.6912.43
#FFFFFF12.431.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003994
Deuteranopia (green-blind)
#002F8F
Tritanopia (blue-blind)
#004157
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #291e91;
/* rgb */ color: rgb(41, 30, 145);
/* oklch */ color: oklch(34.4% 0.177 276.0);
Tailwind
colors: {
  custom: {
    50: '#745db2',
    500: '#291e91',
    950: '#000000',
  },
}
SCSS
$custom: #291e91;
$custom-light: #745db2;
$custom-dark: #000000;
JSON
{
  "hex": "#291e91",
  "rgb": {
    "r": 41,
    "g": 30,
    "b": 145
  },
  "hsl": {
    "h": 245.739,
    "s": 65.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.34362,
    "c": 0.17657,
    "h": 276
  },
  "luminance": 0.03444
}

Semantic roles & 50–950 ramp

primary
#291E91
secondary
#B3BD4D
accent
#E93FD8
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #291E91

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

Preview Lab → · Contrast checker → · Palette generator →

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