#291B85#291B85

#291B85 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.6% C 0.165 H 278.1°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#291B85
RGBrgb(41, 27, 133)
HSLhsl(248, 66%, 31%)
HSVhsv(248, 80%, 52%)
CMYKcmyk(69.2%, 79.7%, 0%, 47.8%)
CIE-LABlab(19.84, 39.38, -56.39)
CIE-LCHlch(19.84, 68.78, 304.93°)
OKLaboklab(32.63% 0.0231 -0.1629)
OKLCHoklch(32.63% 0.165 278.1)
XYZxyz(5.5387, 2.9483, 22.4629)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291B85 #77851B
analogous
#1B4285 #291B85 #5E1B85
triadic
#291B85 #85291B #1B8529
tetradic
#291B85 #851B42 #77851B #1B855E
square
#291B85 #851B42 #77851B #1B855E
split-complementary
#291B85 #855E1B #42851B
monochromatic
#0A061F #191152 #291B85 #3925B8 #5642D9

Accessibility & contrast

On white

13.21
#291B85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#291B85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291B85
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291B85#FFFFFF#000000##FFFFFF
##291B851.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003488
Deuteranopia (green-blind)
#002C83
Tritanopia (blue-blind)
#003B4F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #291b85;
/* rgb */ color: rgb(41, 27, 133);
/* oklch */ color: oklch(32.6% 0.165 278.1);
Tailwind
colors: {
  custom: {
    50: '#715aaa',
    500: '#291b85',
    950: '#000000',
  },
}
SCSS
$custom: #291b85;
$custom-light: #715aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#291b85",
  "rgb": {
    "r": 41,
    "g": 27,
    "b": 133
  },
  "hsl": {
    "h": 247.925,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.32631,
    "c": 0.16453,
    "h": 278.1
  },
  "luminance": 0.02949
}

Semantic roles & 50–950 ramp

primary
#291B85
secondary
#A9B844
accent
#E93FD3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #291B85

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

Preview Lab → · Contrast checker → · Palette generator →

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