#291884#291884

#291884 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.1% C 0.166 H 278.7°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#291884
RGBrgb(41, 24, 132)
HSLhsl(249, 69%, 31%)
HSVhsv(249, 82%, 52%)
CMYKcmyk(68.9%, 81.8%, 0%, 48.2%)
CIE-LABlab(19.18, 40.62, -56.84)
CIE-LCHlch(19.18, 69.86, 305.55°)
OKLaboklab(32.14% 0.025 -0.1642)
OKLCHoklch(32.14% 0.166 278.7)
XYZxyz(5.4046, 2.7902, 22.0791)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291884 #738418
analogous
#183D84 #291884 #5F1884
triadic
#291884 #842918 #188429
tetradic
#291884 #84183D #738418 #18845F
square
#291884 #84183D #738418 #18845F
split-complementary
#291884 #845F18 #3D8418
monochromatic
#09051C #190F50 #291884 #3921B8 #543BDB

Accessibility & contrast

On white

13.48
#291884 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#291884 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291884
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291884#FFFFFF#000000##FFFFFF
##2918841.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003387
Deuteranopia (green-blind)
#002A82
Tritanopia (blue-blind)
#00394E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #291884;
/* rgb */ color: rgb(41, 24, 132);
/* oklch */ color: oklch(32.1% 0.166 278.7);
Tailwind
colors: {
  custom: {
    50: '#7158a9',
    500: '#291884',
    950: '#000000',
  },
}
SCSS
$custom: #291884;
$custom-light: #7158a9;
$custom-dark: #000000;
JSON
{
  "hex": "#291884",
  "rgb": {
    "r": 41,
    "g": 24,
    "b": 132
  },
  "hsl": {
    "h": 249.444,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.32142,
    "c": 0.16606,
    "h": 278.7
  },
  "luminance": 0.02791
}

Semantic roles & 50–950 ramp

primary
#291884
secondary
#A5B840
accent
#EC3CD0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #291884

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

Preview Lab → · Contrast checker → · Palette generator →

#291884 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva