#291E96#291E96

#291E96 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.9% C 0.183 H 275.4°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#291E96
RGBrgb(41, 30, 150)
HSLhsl(246, 67%, 35%)
HSVhsv(246, 80%, 59%)
CMYKcmyk(72.7%, 80%, 0%, 41.2%)
CIE-LABlab(22.31, 43.28, -62.90)
CIE-LCHlch(22.31, 76.35, 304.53°)
OKLaboklab(34.92% 0.0171 -0.1819)
OKLCHoklch(34.92% 0.183 275.4)
XYZxyz(6.8819, 3.6013, 29.1807)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291E96 #8B961E
analogous
#1E4F96 #291E96 #651E96
triadic
#291E96 #96291E #1E9629
tetradic
#291E96 #961E4F #8B961E #1E9665
square
#291E96 #961E4F #8B961E #1E9665
split-complementary
#291E96 #96651E #4F961E
monochromatic
#0D0A30 #1B1463 #291E96 #3728C9 #5F52DC

Accessibility & contrast

On white

12.21
#291E96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#291E96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291E96
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291E96#FFFFFF#000000##FFFFFF
##291E961.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A99
Deuteranopia (green-blind)
#003094
Tritanopia (blue-blind)
#00435A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #291e96;
/* rgb */ color: rgb(41, 30, 150);
/* oklch */ color: oklch(34.9% 0.183 275.4);
Tailwind
colors: {
  custom: {
    50: '#755db6',
    500: '#291e96',
    950: '#000000',
  },
}
SCSS
$custom: #291e96;
$custom-light: #755db6;
$custom-dark: #000000;
JSON
{
  "hex": "#291e96",
  "rgb": {
    "r": 41,
    "g": 30,
    "b": 150
  },
  "hsl": {
    "h": 245.5,
    "s": 66.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.34925,
    "c": 0.18268,
    "h": 275.4
  },
  "luminance": 0.03602
}

Semantic roles & 50–950 ramp

primary
#291E96
secondary
#B5BF50
accent
#EA3EDA
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #291E96

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

Preview Lab → · Contrast checker → · Palette generator →

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