#291B83#291B83

#291B83 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.4% C 0.162 H 278.4°. Best body text is #FFFFFF at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#291B83
RGBrgb(41, 27, 131)
HSLhsl(248, 66%, 31%)
HSVhsv(248, 79%, 51%)
CMYKcmyk(68.7%, 79.4%, 0%, 48.6%)
CIE-LABlab(19.61, 38.74, -55.50)
CIE-LCHlch(19.61, 67.68, 304.91°)
OKLaboklab(32.41% 0.0237 -0.1603)
OKLCHoklch(32.41% 0.162 278.4)
XYZxyz(5.4018, 2.8935, 21.7422)
Luminance0.0289 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291B83 #75831B
analogous
#1B4183 #291B83 #5D1B83
triadic
#291B83 #83291B #1B8329
tetradic
#291B83 #831B41 #75831B #1B835D
square
#291B83 #831B41 #75831B #1B835D
split-complementary
#291B83 #835D1B #41831B
monochromatic
#09061E #191150 #291B83 #3925B6 #5541D8

Accessibility & contrast

On white

13.30
#291B83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#291B83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291B83
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291B83#FFFFFF#000000##FFFFFF
##291B831.0013.301.5813.30
#FFFFFF13.301.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003386
Deuteranopia (green-blind)
#002B81
Tritanopia (blue-blind)
#003A4E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #291b83;
/* rgb */ color: rgb(41, 27, 131);
/* oklch */ color: oklch(32.4% 0.162 278.4);
Tailwind
colors: {
  custom: {
    50: '#715aa8',
    500: '#291b83',
    950: '#000000',
  },
}
SCSS
$custom: #291b83;
$custom-light: #715aa8;
$custom-dark: #000000;
JSON
{
  "hex": "#291b83",
  "rgb": {
    "r": 41,
    "g": 27,
    "b": 131
  },
  "hsl": {
    "h": 248.077,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.32408,
    "c": 0.16204,
    "h": 278.4
  },
  "luminance": 0.02894
}

Semantic roles & 50–950 ramp

primary
#291B83
secondary
#A7B643
accent
#E93FD2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #291B83

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

Preview Lab → · Contrast checker → · Palette generator →

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