#291B92#291B92

#291B92 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 34.1% C 0.180 H 276.2°. Best body text is #FFFFFF at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#291B92
RGBrgb(41, 27, 146)
HSLhsl(247, 69%, 34%)
HSVhsv(247, 82%, 57%)
CMYKcmyk(71.9%, 81.5%, 0%, 42.7%)
CIE-LABlab(21.32, 43.53, -62.06)
CIE-LCHlch(21.32, 75.81, 305.05°)
OKLaboklab(34.1% 0.0195 -0.1794)
OKLCHoklch(34.1% 0.18 276.2)
XYZxyz(6.4930, 3.3300, 27.4891)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291B92 #84921B
analogous
#1B4992 #291B92 #651B92
triadic
#291B92 #92291B #1B9229
tetradic
#291B92 #921B49 #84921B #1B9265
square
#291B92 #921B49 #84921B #1B9265
split-complementary
#291B92 #92651B #49921B
monochromatic
#0C082B #1A115E #291B92 #3825C6 #5B4ADE

Accessibility & contrast

On white

12.60
#291B92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#291B92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291B92
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291B92#FFFFFF#000000##FFFFFF
##291B921.0012.601.6712.60
#FFFFFF12.601.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003895
Deuteranopia (green-blind)
#002E90
Tritanopia (blue-blind)
#004057
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #291b92;
/* rgb */ color: rgb(41, 27, 146);
/* oklch */ color: oklch(34.1% 0.180 276.2);
Tailwind
colors: {
  custom: {
    50: '#745bb3',
    500: '#291b92',
    950: '#000000',
  },
}
SCSS
$custom: #291b92;
$custom-light: #745bb3;
$custom-dark: #000000;
JSON
{
  "hex": "#291b92",
  "rgb": {
    "r": 41,
    "g": 27,
    "b": 146
  },
  "hsl": {
    "h": 247.059,
    "s": 68.786,
    "l": 33.922
  },
  "oklch": {
    "l": 0.34103,
    "c": 0.18045,
    "h": 276.2
  },
  "luminance": 0.03331
}

Semantic roles & 50–950 ramp

primary
#291B92
secondary
#B2BF49
accent
#EC3CD7
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #291B92

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

Preview Lab → · Contrast checker → · Palette generator →

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