#291E83#291E83

#291E83 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.8% C 0.159 H 277.9°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#291E83
RGBrgb(41, 30, 131)
HSLhsl(247, 63%, 32%)
HSVhsv(247, 77%, 51%)
CMYKcmyk(68.7%, 77.1%, 0%, 48.6%)
CIE-LABlab(20.20, 37.07, -54.53)
CIE-LCHlch(20.20, 65.94, 304.21°)
OKLaboklab(32.82% 0.0219 -0.1575)
OKLCHoklch(32.82% 0.159 277.9)
XYZxyz(5.4741, 3.0382, 21.7663)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291E83 #78831E
analogous
#1E4683 #291E83 #5C1E83
triadic
#291E83 #83291E #1E8329
tetradic
#291E83 #831E46 #78831E #1E835C
square
#291E83 #831E46 #78831E #1E835C
split-complementary
#291E83 #835C1E #46831E
monochromatic
#0A071F #191351 #291E83 #3929B5 #5647D5

Accessibility & contrast

On white

13.06
#291E83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#291E83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291E83
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291E83#FFFFFF#000000##FFFFFF
##291E831.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #291e83;
/* rgb */ color: rgb(41, 30, 131);
/* oklch */ color: oklch(32.8% 0.159 277.9);
Tailwind
colors: {
  custom: {
    50: '#705ca8',
    500: '#291e83',
    950: '#000000',
  },
}
SCSS
$custom: #291e83;
$custom-light: #705ca8;
$custom-dark: #000000;
JSON
{
  "hex": "#291e83",
  "rgb": {
    "r": 41,
    "g": 30,
    "b": 131
  },
  "hsl": {
    "h": 246.535,
    "s": 62.733,
    "l": 31.569
  },
  "oklch": {
    "l": 0.32819,
    "c": 0.15903,
    "h": 277.9
  },
  "luminance": 0.03039
}

Semantic roles & 50–950 ramp

primary
#291E83
secondary
#AAB647
accent
#E642D4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #291E83

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

Preview Lab → · Contrast checker → · Palette generator →

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