#291EA6#291EA6

#291EA6 is a dark, highly saturated blue. Relative luminance 0.042; OKLCH L 36.8% C 0.202 H 273.7°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#291EA6
RGBrgb(41, 30, 166)
HSLhsl(245, 69%, 38%)
HSVhsv(245, 82%, 65%)
CMYKcmyk(75.3%, 81.9%, 0%, 34.9%)
CIE-LABlab(24.17, 48.33, -69.60)
CIE-LCHlch(24.17, 84.73, 304.78°)
OKLaboklab(36.76% 0.013 -0.2013)
OKLCHoklch(36.76% 0.202 273.7)
XYZxyz(8.2594, 4.1523, 36.4352)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291EA6 #9BA61E
analogous
#1E57A6 #291EA6 #6D1EA6
triadic
#291EA6 #A6291E #1EA629
tetradic
#291EA6 #A61E57 #9BA61E #1EA66D
square
#291EA6 #A61E57 #9BA61E #1EA66D
split-complementary
#291EA6 #A66D1E #57A61E
monochromatic
#0F0B3E #1C1572 #291EA6 #3729D8 #675DE2

Accessibility & contrast

On white

11.47
#291EA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#291EA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291EA6
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291EA6#FFFFFF#000000##FFFFFF
##291EA61.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040AA
Deuteranopia (green-blind)
#0033A4
Tritanopia (blue-blind)
#004963
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #291ea6;
/* rgb */ color: rgb(41, 30, 166);
/* oklch */ color: oklch(36.8% 0.202 273.7);
Tailwind
colors: {
  custom: {
    50: '#795ec2',
    500: '#291ea6',
    950: '#000000',
  },
}
SCSS
$custom: #291ea6;
$custom-light: #795ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#291ea6",
  "rgb": {
    "r": 41,
    "g": 30,
    "b": 166
  },
  "hsl": {
    "h": 244.853,
    "s": 69.388,
    "l": 38.431
  },
  "oklch": {
    "l": 0.36763,
    "c": 0.20172,
    "h": 273.7
  },
  "luminance": 0.04153
}

Semantic roles & 50–950 ramp

primary
#291EA6
secondary
#BDC65A
accent
#EC3CDE
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #291EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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