#291A85#291A85

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

Color values

HEX#291A85
RGBrgb(41, 26, 133)
HSLhsl(248, 67%, 31%)
HSVhsv(248, 80%, 52%)
CMYKcmyk(69.2%, 80.5%, 0%, 47.8%)
CIE-LABlab(19.65, 39.91, -56.69)
CIE-LCHlch(19.65, 69.33, 305.14°)
OKLaboklab(32.5% 0.0237 -0.1638)
OKLCHoklch(32.5% 0.165 278.2)
XYZxyz(5.5161, 2.9032, 22.4554)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291A85 #76851A
analogous
#1A4085 #291A85 #5E1A85
triadic
#291A85 #85291A #1A8529
tetradic
#291A85 #851A40 #76851A #1A855E
square
#291A85 #851A40 #76851A #1A855E
split-complementary
#291A85 #855E1A #40851A
monochromatic
#09061F #191052 #291A85 #3924B8 #5540DA

Accessibility & contrast

On white

13.28
#291A85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #291A85
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291A85#FFFFFF#000000##FFFFFF
##291A851.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #291a85;
/* rgb */ color: rgb(41, 26, 133);
/* oklch */ color: oklch(32.5% 0.165 278.2);
Tailwind
colors: {
  custom: {
    50: '#715aaa',
    500: '#291a85',
    950: '#000000',
  },
}
SCSS
$custom: #291a85;
$custom-light: #715aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#291a85",
  "rgb": {
    "r": 41,
    "g": 26,
    "b": 133
  },
  "hsl": {
    "h": 248.411,
    "s": 67.296,
    "l": 31.176
  },
  "oklch": {
    "l": 0.32502,
    "c": 0.16547,
    "h": 278.2
  },
  "luminance": 0.02904
}

Semantic roles & 50–950 ramp

primary
#291A85
secondary
#A8B842
accent
#EA3ED2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #291A85

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

Preview Lab → · Contrast checker → · Palette generator →

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