#291D76#291D76

#291D76 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.3% C 0.143 H 280.3°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#291D76
RGBrgb(41, 29, 118)
HSLhsl(248, 61%, 29%)
HSVhsv(248, 75%, 46%)
CMYKcmyk(65.3%, 75.4%, 0%, 53.7%)
CIE-LABlab(18.62, 33.30, -48.86)
CIE-LCHlch(18.62, 59.13, 304.28°)
OKLaboklab(31.29% 0.0256 -0.1409)
OKLCHoklch(31.29% 0.143 280.3)
XYZxyz(4.6228, 2.6578, 17.4054)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291D76 #6A761D
analogous
#1D3E76 #291D76 #561D76
triadic
#291D76 #76291D #1D7629
tetradic
#291D76 #761D3E #6A761D #1D7656
square
#291D76 #761D3E #6A761D #1D7656
split-complementary
#291D76 #76561D #3E761D
monochromatic
#090619 #181145 #291D76 #3A29A7 #523ED0

Accessibility & contrast

On white

13.71
#291D76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#291D76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291D76
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291D76#FFFFFF#000000##FFFFFF
##291D761.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003179
Deuteranopia (green-blind)
#002A74
Tritanopia (blue-blind)
#003647
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #291d76;
/* rgb */ color: rgb(41, 29, 118);
/* oklch */ color: oklch(31.3% 0.143 280.3);
Tailwind
colors: {
  custom: {
    50: '#6e5b9e',
    500: '#291d76',
    950: '#000000',
  },
}
SCSS
$custom: #291d76;
$custom-light: #6e5b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#291d76",
  "rgb": {
    "r": 41,
    "g": 29,
    "b": 118
  },
  "hsl": {
    "h": 248.09,
    "s": 60.544,
    "l": 28.824
  },
  "oklch": {
    "l": 0.31288,
    "c": 0.14324,
    "h": 280.3
  },
  "luminance": 0.02658
}

Semantic roles & 50–950 ramp

primary
#291D76
secondary
#9CAA45
accent
#E444CE
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040E
muted
#7B797E

Preview Lab

Preview with #291D76

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

Preview Lab → · Contrast checker → · Palette generator →

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