#291D9D#291D9D

#291D9D is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.6% C 0.192 H 274.7°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#291D9D
RGBrgb(41, 29, 157)
HSLhsl(246, 69%, 36%)
HSVhsv(246, 82%, 62%)
CMYKcmyk(73.9%, 81.5%, 0%, 38.4%)
CIE-LABlab(22.94, 46.00, -66.15)
CIE-LCHlch(22.94, 80.57, 304.82°)
OKLaboklab(35.6% 0.0157 -0.1913)
OKLCHoklch(35.6% 0.192 274.7)
XYZxyz(7.4376, 3.7837, 32.2301)
Luminance0.0378 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291D9D #919D1D
analogous
#1D519D #291D9D #691D9D
triadic
#291D9D #9D291D #1D9D29
tetradic
#291D9D #9D1D51 #919D1D #1D9D69
square
#291D9D #9D1D51 #919D1D #1D9D69
split-complementary
#291D9D #9D691D #519D1D
monochromatic
#0E0A36 #1C1369 #291D9D #3627D1 #6255E0

Accessibility & contrast

On white

11.95
#291D9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#291D9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291D9D
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291D9D#FFFFFF#000000##FFFFFF
##291D9D1.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003CA1
Deuteranopia (green-blind)
#00319B
Tritanopia (blue-blind)
#00455E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #291d9d;
/* rgb */ color: rgb(41, 29, 157);
/* oklch */ color: oklch(35.6% 0.192 274.7);
Tailwind
colors: {
  custom: {
    50: '#775dbb',
    500: '#291d9d',
    950: '#000000',
  },
}
SCSS
$custom: #291d9d;
$custom-light: #775dbb;
$custom-dark: #000000;
JSON
{
  "hex": "#291d9d",
  "rgb": {
    "r": 41,
    "g": 29,
    "b": 157
  },
  "hsl": {
    "h": 245.625,
    "s": 68.817,
    "l": 36.471
  },
  "oklch": {
    "l": 0.35605,
    "c": 0.19192,
    "h": 274.7
  },
  "luminance": 0.03784
}

Semantic roles & 50–950 ramp

primary
#291D9D
secondary
#B8C353
accent
#EC3CDB
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #291D9D

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

Preview Lab → · Contrast checker → · Palette generator →

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