#291E76#291E76

#291E76 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.4% C 0.142 H 280.0°. Best body text is #FFFFFF at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#291E76
RGBrgb(41, 30, 118)
HSLhsl(248, 59%, 29%)
HSVhsv(248, 75%, 46%)
CMYKcmyk(65.3%, 74.6%, 0%, 53.7%)
CIE-LABlab(18.83, 32.70, -48.50)
CIE-LCHlch(18.83, 58.50, 303.99°)
OKLaboklab(31.44% 0.0248 -0.1399)
OKLCHoklch(31.44% 0.142 280)
XYZxyz(4.6477, 2.7076, 17.4137)
Luminance0.0271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291E76 #6B761E
analogous
#1E3F76 #291E76 #551E76
triadic
#291E76 #76291E #1E7629
tetradic
#291E76 #761E3F #6B761E #1E7655
square
#291E76 #761E3F #6B761E #1E7655
split-complementary
#291E76 #76551E #3F761E
monochromatic
#080618 #181245 #291E76 #3A2AA7 #5240CE

Accessibility & contrast

On white

13.62
#291E76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#291E76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291E76
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291E76#FFFFFF#000000##FFFFFF
##291E761.0013.621.5413.62
#FFFFFF13.621.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003179
Deuteranopia (green-blind)
#002A74
Tritanopia (blue-blind)
#003648
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #291e76;
/* rgb */ color: rgb(41, 30, 118);
/* oklch */ color: oklch(31.4% 0.142 280.0);
Tailwind
colors: {
  custom: {
    50: '#6e5b9e',
    500: '#291e76',
    950: '#000000',
  },
}
SCSS
$custom: #291e76;
$custom-light: #6e5b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#291e76",
  "rgb": {
    "r": 41,
    "g": 30,
    "b": 118
  },
  "hsl": {
    "h": 247.5,
    "s": 59.459,
    "l": 29.02
  },
  "oklch": {
    "l": 0.31441,
    "c": 0.1421,
    "h": 280
  },
  "luminance": 0.02708
}

Semantic roles & 50–950 ramp

primary
#291E76
secondary
#9DAA46
accent
#E345CF
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040E
muted
#7B797E

Preview Lab

Preview with #291E76

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

Preview Lab → · Contrast checker → · Palette generator →

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