#291D83#291D83

#291D83 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.7% C 0.160 H 278.1°. Best body text is #FFFFFF at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#291D83
RGBrgb(41, 29, 131)
HSLhsl(247, 64%, 31%)
HSVhsv(247, 78%, 51%)
CMYKcmyk(68.7%, 77.9%, 0%, 48.6%)
CIE-LABlab(20.00, 37.64, -54.86)
CIE-LCHlch(20.00, 66.53, 304.45°)
OKLaboklab(32.68% 0.0225 -0.1585)
OKLCHoklch(32.68% 0.16 278.1)
XYZxyz(5.4492, 2.9884, 21.7580)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291D83 #77831D
analogous
#1D4483 #291D83 #5C1D83
triadic
#291D83 #83291D #1D8329
tetradic
#291D83 #831D44 #77831D #1D835C
square
#291D83 #831D44 #77831D #1D835C
split-complementary
#291D83 #835C1D #44831D
monochromatic
#0A071F #191251 #291D83 #3928B5 #5645D6

Accessibility & contrast

On white

13.14
#291D83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#291D83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291D83
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291D83#FFFFFF#000000##FFFFFF
##291D831.0013.141.6013.14
#FFFFFF13.141.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #291d83;
/* rgb */ color: rgb(41, 29, 131);
/* oklch */ color: oklch(32.7% 0.160 278.1);
Tailwind
colors: {
  custom: {
    50: '#715ba8',
    500: '#291d83',
    950: '#000000',
  },
}
SCSS
$custom: #291d83;
$custom-light: #715ba8;
$custom-dark: #000000;
JSON
{
  "hex": "#291d83",
  "rgb": {
    "r": 41,
    "g": 29,
    "b": 131
  },
  "hsl": {
    "h": 247.059,
    "s": 63.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.32679,
    "c": 0.16006,
    "h": 278.1
  },
  "luminance": 0.02989
}

Semantic roles & 50–950 ramp

primary
#291D83
secondary
#A9B646
accent
#E741D3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #291D83

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

Preview Lab → · Contrast checker → · Palette generator →

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