#291A76#291A76

#291A76 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.9% C 0.147 H 280.9°. Best body text is #FFFFFF at 13.97:1 contrast (WCAG AA passes).

Color values

HEX#291A76
RGBrgb(41, 26, 118)
HSLhsl(250, 64%, 28%)
HSVhsv(250, 78%, 46%)
CMYKcmyk(65.3%, 78%, 0%, 53.7%)
CIE-LABlab(18.00, 35.04, -49.88)
CIE-LCHlch(18.00, 60.95, 305.09°)
OKLaboklab(30.85% 0.0278 -0.1439)
OKLCHoklch(30.85% 0.147 280.9)
XYZxyz(4.5528, 2.5179, 17.3821)
Luminance0.0252 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291A76 #67761A
analogous
#1A3976 #291A76 #571A76
triadic
#291A76 #76291A #1A7629
tetradic
#291A76 #761A39 #67761A #1A7657
square
#291A76 #761A39 #67761A #1A7657
split-complementary
#291A76 #76571A #39761A
monochromatic
#090619 #180F44 #291A76 #3A25A8 #5137D3

Accessibility & contrast

On white

13.97
#291A76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#291A76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291A76
13.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291A76#FFFFFF#000000##FFFFFF
##291A761.0013.971.5013.97
#FFFFFF13.971.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F79
Deuteranopia (green-blind)
#002974
Tritanopia (blue-blind)
#003447
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #291a76;
/* rgb */ color: rgb(41, 26, 118);
/* oklch */ color: oklch(30.9% 0.147 280.9);
Tailwind
colors: {
  custom: {
    50: '#6e599e',
    500: '#291a76',
    950: '#000000',
  },
}
SCSS
$custom: #291a76;
$custom-light: #6e599e;
$custom-dark: #000000;
JSON
{
  "hex": "#291a76",
  "rgb": {
    "r": 41,
    "g": 26,
    "b": 118
  },
  "hsl": {
    "h": 249.783,
    "s": 63.889,
    "l": 28.235
  },
  "oklch": {
    "l": 0.30851,
    "c": 0.14655,
    "h": 280.9
  },
  "luminance": 0.02518
}

Semantic roles & 50–950 ramp

primary
#291A76
secondary
#99AB41
accent
#E741CC
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030E
muted
#7B787E

Preview Lab

Preview with #291A76

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

Preview Lab → · Contrast checker → · Palette generator →

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