#291E85#291E85

#291E85 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.0% C 0.162 H 277.6°. Best body text is #FFFFFF at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#291E85
RGBrgb(41, 30, 133)
HSLhsl(246, 63%, 32%)
HSVhsv(246, 77%, 52%)
CMYKcmyk(69.2%, 77.4%, 0%, 47.8%)
CIE-LABlab(20.41, 37.74, -55.44)
CIE-LCHlch(20.41, 67.06, 304.24°)
OKLaboklab(33.04% 0.0214 -0.1602)
OKLCHoklch(33.04% 0.162 277.6)
XYZxyz(5.6110, 3.0929, 22.4871)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291E85 #7A851E
analogous
#1E4785 #291E85 #5D1E85
triadic
#291E85 #85291E #1E8529
tetradic
#291E85 #851E47 #7A851E #1E855D
square
#291E85 #851E47 #7A851E #1E855D
split-complementary
#291E85 #855D1E #47851E
monochromatic
#0A0721 #1A1353 #291E85 #3829B7 #5748D6

Accessibility & contrast

On white

12.97
#291E85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#291E85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291E85
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291E85#FFFFFF#000000##FFFFFF
##291E851.0012.971.6212.97
#FFFFFF12.971.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #291e85;
/* rgb */ color: rgb(41, 30, 133);
/* oklch */ color: oklch(33.0% 0.162 277.6);
Tailwind
colors: {
  custom: {
    50: '#715caa',
    500: '#291e85',
    950: '#000000',
  },
}
SCSS
$custom: #291e85;
$custom-light: #715caa;
$custom-dark: #000000;
JSON
{
  "hex": "#291e85",
  "rgb": {
    "r": 41,
    "g": 30,
    "b": 133
  },
  "hsl": {
    "h": 246.408,
    "s": 63.19,
    "l": 31.961
  },
  "oklch": {
    "l": 0.33036,
    "c": 0.16158,
    "h": 277.6
  },
  "luminance": 0.03093
}

Semantic roles & 50–950 ramp

primary
#291E85
secondary
#ACB847
accent
#E642D5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #291E85

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

Preview Lab → · Contrast checker → · Palette generator →

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