#291E7D#291E7D

#291E7D is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.2% C 0.151 H 278.8°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#291E7D
RGBrgb(41, 30, 125)
HSLhsl(247, 61%, 30%)
HSVhsv(247, 76%, 49%)
CMYKcmyk(67.2%, 76%, 0%, 51%)
CIE-LABlab(19.56, 35.07, -51.79)
CIE-LCHlch(19.56, 62.54, 304.10°)
OKLaboklab(32.18% 0.0233 -0.1495)
OKLCHoklch(32.18% 0.151 278.8)
XYZxyz(5.0792, 2.8802, 19.6863)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291E7D #727D1E
analogous
#1E437D #291E7D #581E7D
triadic
#291E7D #7D291E #1E7D29
tetradic
#291E7D #7D1E43 #727D1E #1E7D58
square
#291E7D #7D1E43 #727D1E #1E7D58
split-complementary
#291E7D #7D581E #437D1E
monochromatic
#09061A #19124C #291E7D #392AAE #5443D2

Accessibility & contrast

On white

13.32
#291E7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#291E7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291E7D
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291E7D#FFFFFF#000000##FFFFFF
##291E7D1.0013.321.5813.32
#FFFFFF13.321.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003380
Deuteranopia (green-blind)
#002B7B
Tritanopia (blue-blind)
#00394C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #291e7d;
/* rgb */ color: rgb(41, 30, 125);
/* oklch */ color: oklch(32.2% 0.151 278.8);
Tailwind
colors: {
  custom: {
    50: '#6f5ca4',
    500: '#291e7d',
    950: '#000000',
  },
}
SCSS
$custom: #291e7d;
$custom-light: #6f5ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#291e7d",
  "rgb": {
    "r": 41,
    "g": 30,
    "b": 125
  },
  "hsl": {
    "h": 246.947,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.32176,
    "c": 0.1513,
    "h": 278.8
  },
  "luminance": 0.02881
}

Semantic roles & 50–950 ramp

primary
#291E7D
secondary
#A4B046
accent
#E443D2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #291E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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