#291C83#291C83

#291C83 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.5% C 0.161 H 278.2°. Best body text is #FFFFFF at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#291C83
RGBrgb(41, 28, 131)
HSLhsl(248, 65%, 31%)
HSVhsv(248, 79%, 51%)
CMYKcmyk(68.7%, 78.6%, 0%, 48.6%)
CIE-LABlab(19.80, 38.19, -55.18)
CIE-LCHlch(19.80, 67.11, 304.69°)
OKLaboklab(32.54% 0.0231 -0.1594)
OKLCHoklch(32.54% 0.161 278.2)
XYZxyz(5.4251, 2.9402, 21.7499)
Luminance0.0294 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291C83 #76831C
analogous
#1C4283 #291C83 #5C1C83
triadic
#291C83 #83291C #1C8329
tetradic
#291C83 #831C42 #76831C #1C835C
square
#291C83 #831C42 #76831C #1C835C
split-complementary
#291C83 #835C1C #42831C
monochromatic
#09061E #191151 #291C83 #3927B5 #5543D7

Accessibility & contrast

On white

13.22
#291C83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#291C83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291C83
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291C83#FFFFFF#000000##FFFFFF
##291C831.0013.221.5913.22
#FFFFFF13.221.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003486
Deuteranopia (green-blind)
#002C81
Tritanopia (blue-blind)
#003A4E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #291c83;
/* rgb */ color: rgb(41, 28, 131);
/* oklch */ color: oklch(32.5% 0.161 278.2);
Tailwind
colors: {
  custom: {
    50: '#715ba8',
    500: '#291c83',
    950: '#000000',
  },
}
SCSS
$custom: #291c83;
$custom-light: #715ba8;
$custom-dark: #000000;
JSON
{
  "hex": "#291c83",
  "rgb": {
    "r": 41,
    "g": 28,
    "b": 131
  },
  "hsl": {
    "h": 247.573,
    "s": 64.78,
    "l": 31.176
  },
  "oklch": {
    "l": 0.32542,
    "c": 0.16106,
    "h": 278.2
  },
  "luminance": 0.02941
}

Semantic roles & 50–950 ramp

primary
#291C83
secondary
#A8B645
accent
#E840D3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #291C83

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

Preview Lab → · Contrast checker → · Palette generator →

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