#291EA1#291EA1

#291EA1 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.2% C 0.196 H 274.2°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#291EA1
RGBrgb(41, 30, 161)
HSLhsl(245, 69%, 37%)
HSVhsv(245, 81%, 63%)
CMYKcmyk(74.5%, 81.4%, 0%, 36.9%)
CIE-LABlab(23.58, 46.77, -67.53)
CIE-LCHlch(23.58, 82.15, 304.70°)
OKLaboklab(36.18% 0.0143 -0.1953)
OKLCHoklch(36.18% 0.196 274.2)
XYZxyz(7.8096, 3.9724, 34.0665)
Luminance0.0397 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291EA1 #96A11E
analogous
#1E55A1 #291EA1 #6A1EA1
triadic
#291EA1 #A1291E #1EA129
tetradic
#291EA1 #A11E55 #96A11E #1EA16A
square
#291EA1 #A11E55 #96A11E #1EA16A
split-complementary
#291EA1 #A16A1E #55A11E
monochromatic
#0F0B3A #1C146D #291EA1 #3628D5 #6559E0

Accessibility & contrast

On white

11.70
#291EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#291EA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291EA1
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291EA1#FFFFFF#000000##FFFFFF
##291EA11.0011.701.7911.70
#FFFFFF11.701.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA5
Deuteranopia (green-blind)
#00329F
Tritanopia (blue-blind)
#004760
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #291ea1;
/* rgb */ color: rgb(41, 30, 161);
/* oklch */ color: oklch(36.2% 0.196 274.2);
Tailwind
colors: {
  custom: {
    50: '#785ebe',
    500: '#291ea1',
    950: '#000000',
  },
}
SCSS
$custom: #291ea1;
$custom-light: #785ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#291ea1",
  "rgb": {
    "r": 41,
    "g": 30,
    "b": 161
  },
  "hsl": {
    "h": 245.038,
    "s": 68.586,
    "l": 37.451
  },
  "oklch": {
    "l": 0.36184,
    "c": 0.19584,
    "h": 274.2
  },
  "luminance": 0.03973
}

Semantic roles & 50–950 ramp

primary
#291EA1
secondary
#BBC457
accent
#EB3CDD
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #291EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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