#291A92#291A92

#291A92 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 34.0% C 0.181 H 276.3°. Best body text is #FFFFFF at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#291A92
RGBrgb(41, 26, 146)
HSLhsl(248, 70%, 34%)
HSVhsv(248, 82%, 57%)
CMYKcmyk(71.9%, 82.2%, 0%, 42.7%)
CIE-LABlab(21.15, 44.03, -62.34)
CIE-LCHlch(21.15, 76.32, 305.23°)
OKLaboklab(33.99% 0.02 -0.1802)
OKLCHoklch(33.99% 0.181 276.3)
XYZxyz(6.4705, 3.2849, 27.4816)
Luminance0.0329 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291A92 #83921A
analogous
#1A4792 #291A92 #651A92
triadic
#291A92 #92291A #1A9229
tetradic
#291A92 #921A47 #83921A #1A9265
square
#291A92 #921A47 #83921A #1A9265
split-complementary
#291A92 #92651A #47921A
monochromatic
#0C072A #1A115E #291A92 #3823C6 #5B48DE

Accessibility & contrast

On white

12.67
#291A92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #291A92
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291A92#FFFFFF#000000##FFFFFF
##291A921.0012.671.6612.67
#FFFFFF12.671.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #291a92;
/* rgb */ color: rgb(41, 26, 146);
/* oklch */ color: oklch(34.0% 0.181 276.3);
Tailwind
colors: {
  custom: {
    50: '#745bb3',
    500: '#291a92',
    950: '#000000',
  },
}
SCSS
$custom: #291a92;
$custom-light: #745bb3;
$custom-dark: #000000;
JSON
{
  "hex": "#291a92",
  "rgb": {
    "r": 41,
    "g": 26,
    "b": 146
  },
  "hsl": {
    "h": 247.5,
    "s": 69.767,
    "l": 33.725
  },
  "oklch": {
    "l": 0.33985,
    "c": 0.18129,
    "h": 276.3
  },
  "luminance": 0.03286
}

Semantic roles & 50–950 ramp

primary
#291A92
secondary
#B1C048
accent
#ED3BD6
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #291A92

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

Preview Lab → · Contrast checker → · Palette generator →

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