#291A84#291A84

#291A84 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.4% C 0.164 H 278.4°. Best body text is #FFFFFF at 13.33:1 contrast (WCAG AA passes).

Color values

HEX#291A84
RGBrgb(41, 26, 132)
HSLhsl(248, 67%, 31%)
HSVhsv(248, 80%, 52%)
CMYKcmyk(68.9%, 80.3%, 0%, 48.2%)
CIE-LABlab(19.54, 39.59, -56.25)
CIE-LCHlch(19.54, 68.79, 305.14°)
OKLaboklab(32.39% 0.024 -0.1625)
OKLCHoklch(32.39% 0.164 278.4)
XYZxyz(5.4474, 2.8757, 22.0933)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291A84 #75841A
analogous
#1A4084 #291A84 #5E1A84
triadic
#291A84 #84291A #1A8429
tetradic
#291A84 #841A40 #75841A #1A845E
square
#291A84 #841A40 #75841A #1A845E
split-complementary
#291A84 #845E1A #40841A
monochromatic
#09061E #191051 #291A84 #3924B7 #553FD9

Accessibility & contrast

On white

13.33
#291A84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #291A84
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291A84#FFFFFF#000000##FFFFFF
##291A841.0013.331.5813.33
#FFFFFF13.331.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003387
Deuteranopia (green-blind)
#002B82
Tritanopia (blue-blind)
#003A4F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #291a84;
/* rgb */ color: rgb(41, 26, 132);
/* oklch */ color: oklch(32.4% 0.164 278.4);
Tailwind
colors: {
  custom: {
    50: '#715aa9',
    500: '#291a84',
    950: '#000000',
  },
}
SCSS
$custom: #291a84;
$custom-light: #715aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#291a84",
  "rgb": {
    "r": 41,
    "g": 26,
    "b": 132
  },
  "hsl": {
    "h": 248.491,
    "s": 67.089,
    "l": 30.98
  },
  "oklch": {
    "l": 0.3239,
    "c": 0.16424,
    "h": 278.4
  },
  "luminance": 0.02876
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #291A84

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

Preview Lab → · Contrast checker → · Palette generator →

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