#291D85#291D85

#291D85 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.9% C 0.163 H 277.8°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#291D85
RGBrgb(41, 29, 133)
HSLhsl(247, 64%, 32%)
HSVhsv(247, 78%, 52%)
CMYKcmyk(69.2%, 78.2%, 0%, 47.8%)
CIE-LABlab(20.22, 38.30, -55.76)
CIE-LCHlch(20.22, 67.65, 304.48°)
OKLaboklab(32.9% 0.022 -0.1611)
OKLCHoklch(32.9% 0.163 277.8)
XYZxyz(5.5861, 3.0431, 22.4788)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291D85 #79851D
analogous
#1D4585 #291D85 #5D1D85
triadic
#291D85 #85291D #1D8529
tetradic
#291D85 #851D45 #79851D #1D855D
square
#291D85 #851D45 #79851D #1D855D
split-complementary
#291D85 #855D1D #45851D
monochromatic
#0A0721 #1A1253 #291D85 #3828B7 #5646D7

Accessibility & contrast

On white

13.05
#291D85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#291D85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291D85
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291D85#FFFFFF#000000##FFFFFF
##291D851.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003588
Deuteranopia (green-blind)
#002C83
Tritanopia (blue-blind)
#003B50
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #291d85;
/* rgb */ color: rgb(41, 29, 133);
/* oklch */ color: oklch(32.9% 0.163 277.8);
Tailwind
colors: {
  custom: {
    50: '#715baa',
    500: '#291d85',
    950: '#000000',
  },
}
SCSS
$custom: #291d85;
$custom-light: #715baa;
$custom-dark: #000000;
JSON
{
  "hex": "#291d85",
  "rgb": {
    "r": 41,
    "g": 29,
    "b": 133
  },
  "hsl": {
    "h": 246.923,
    "s": 64.198,
    "l": 31.765
  },
  "oklch": {
    "l": 0.32897,
    "c": 0.16259,
    "h": 277.8
  },
  "luminance": 0.03044
}

Semantic roles & 50–950 ramp

primary
#291D85
secondary
#ABB846
accent
#E741D4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #291D85

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

Preview Lab → · Contrast checker → · Palette generator →

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