#291F83#291F83

#291F83 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.0% C 0.158 H 277.7°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#291F83
RGBrgb(41, 31, 131)
HSLhsl(246, 62%, 32%)
HSVhsv(246, 76%, 51%)
CMYKcmyk(68.7%, 76.3%, 0%, 48.6%)
CIE-LABlab(20.40, 36.50, -54.20)
CIE-LCHlch(20.40, 65.34, 303.96°)
OKLaboklab(32.96% 0.0213 -0.1566)
OKLCHoklch(32.96% 0.158 277.7)
XYZxyz(5.4998, 3.0896, 21.7748)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291F83 #79831F
analogous
#1F4783 #291F83 #5B1F83
triadic
#291F83 #83291F #1F8329
tetradic
#291F83 #831F47 #79831F #1F835B
square
#291F83 #831F47 #79831F #1F835B
split-complementary
#291F83 #835B1F #47831F
monochromatic
#0A0820 #1A1352 #291F83 #382BB4 #5649D4

Accessibility & contrast

On white

12.98
#291F83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#291F83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291F83
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291F83#FFFFFF#000000##FFFFFF
##291F831.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003586
Deuteranopia (green-blind)
#002D81
Tritanopia (blue-blind)
#003C4F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #291f83;
/* rgb */ color: rgb(41, 31, 131);
/* oklch */ color: oklch(33.0% 0.158 277.7);
Tailwind
colors: {
  custom: {
    50: '#705ca8',
    500: '#291f83',
    950: '#000000',
  },
}
SCSS
$custom: #291f83;
$custom-light: #705ca8;
$custom-dark: #000000;
JSON
{
  "hex": "#291f83",
  "rgb": {
    "r": 41,
    "g": 31,
    "b": 131
  },
  "hsl": {
    "h": 246,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.32962,
    "c": 0.158,
    "h": 277.7
  },
  "luminance": 0.0309
}

Semantic roles & 50–950 ramp

primary
#291F83
secondary
#ABB648
accent
#E543D5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #291F83

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

Preview Lab → · Contrast checker → · Palette generator →

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