#291C84#291C84

#291C84 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.7% C 0.162 H 278.1°. Best body text is #FFFFFF at 13.18:1 contrast (WCAG AA passes).

Color values

HEX#291C84
RGBrgb(41, 28, 132)
HSLhsl(248, 65%, 31%)
HSVhsv(248, 79%, 52%)
CMYKcmyk(68.9%, 78.8%, 0%, 48.2%)
CIE-LABlab(19.91, 38.52, -55.63)
CIE-LCHlch(19.91, 67.67, 304.70°)
OKLaboklab(32.65% 0.0228 -0.1607)
OKLCHoklch(32.65% 0.162 278.1)
XYZxyz(5.4932, 2.9674, 22.1086)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291C84 #77841C
analogous
#1C4384 #291C84 #5D1C84
triadic
#291C84 #84291C #1C8429
tetradic
#291C84 #841C43 #77841C #1C845D
square
#291C84 #841C43 #77841C #1C845D
split-complementary
#291C84 #845D1C #43841C
monochromatic
#0A071F #191152 #291C84 #3927B6 #5643D7

Accessibility & contrast

On white

13.18
#291C84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #291C84
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291C84#FFFFFF#000000##FFFFFF
##291C841.0013.181.5913.18
#FFFFFF13.181.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #291c84;
/* rgb */ color: rgb(41, 28, 132);
/* oklch */ color: oklch(32.7% 0.162 278.1);
Tailwind
colors: {
  custom: {
    50: '#715ba9',
    500: '#291c84',
    950: '#000000',
  },
}
SCSS
$custom: #291c84;
$custom-light: #715ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#291c84",
  "rgb": {
    "r": 41,
    "g": 28,
    "b": 132
  },
  "hsl": {
    "h": 247.5,
    "s": 65,
    "l": 31.373
  },
  "oklch": {
    "l": 0.32652,
    "c": 0.16232,
    "h": 278.1
  },
  "luminance": 0.02968
}

Semantic roles & 50–950 ramp

primary
#291C84
secondary
#A9B745
accent
#E840D3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #291C84

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

Preview Lab → · Contrast checker → · Palette generator →

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