#291EA7#291EA7

#291EA7 is a dark, highly saturated blue. Relative luminance 0.042; OKLCH L 36.9% C 0.203 H 273.6°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#291EA7
RGBrgb(41, 30, 167)
HSLhsl(245, 70%, 39%)
HSVhsv(245, 82%, 65%)
CMYKcmyk(75.4%, 82%, 0%, 34.5%)
CIE-LABlab(24.29, 48.64, -70.00)
CIE-LCHlch(24.29, 85.24, 304.79°)
OKLaboklab(36.88% 0.0127 -0.2025)
OKLCHoklch(36.88% 0.203 273.6)
XYZxyz(8.3515, 4.1891, 36.9202)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291EA7 #9CA71E
analogous
#1E57A7 #291EA7 #6D1EA7
triadic
#291EA7 #A7291E #1EA729
tetradic
#291EA7 #A71E57 #9CA71E #1EA76D
square
#291EA7 #A71E57 #9CA71E #1EA76D
split-complementary
#291EA7 #A76D1E #57A71E
monochromatic
#100B3F #1C1573 #291EA7 #382AD9 #685DE2

Accessibility & contrast

On white

11.43
#291EA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#291EA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291EA7
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291EA7#FFFFFF#000000##FFFFFF
##291EA71.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040AB
Deuteranopia (green-blind)
#0033A5
Tritanopia (blue-blind)
#004964
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #291ea7;
/* rgb */ color: rgb(41, 30, 167);
/* oklch */ color: oklch(36.9% 0.203 273.6);
Tailwind
colors: {
  custom: {
    50: '#795ec3',
    500: '#291ea7',
    950: '#000000',
  },
}
SCSS
$custom: #291ea7;
$custom-light: #795ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#291ea7",
  "rgb": {
    "r": 41,
    "g": 30,
    "b": 167
  },
  "hsl": {
    "h": 244.818,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.3688,
    "c": 0.20289,
    "h": 273.6
  },
  "luminance": 0.0419
}

Semantic roles & 50–950 ramp

primary
#291EA7
secondary
#BEC65B
accent
#EC3BDE
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #291EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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