#291B76#291B76

#291B76 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.0% C 0.145 H 280.7°. Best body text is #FFFFFF at 13.88:1 contrast (WCAG AA passes).

Color values

HEX#291B76
RGBrgb(41, 27, 118)
HSLhsl(249, 63%, 28%)
HSVhsv(249, 77%, 46%)
CMYKcmyk(65.3%, 77.1%, 0%, 53.7%)
CIE-LABlab(18.20, 34.47, -49.54)
CIE-LCHlch(18.20, 60.36, 304.83°)
OKLaboklab(30.99% 0.027 -0.1429)
OKLCHoklch(30.99% 0.145 280.7)
XYZxyz(4.5754, 2.5629, 17.3896)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291B76 #68761B
analogous
#1B3A76 #291B76 #561B76
triadic
#291B76 #76291B #1B7629
tetradic
#291B76 #761B3A #68761B #1B7656
square
#291B76 #761B3A #68761B #1B7656
split-complementary
#291B76 #76561B #3A761B
monochromatic
#090619 #181044 #291B76 #3A26A8 #513AD2

Accessibility & contrast

On white

13.88
#291B76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#291B76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291B76
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291B76#FFFFFF#000000##FFFFFF
##291B761.0013.881.5113.88
#FFFFFF13.881.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #291b76;
/* rgb */ color: rgb(41, 27, 118);
/* oklch */ color: oklch(31.0% 0.145 280.7);
Tailwind
colors: {
  custom: {
    50: '#6e599e',
    500: '#291b76',
    950: '#000000',
  },
}
SCSS
$custom: #291b76;
$custom-light: #6e599e;
$custom-dark: #000000;
JSON
{
  "hex": "#291b76",
  "rgb": {
    "r": 41,
    "g": 27,
    "b": 118
  },
  "hsl": {
    "h": 249.231,
    "s": 62.759,
    "l": 28.431
  },
  "oklch": {
    "l": 0.30993,
    "c": 0.14547,
    "h": 280.7
  },
  "luminance": 0.02563
}

Semantic roles & 50–950 ramp

primary
#291B76
secondary
#9AAA42
accent
#E642CD
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040E
muted
#7B797E

Preview Lab

Preview with #291B76

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

Preview Lab → · Contrast checker → · Palette generator →

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