#291D93#291D93

#291D93 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.5% C 0.180 H 275.9°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#291D93
RGBrgb(41, 29, 147)
HSLhsl(246, 67%, 35%)
HSVhsv(246, 80%, 58%)
CMYKcmyk(72.1%, 80.3%, 0%, 42.4%)
CIE-LABlab(21.79, 42.84, -61.91)
CIE-LCHlch(21.79, 75.29, 304.68°)
OKLaboklab(34.46% 0.0184 -0.179)
OKLCHoklch(34.46% 0.18 275.9)
XYZxyz(6.6185, 3.4561, 27.9164)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291D93 #87931D
analogous
#1D4C93 #291D93 #641D93
triadic
#291D93 #93291D #1D9329
tetradic
#291D93 #931D4C #87931D #1D9364
square
#291D93 #931D4C #87931D #1D9364
split-complementary
#291D93 #93641D #4C931D
monochromatic
#0C092D #1B1360 #291D93 #3727C6 #5D4EDC

Accessibility & contrast

On white

12.42
#291D93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #291D93
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291D93#FFFFFF#000000##FFFFFF
##291D931.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #291d93;
/* rgb */ color: rgb(41, 29, 147);
/* oklch */ color: oklch(34.5% 0.180 275.9);
Tailwind
colors: {
  custom: {
    50: '#745cb4',
    500: '#291d93',
    950: '#000000',
  },
}
SCSS
$custom: #291d93;
$custom-light: #745cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#291d93",
  "rgb": {
    "r": 41,
    "g": 29,
    "b": 147
  },
  "hsl": {
    "h": 246.102,
    "s": 67.045,
    "l": 34.51
  },
  "oklch": {
    "l": 0.3446,
    "c": 0.17992,
    "h": 275.9
  },
  "luminance": 0.03457
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #291D93

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

Preview Lab → · Contrast checker → · Palette generator →

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