#291A9E#291A9E

#291A9E is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.4% C 0.195 H 274.8°. Best body text is #FFFFFF at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#291A9E
RGBrgb(41, 26, 158)
HSLhsl(247, 72%, 36%)
HSVhsv(247, 84%, 62%)
CMYKcmyk(74.1%, 83.5%, 0%, 38%)
CIE-LABlab(22.58, 47.73, -67.36)
CIE-LCHlch(22.58, 82.56, 305.32°)
OKLaboklab(35.39% 0.0165 -0.1948)
OKLCHoklch(35.39% 0.195 274.8)
XYZxyz(7.4534, 3.6781, 32.6583)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291A9E #8F9E1A
analogous
#1A4D9E #291A9E #6B1A9E
triadic
#291A9E #9E291A #1A9E29
tetradic
#291A9E #9E1A4D #8F9E1A #1A9E6B
square
#291A9E #9E1A4D #8F9E1A #1A9E6B
split-complementary
#291A9E #9E6B1A #4D9E1A
monochromatic
#0E0935 #1B1169 #291A9E #3723D3 #6150E2

Accessibility & contrast

On white

12.10
#291A9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#291A9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291A9E
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291A9E#FFFFFF#000000##FFFFFF
##291A9E1.0012.101.7412.10
#FFFFFF12.101.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003CA2
Deuteranopia (green-blind)
#00309C
Tritanopia (blue-blind)
#00445E
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #291a9e;
/* rgb */ color: rgb(41, 26, 158);
/* oklch */ color: oklch(35.4% 0.195 274.8);
Tailwind
colors: {
  custom: {
    50: '#775bbc',
    500: '#291a9e',
    950: '#000000',
  },
}
SCSS
$custom: #291a9e;
$custom-light: #775bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#291a9e",
  "rgb": {
    "r": 41,
    "g": 26,
    "b": 158
  },
  "hsl": {
    "h": 246.818,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.35386,
    "c": 0.19547,
    "h": 274.8
  },
  "luminance": 0.03679
}

Semantic roles & 50–950 ramp

primary
#291A9E
secondary
#B7C54F
accent
#EE39DA
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #291A9E

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

Preview Lab → · Contrast checker → · Palette generator →

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