#291D8E#291D8E

#291D8E is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.9% C 0.174 H 276.5°. Best body text is #FFFFFF at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#291D8E
RGBrgb(41, 29, 142)
HSLhsl(246, 66%, 34%)
HSVhsv(246, 80%, 56%)
CMYKcmyk(71.1%, 79.6%, 0%, 44.3%)
CIE-LABlab(21.22, 41.23, -59.74)
CIE-LCHlch(21.22, 72.59, 304.61°)
OKLaboklab(33.9% 0.0197 -0.1727)
OKLCHoklch(33.9% 0.174 276.5)
XYZxyz(6.2347, 3.3026, 25.8948)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291D8E #828E1D
analogous
#1D498E #291D8E #611D8E
triadic
#291D8E #8E291D #1D8E29
tetradic
#291D8E #8E1D49 #828E1D #1D8E61
square
#291D8E #8E1D49 #828E1D #1D8E61
split-complementary
#291D8E #8E611D #498E1D
monochromatic
#0C0828 #1A135B #291D8E #3827C1 #5A4BDA

Accessibility & contrast

On white

12.65
#291D8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#291D8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291D8E
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291D8E#FFFFFF#000000##FFFFFF
##291D8E1.0012.651.6612.65
#FFFFFF12.651.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003891
Deuteranopia (green-blind)
#002E8C
Tritanopia (blue-blind)
#003F55
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #291d8e;
/* rgb */ color: rgb(41, 29, 142);
/* oklch */ color: oklch(33.9% 0.174 276.5);
Tailwind
colors: {
  custom: {
    50: '#735cb0',
    500: '#291d8e',
    950: '#000000',
  },
}
SCSS
$custom: #291d8e;
$custom-light: #735cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#291d8e",
  "rgb": {
    "r": 41,
    "g": 29,
    "b": 142
  },
  "hsl": {
    "h": 246.372,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.33896,
    "c": 0.17381,
    "h": 276.5
  },
  "luminance": 0.03303
}

Semantic roles & 50–950 ramp

primary
#291D8E
secondary
#B0BD4A
accent
#E93FD7
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #291D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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