#291A8E#291A8E

#291A8E is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.5% C 0.176 H 276.9°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#291A8E
RGBrgb(41, 26, 142)
HSLhsl(248, 69%, 33%)
HSVhsv(248, 82%, 56%)
CMYKcmyk(71.1%, 81.7%, 0%, 44.3%)
CIE-LABlab(20.68, 42.77, -60.63)
CIE-LCHlch(20.68, 74.20, 305.20°)
OKLaboklab(33.53% 0.0211 -0.1752)
OKLCHoklch(33.53% 0.176 276.9)
XYZxyz(6.1647, 3.1626, 25.8715)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291A8E #7F8E1A
analogous
#1A458E #291A8E #631A8E
triadic
#291A8E #8E291A #1A8E29
tetradic
#291A8E #8E1A45 #7F8E1A #1A8E63
square
#291A8E #8E1A45 #7F8E1A #1A8E63
split-complementary
#291A8E #8E631A #458E1A
monochromatic
#0B0727 #1A115A #291A8E #3823C2 #5945DD

Accessibility & contrast

On white

12.86
#291A8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#291A8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291A8E
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291A8E#FFFFFF#000000##FFFFFF
##291A8E1.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003691
Deuteranopia (green-blind)
#002D8C
Tritanopia (blue-blind)
#003E54
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #291a8e;
/* rgb */ color: rgb(41, 26, 142);
/* oklch */ color: oklch(33.5% 0.176 276.9);
Tailwind
colors: {
  custom: {
    50: '#735ab0',
    500: '#291a8e',
    950: '#000000',
  },
}
SCSS
$custom: #291a8e;
$custom-light: #735ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#291a8e",
  "rgb": {
    "r": 41,
    "g": 26,
    "b": 142
  },
  "hsl": {
    "h": 247.759,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.33525,
    "c": 0.17648,
    "h": 276.9
  },
  "luminance": 0.03163
}

Semantic roles & 50–950 ramp

primary
#291A8E
secondary
#AFBE45
accent
#EC3CD5
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #291A8E

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

Preview Lab → · Contrast checker → · Palette generator →

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