#291C76#291C76

#291C76 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.1% C 0.144 H 280.5°. Best body text is #FFFFFF at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#291C76
RGBrgb(41, 28, 118)
HSLhsl(249, 62%, 29%)
HSVhsv(249, 76%, 46%)
CMYKcmyk(65.3%, 76.3%, 0%, 53.7%)
CIE-LABlab(18.41, 33.89, -49.20)
CIE-LCHlch(18.41, 59.74, 304.56°)
OKLaboklab(31.14% 0.0263 -0.1419)
OKLCHoklch(31.14% 0.144 280.5)
XYZxyz(4.5987, 2.6096, 17.3974)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291C76 #69761C
analogous
#1C3C76 #291C76 #561C76
triadic
#291C76 #76291C #1C7629
tetradic
#291C76 #761C3C #69761C #1C7656
square
#291C76 #761C3C #69761C #1C7656
split-complementary
#291C76 #76561C #3C761C
monochromatic
#090619 #181045 #291C76 #3A28A7 #513CD1

Accessibility & contrast

On white

13.80
#291C76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#291C76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291C76
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291C76#FFFFFF#000000##FFFFFF
##291C761.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003079
Deuteranopia (green-blind)
#002974
Tritanopia (blue-blind)
#003547
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #291c76;
/* rgb */ color: rgb(41, 28, 118);
/* oklch */ color: oklch(31.1% 0.144 280.5);
Tailwind
colors: {
  custom: {
    50: '#6e5a9e',
    500: '#291c76',
    950: '#000000',
  },
}
SCSS
$custom: #291c76;
$custom-light: #6e5a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#291c76",
  "rgb": {
    "r": 41,
    "g": 28,
    "b": 118
  },
  "hsl": {
    "h": 248.667,
    "s": 61.644,
    "l": 28.627
  },
  "oklch": {
    "l": 0.31139,
    "c": 0.14437,
    "h": 280.5
  },
  "luminance": 0.0261
}

Semantic roles & 50–950 ramp

primary
#291C76
secondary
#9BAA44
accent
#E543CD
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040E
muted
#7B797E

Preview Lab

Preview with #291C76

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

Preview Lab → · Contrast checker → · Palette generator →

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