#291B94#291B94

#291B94 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.3% C 0.183 H 276.0°. Best body text is #FFFFFF at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#291B94
RGBrgb(41, 27, 148)
HSLhsl(247, 69%, 34%)
HSVhsv(247, 82%, 58%)
CMYKcmyk(72.3%, 81.8%, 0%, 42%)
CIE-LABlab(21.55, 44.16, -62.91)
CIE-LCHlch(21.55, 76.87, 305.07°)
OKLaboklab(34.33% 0.019 -0.1819)
OKLCHoklch(34.33% 0.183 276)
XYZxyz(6.6499, 3.3928, 28.3156)
Luminance0.0339 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291B94 #86941B
analogous
#1B4A94 #291B94 #661B94
triadic
#291B94 #94291B #1B9429
tetradic
#291B94 #941B4A #86941B #1B9466
square
#291B94 #941B4A #86941B #1B9466
split-complementary
#291B94 #94661B #4A941B
monochromatic
#0C082C #1B1260 #291B94 #3724C8 #5C4BDE

Accessibility & contrast

On white

12.51
#291B94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#291B94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291B94
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291B94#FFFFFF#000000##FFFFFF
##291B941.0012.511.6812.51
#FFFFFF12.511.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003997
Deuteranopia (green-blind)
#002E92
Tritanopia (blue-blind)
#004158
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #291b94;
/* rgb */ color: rgb(41, 27, 148);
/* oklch */ color: oklch(34.3% 0.183 276.0);
Tailwind
colors: {
  custom: {
    50: '#755bb5',
    500: '#291b94',
    950: '#000000',
  },
}
SCSS
$custom: #291b94;
$custom-light: #755bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#291b94",
  "rgb": {
    "r": 41,
    "g": 27,
    "b": 148
  },
  "hsl": {
    "h": 246.942,
    "s": 69.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.34333,
    "c": 0.18285,
    "h": 276
  },
  "luminance": 0.03393
}

Semantic roles & 50–950 ramp

primary
#291B94
secondary
#B3C04B
accent
#EC3CD8
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #291B94

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

Preview Lab → · Contrast checker → · Palette generator →

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