#291A79#291A79

#291A79 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.2% C 0.150 H 280.3°. Best body text is #FFFFFF at 13.83:1 contrast (WCAG AA passes).

Color values

HEX#291A79
RGBrgb(41, 26, 121)
HSLhsl(249, 65%, 29%)
HSVhsv(249, 79%, 47%)
CMYKcmyk(66.1%, 78.5%, 0%, 52.5%)
CIE-LABlab(18.32, 36.02, -51.27)
CIE-LCHlch(18.32, 62.66, 305.09°)
OKLaboklab(31.18% 0.027 -0.148)
OKLCHoklch(31.18% 0.15 280.3)
XYZxyz(4.7339, 2.5903, 18.3360)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291A79 #6A791A
analogous
#1A3B79 #291A79 #591A79
triadic
#291A79 #79291A #1A7929
tetradic
#291A79 #791A3B #6A791A #1A7959
square
#291A79 #791A3B #6A791A #1A7959
split-complementary
#291A79 #79591A #3B791A
monochromatic
#090519 #180F47 #291A79 #3A25AB #5239D4

Accessibility & contrast

On white

13.83
#291A79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #291A79
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291A79#FFFFFF#000000##FFFFFF
##291A791.0013.831.5213.83
#FFFFFF13.831.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00307C
Deuteranopia (green-blind)
#002977
Tritanopia (blue-blind)
#003548
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #291a79;
/* rgb */ color: rgb(41, 26, 121);
/* oklch */ color: oklch(31.2% 0.150 280.3);
Tailwind
colors: {
  custom: {
    50: '#6f59a1',
    500: '#291a79',
    950: '#000000',
  },
}
SCSS
$custom: #291a79;
$custom-light: #6f59a1;
$custom-dark: #000000;
JSON
{
  "hex": "#291a79",
  "rgb": {
    "r": 41,
    "g": 26,
    "b": 121
  },
  "hsl": {
    "h": 249.474,
    "s": 64.626,
    "l": 28.824
  },
  "oklch": {
    "l": 0.31175,
    "c": 0.1504,
    "h": 280.3
  },
  "luminance": 0.02591
}

Semantic roles & 50–950 ramp

primary
#291A79
secondary
#9CAD41
accent
#E840CD
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#08030F
muted
#7B787F

Preview Lab

Preview with #291A79

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

Preview Lab → · Contrast checker → · Palette generator →

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