#291E82#291E82

#291E82 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.7% C 0.158 H 278.1°. Best body text is #FFFFFF at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#291E82
RGBrgb(41, 30, 130)
HSLhsl(247, 63%, 31%)
HSVhsv(247, 77%, 51%)
CMYKcmyk(68.5%, 76.9%, 0%, 49%)
CIE-LABlab(20.09, 36.74, -54.08)
CIE-LCHlch(20.09, 65.38, 304.19°)
OKLaboklab(32.71% 0.0221 -0.1562)
OKLCHoklch(32.71% 0.158 278.1)
XYZxyz(5.4067, 3.0112, 21.4111)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291E82 #77821E
analogous
#1E4582 #291E82 #5B1E82
triadic
#291E82 #82291E #1E8229
tetradic
#291E82 #821E45 #77821E #1E825B
square
#291E82 #821E45 #77821E #1E825B
split-complementary
#291E82 #825B1E #45821E
monochromatic
#0A071F #191350 #291E82 #3929B4 #5646D4

Accessibility & contrast

On white

13.11
#291E82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#291E82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291E82
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291E82#FFFFFF#000000##FFFFFF
##291E821.0013.111.6013.11
#FFFFFF13.111.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003485
Deuteranopia (green-blind)
#002C80
Tritanopia (blue-blind)
#003B4E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #291e82;
/* rgb */ color: rgb(41, 30, 130);
/* oklch */ color: oklch(32.7% 0.158 278.1);
Tailwind
colors: {
  custom: {
    50: '#705ca7',
    500: '#291e82',
    950: '#000000',
  },
}
SCSS
$custom: #291e82;
$custom-light: #705ca7;
$custom-dark: #000000;
JSON
{
  "hex": "#291e82",
  "rgb": {
    "r": 41,
    "g": 30,
    "b": 130
  },
  "hsl": {
    "h": 246.6,
    "s": 62.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.32711,
    "c": 0.15776,
    "h": 278.1
  },
  "luminance": 0.03012
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #291E82

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

Preview Lab → · Contrast checker → · Palette generator →

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