#291A8B#291A8B

#291A8B is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.2% C 0.173 H 277.3°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#291A8B
RGBrgb(41, 26, 139)
HSLhsl(248, 68%, 32%)
HSVhsv(248, 81%, 55%)
CMYKcmyk(70.5%, 81.3%, 0%, 45.5%)
CIE-LABlab(20.34, 41.82, -59.33)
CIE-LCHlch(20.34, 72.59, 305.18°)
OKLaboklab(33.18% 0.022 -0.1714)
OKLCHoklch(33.18% 0.173 277.3)
XYZxyz(5.9425, 3.0738, 24.7012)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291A8B #7C8B1A
analogous
#1A438B #291A8B #621A8B
triadic
#291A8B #8B291A #1A8B29
tetradic
#291A8B #8B1A43 #7C8B1A #1A8B62
square
#291A8B #8B1A43 #7C8B1A #1A8B62
split-complementary
#291A8B #8B621A #438B1A
monochromatic
#0B0724 #1A1057 #291A8B #3824BF #5843DC

Accessibility & contrast

On white

13.00
#291A8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#291A8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291A8B
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291A8B#FFFFFF#000000##FFFFFF
##291A8B1.0013.001.6113.00
#FFFFFF13.001.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00368E
Deuteranopia (green-blind)
#002C89
Tritanopia (blue-blind)
#003D53
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #291a8b;
/* rgb */ color: rgb(41, 26, 139);
/* oklch */ color: oklch(33.2% 0.173 277.3);
Tailwind
colors: {
  custom: {
    50: '#735aae',
    500: '#291a8b',
    950: '#000000',
  },
}
SCSS
$custom: #291a8b;
$custom-light: #735aae;
$custom-dark: #000000;
JSON
{
  "hex": "#291a8b",
  "rgb": {
    "r": 41,
    "g": 26,
    "b": 139
  },
  "hsl": {
    "h": 247.965,
    "s": 68.485,
    "l": 32.353
  },
  "oklch": {
    "l": 0.33182,
    "c": 0.17283,
    "h": 277.3
  },
  "luminance": 0.03074
}

Semantic roles & 50–950 ramp

primary
#291A8B
secondary
#ADBD44
accent
#EB3CD4
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090410
muted
#7B797F

Preview Lab

Preview with #291A8B

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

Preview Lab → · Contrast checker → · Palette generator →

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