#291E89#291E89

#291E89 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.5% C 0.167 H 277.0°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#291E89
RGBrgb(41, 30, 137)
HSLhsl(246, 64%, 33%)
HSVhsv(246, 78%, 54%)
CMYKcmyk(70.1%, 78.1%, 0%, 46.3%)
CIE-LABlab(20.85, 39.06, -57.23)
CIE-LCHlch(20.85, 69.29, 304.31°)
OKLaboklab(33.47% 0.0204 -0.1654)
OKLCHoklch(33.47% 0.167 277)
XYZxyz(5.8926, 3.2056, 23.9703)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291E89 #7E891E
analogous
#1E4989 #291E89 #5E1E89
triadic
#291E89 #89291E #1E8929
tetradic
#291E89 #891E49 #7E891E #1E895E
square
#291E89 #891E49 #7E891E #1E895E
split-complementary
#291E89 #895E1E #49891E
monochromatic
#0B0825 #1A1357 #291E89 #3829BB #594AD7

Accessibility & contrast

On white

12.80
#291E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#291E89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291E89
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291E89#FFFFFF#000000##FFFFFF
##291E891.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #291e89;
/* rgb */ color: rgb(41, 30, 137);
/* oklch */ color: oklch(33.5% 0.167 277.0);
Tailwind
colors: {
  custom: {
    50: '#725cad',
    500: '#291e89',
    950: '#000000',
  },
}
SCSS
$custom: #291e89;
$custom-light: #725cad;
$custom-dark: #000000;
JSON
{
  "hex": "#291e89",
  "rgb": {
    "r": 41,
    "g": 30,
    "b": 137
  },
  "hsl": {
    "h": 246.168,
    "s": 64.072,
    "l": 32.745
  },
  "oklch": {
    "l": 0.33473,
    "c": 0.16664,
    "h": 277
  },
  "luminance": 0.03206
}

Semantic roles & 50–950 ramp

primary
#291E89
secondary
#AEBA49
accent
#E741D6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #291E89

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

Preview Lab → · Contrast checker → · Palette generator →

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