#291D95#291D95

#291D95 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.7% C 0.182 H 275.6°. Best body text is #FFFFFF at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#291D95
RGBrgb(41, 29, 149)
HSLhsl(246, 67%, 35%)
HSVhsv(246, 81%, 58%)
CMYKcmyk(72.5%, 80.5%, 0%, 41.6%)
CIE-LABlab(22.01, 43.48, -62.77)
CIE-LCHlch(22.01, 76.35, 304.71°)
OKLaboklab(34.69% 0.0178 -0.1815)
OKLCHoklch(34.69% 0.182 275.6)
XYZxyz(6.7768, 3.5194, 28.7501)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291D95 #89951D
analogous
#1D4D95 #291D95 #651D95
triadic
#291D95 #95291D #1D9529
tetradic
#291D95 #951D4D #89951D #1D9565
square
#291D95 #951D4D #89951D #1D9565
split-complementary
#291D95 #95651D #4D951D
monochromatic
#0D092F #1B1362 #291D95 #3727C8 #5E50DD

Accessibility & contrast

On white

12.32
#291D95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#291D95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291D95
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291D95#FFFFFF#000000##FFFFFF
##291D951.0012.321.7012.32
#FFFFFF12.321.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A98
Deuteranopia (green-blind)
#002F93
Tritanopia (blue-blind)
#004259
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #291d95;
/* rgb */ color: rgb(41, 29, 149);
/* oklch */ color: oklch(34.7% 0.182 275.6);
Tailwind
colors: {
  custom: {
    50: '#755cb5',
    500: '#291d95',
    950: '#000000',
  },
}
SCSS
$custom: #291d95;
$custom-light: #755cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#291d95",
  "rgb": {
    "r": 41,
    "g": 29,
    "b": 149
  },
  "hsl": {
    "h": 246,
    "s": 67.416,
    "l": 34.902
  },
  "oklch": {
    "l": 0.34688,
    "c": 0.18234,
    "h": 275.6
  },
  "luminance": 0.0352
}

Semantic roles & 50–950 ramp

primary
#291D95
secondary
#B4C04E
accent
#EA3DD9
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #291D95

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

Preview Lab → · Contrast checker → · Palette generator →

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