#291B90#291B90

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

Color values

HEX#291B90
RGBrgb(41, 27, 144)
HSLhsl(247, 68%, 34%)
HSVhsv(247, 81%, 56%)
CMYKcmyk(71.5%, 81.3%, 0%, 43.5%)
CIE-LABlab(21.09, 42.90, -61.20)
CIE-LCHlch(21.09, 74.74, 305.03°)
OKLaboklab(33.87% 0.0201 -0.1769)
OKLCHoklch(33.87% 0.178 276.5)
XYZxyz(6.3388, 3.2683, 26.6769)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291B90 #82901B
analogous
#1B4890 #291B90 #631B90
triadic
#291B90 #90291B #1B9029
tetradic
#291B90 #901B48 #82901B #1B9063
square
#291B90 #901B48 #82901B #1B9063
split-complementary
#291B90 #90631B #48901B
monochromatic
#0C0829 #1A115C #291B90 #3825C4 #5A49DD

Accessibility & contrast

On white

12.70
#291B90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#291B90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291B90
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291B90#FFFFFF#000000##FFFFFF
##291B901.0012.701.6512.70
#FFFFFF12.701.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003793
Deuteranopia (green-blind)
#002E8E
Tritanopia (blue-blind)
#003F56
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #291b90;
/* rgb */ color: rgb(41, 27, 144);
/* oklch */ color: oklch(33.9% 0.178 276.5);
Tailwind
colors: {
  custom: {
    50: '#745bb2',
    500: '#291b90',
    950: '#000000',
  },
}
SCSS
$custom: #291b90;
$custom-light: #745bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#291b90",
  "rgb": {
    "r": 41,
    "g": 27,
    "b": 144
  },
  "hsl": {
    "h": 247.179,
    "s": 68.421,
    "l": 33.529
  },
  "oklch": {
    "l": 0.33874,
    "c": 0.17804,
    "h": 276.5
  },
  "luminance": 0.03269
}

Semantic roles & 50–950 ramp

primary
#291B90
secondary
#B0BF48
accent
#EB3DD6
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #291B90

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

Preview Lab → · Contrast checker → · Palette generator →

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