#291D92#291D92

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

Color values

HEX#291D92
RGBrgb(41, 29, 146)
HSLhsl(246, 67%, 34%)
HSVhsv(246, 80%, 57%)
CMYKcmyk(71.9%, 80.1%, 0%, 42.7%)
CIE-LABlab(21.67, 42.52, -61.48)
CIE-LCHlch(21.67, 74.75, 304.67°)
OKLaboklab(34.35% 0.0186 -0.1777)
OKLCHoklch(34.35% 0.179 276)
XYZxyz(6.5404, 3.4249, 27.5049)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291D92 #86921D
analogous
#1D4C92 #291D92 #641D92
triadic
#291D92 #92291D #1D9229
tetradic
#291D92 #921D4C #86921D #1D9264
square
#291D92 #921D4C #86921D #1D9264
split-complementary
#291D92 #92641D #4C921D
monochromatic
#0C092C #1B135F #291D92 #3727C5 #5C4EDC

Accessibility & contrast

On white

12.46
#291D92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#291D92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291D92
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291D92#FFFFFF#000000##FFFFFF
##291D921.0012.461.6912.46
#FFFFFF12.461.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003995
Deuteranopia (green-blind)
#002F90
Tritanopia (blue-blind)
#004157
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #291d92;
/* rgb */ color: rgb(41, 29, 146);
/* oklch */ color: oklch(34.3% 0.179 276.0);
Tailwind
colors: {
  custom: {
    50: '#745cb3',
    500: '#291d92',
    950: '#000000',
  },
}
SCSS
$custom: #291d92;
$custom-light: #745cb3;
$custom-dark: #000000;
JSON
{
  "hex": "#291d92",
  "rgb": {
    "r": 41,
    "g": 29,
    "b": 146
  },
  "hsl": {
    "h": 246.154,
    "s": 66.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.34347,
    "c": 0.1787,
    "h": 276
  },
  "luminance": 0.03425
}

Semantic roles & 50–950 ramp

primary
#291D92
secondary
#B3BE4C
accent
#EA3ED8
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #291D92

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

Preview Lab → · Contrast checker → · Palette generator →

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