#291A9A#291A9A

#291A9A is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.9% C 0.191 H 275.3°. Best body text is #FFFFFF at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#291A9A
RGBrgb(41, 26, 154)
HSLhsl(247, 71%, 35%)
HSVhsv(247, 83%, 60%)
CMYKcmyk(73.4%, 83.1%, 0%, 39.6%)
CIE-LABlab(22.10, 46.51, -65.71)
CIE-LCHlch(22.10, 80.50, 305.29°)
OKLaboklab(34.92% 0.0177 -0.19)
OKLCHoklch(34.92% 0.191 275.3)
XYZxyz(7.1147, 3.5426, 30.8744)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291A9A #8B9A1A
analogous
#1A4B9A #291A9A #691A9A
triadic
#291A9A #9A291A #1A9A29
tetradic
#291A9A #9A1A4B #8B9A1A #1A9A69
square
#291A9A #9A1A4B #8B9A1A #1A9A69
split-complementary
#291A9A #9A691A #4B9A1A
monochromatic
#0D0831 #1B1166 #291A9A #3723CE #5F4DE1

Accessibility & contrast

On white

12.29
#291A9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#291A9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291A9A
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291A9A#FFFFFF#000000##FFFFFF
##291A9A1.0012.291.7112.29
#FFFFFF12.291.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A9D
Deuteranopia (green-blind)
#002F98
Tritanopia (blue-blind)
#00435B
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #291a9a;
/* rgb */ color: rgb(41, 26, 154);
/* oklch */ color: oklch(34.9% 0.191 275.3);
Tailwind
colors: {
  custom: {
    50: '#765bb9',
    500: '#291a9a',
    950: '#000000',
  },
}
SCSS
$custom: #291a9a;
$custom-light: #765bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#291a9a",
  "rgb": {
    "r": 41,
    "g": 26,
    "b": 154
  },
  "hsl": {
    "h": 247.031,
    "s": 71.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.34916,
    "c": 0.19078,
    "h": 275.3
  },
  "luminance": 0.03543
}

Semantic roles & 50–950 ramp

primary
#291A9A
secondary
#B5C34D
accent
#EE3AD9
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #291A9A

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

Preview Lab → · Contrast checker → · Palette generator →

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