#291B9E#291B9E

#291B9E is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.5% C 0.195 H 274.8°. Best body text is #FFFFFF at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#291B9E
RGBrgb(41, 27, 158)
HSLhsl(246, 71%, 36%)
HSVhsv(246, 83%, 62%)
CMYKcmyk(74.1%, 82.9%, 0%, 38%)
CIE-LABlab(22.73, 47.27, -67.10)
CIE-LCHlch(22.73, 82.08, 305.16°)
OKLaboklab(35.49% 0.0162 -0.194)
OKLCHoklch(35.49% 0.195 274.8)
XYZxyz(7.4759, 3.7232, 32.6658)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291B9E #909E1B
analogous
#1B4F9E #291B9E #6B1B9E
triadic
#291B9E #9E291B #1B9E29
tetradic
#291B9E #9E1B4F #909E1B #1B9E6B
square
#291B9E #9E1B4F #909E1B #1B9E6B
split-complementary
#291B9E #9E6B1B #4F9E1B
monochromatic
#0E0935 #1B126A #291B9E #3724D2 #6152E1

Accessibility & contrast

On white

12.04
#291B9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#291B9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291B9E
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291B9E#FFFFFF#000000##FFFFFF
##291B9E1.0012.041.7412.04
#FFFFFF12.041.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003CA2
Deuteranopia (green-blind)
#00309C
Tritanopia (blue-blind)
#00455E
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #291b9e;
/* rgb */ color: rgb(41, 27, 158);
/* oklch */ color: oklch(35.5% 0.195 274.8);
Tailwind
colors: {
  custom: {
    50: '#775cbc',
    500: '#291b9e',
    950: '#000000',
  },
}
SCSS
$custom: #291b9e;
$custom-light: #775cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#291b9e",
  "rgb": {
    "r": 41,
    "g": 27,
    "b": 158
  },
  "hsl": {
    "h": 246.412,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.35495,
    "c": 0.1947,
    "h": 274.8
  },
  "luminance": 0.03724
}

Semantic roles & 50–950 ramp

primary
#291B9E
secondary
#B8C451
accent
#EE3ADA
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #291B9E

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

Preview Lab → · Contrast checker → · Palette generator →

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