#291F85#291F85

#291F85 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.2% C 0.161 H 277.4°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#291F85
RGBrgb(41, 31, 133)
HSLhsl(246, 62%, 32%)
HSVhsv(246, 77%, 52%)
CMYKcmyk(69.2%, 76.7%, 0%, 47.8%)
CIE-LABlab(20.61, 37.17, -55.11)
CIE-LCHlch(20.61, 66.47, 304.00°)
OKLaboklab(33.18% 0.0208 -0.1592)
OKLCHoklch(33.18% 0.161 277.4)
XYZxyz(5.6367, 3.1444, 22.4956)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291F85 #7B851F
analogous
#1F4885 #291F85 #5C1F85
triadic
#291F85 #85291F #1F8529
tetradic
#291F85 #851F48 #7B851F #1F855C
square
#291F85 #851F48 #7B851F #1F855C
split-complementary
#291F85 #855C1F #48851F
monochromatic
#0A0822 #1A1353 #291F85 #382BB7 #574AD5

Accessibility & contrast

On white

12.89
#291F85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#291F85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291F85
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291F85#FFFFFF#000000##FFFFFF
##291F851.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003688
Deuteranopia (green-blind)
#002D83
Tritanopia (blue-blind)
#003C50
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #291f85;
/* rgb */ color: rgb(41, 31, 133);
/* oklch */ color: oklch(33.2% 0.161 277.4);
Tailwind
colors: {
  custom: {
    50: '#715daa',
    500: '#291f85',
    950: '#000000',
  },
}
SCSS
$custom: #291f85;
$custom-light: #715daa;
$custom-dark: #000000;
JSON
{
  "hex": "#291f85",
  "rgb": {
    "r": 41,
    "g": 31,
    "b": 133
  },
  "hsl": {
    "h": 245.882,
    "s": 62.195,
    "l": 32.157
  },
  "oklch": {
    "l": 0.33177,
    "c": 0.16055,
    "h": 277.4
  },
  "luminance": 0.03145
}

Semantic roles & 50–950 ramp

primary
#291F85
secondary
#ACB749
accent
#E543D5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #291F85

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

Preview Lab → · Contrast checker → · Palette generator →

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