#291E81#291E81

#291E81 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.6% C 0.156 H 278.2°. Best body text is #FFFFFF at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#291E81
RGBrgb(41, 30, 129)
HSLhsl(247, 62%, 31%)
HSVhsv(247, 77%, 51%)
CMYKcmyk(68.2%, 76.7%, 0%, 49.4%)
CIE-LABlab(19.98, 36.41, -53.62)
CIE-LCHlch(19.98, 64.82, 304.17°)
OKLaboklab(32.6% 0.0223 -0.1549)
OKLCHoklch(32.6% 0.156 278.2)
XYZxyz(5.3399, 2.9845, 21.0593)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291E81 #76811E
analogous
#1E4481 #291E81 #5A1E81
triadic
#291E81 #81291E #1E8129
tetradic
#291E81 #811E44 #76811E #1E815A
square
#291E81 #811E44 #76811E #1E815A
split-complementary
#291E81 #815A1E #44811E
monochromatic
#09071E #19124F #291E81 #392AB3 #5546D4

Accessibility & contrast

On white

13.15
#291E81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #291E81
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291E81#FFFFFF#000000##FFFFFF
##291E811.0013.151.6013.15
#FFFFFF13.151.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #291e81;
/* rgb */ color: rgb(41, 30, 129);
/* oklch */ color: oklch(32.6% 0.156 278.2);
Tailwind
colors: {
  custom: {
    50: '#705ca7',
    500: '#291e81',
    950: '#000000',
  },
}
SCSS
$custom: #291e81;
$custom-light: #705ca7;
$custom-dark: #000000;
JSON
{
  "hex": "#291e81",
  "rgb": {
    "r": 41,
    "g": 30,
    "b": 129
  },
  "hsl": {
    "h": 246.667,
    "s": 62.264,
    "l": 31.176
  },
  "oklch": {
    "l": 0.32603,
    "c": 0.15647,
    "h": 278.2
  },
  "luminance": 0.02985
}

Semantic roles & 50–950 ramp

primary
#291E81
secondary
#A8B447
accent
#E542D3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #291E81

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

Preview Lab → · Contrast checker → · Palette generator →

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