#291A78#291A78

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

Color values

HEX#291A78
RGBrgb(41, 26, 120)
HSLhsl(250, 64%, 29%)
HSVhsv(250, 78%, 47%)
CMYKcmyk(65.8%, 78.3%, 0%, 52.9%)
CIE-LABlab(18.21, 35.69, -50.81)
CIE-LCHlch(18.21, 62.09, 305.09°)
OKLaboklab(31.07% 0.0272 -0.1466)
OKLCHoklch(31.07% 0.149 280.5)
XYZxyz(4.6729, 2.5659, 18.0147)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291A78 #69781A
analogous
#1A3A78 #291A78 #581A78
triadic
#291A78 #78291A #1A7829
tetradic
#291A78 #781A3A #69781A #1A7858
square
#291A78 #781A3A #69781A #1A7858
split-complementary
#291A78 #78581A #3A781A
monochromatic
#090519 #180F46 #291A78 #3A25AA #5138D4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##291A78#FFFFFF#000000##FFFFFF
##291A781.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)
#00307B
Deuteranopia (green-blind)
#002976
Tritanopia (blue-blind)
#003548
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #291a78;
/* rgb */ color: rgb(41, 26, 120);
/* oklch */ color: oklch(31.1% 0.149 280.5);
Tailwind
colors: {
  custom: {
    50: '#6e59a0',
    500: '#291a78',
    950: '#000000',
  },
}
SCSS
$custom: #291a78;
$custom-light: #6e59a0;
$custom-dark: #000000;
JSON
{
  "hex": "#291a78",
  "rgb": {
    "r": 41,
    "g": 26,
    "b": 120
  },
  "hsl": {
    "h": 249.574,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.31067,
    "c": 0.14912,
    "h": 280.5
  },
  "luminance": 0.02566
}

Semantic roles & 50–950 ramp

primary
#291A78
secondary
#9BAC41
accent
#E740CD
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#08030F
muted
#7B787F

Preview Lab

Preview with #291A78

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

Preview Lab → · Contrast checker → · Palette generator →

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