#291E80#291E80

#291E80 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.5% C 0.155 H 278.4°. Best body text is #FFFFFF at 13.19:1 contrast (WCAG AA passes).

Color values

HEX#291E80
RGBrgb(41, 30, 128)
HSLhsl(247, 62%, 31%)
HSVhsv(247, 77%, 50%)
CMYKcmyk(68%, 76.6%, 0%, 49.8%)
CIE-LABlab(19.87, 36.07, -53.17)
CIE-LCHlch(19.87, 64.25, 304.16°)
OKLaboklab(32.5% 0.0226 -0.1535)
OKLCHoklch(32.5% 0.155 278.4)
XYZxyz(5.2738, 2.9580, 20.7109)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291E80 #75801E
analogous
#1E4480 #291E80 #5A1E80
triadic
#291E80 #80291E #1E8029
tetradic
#291E80 #801E44 #75801E #1E805A
square
#291E80 #801E44 #75801E #1E805A
split-complementary
#291E80 #805A1E #44801E
monochromatic
#09071D #19124E #291E80 #392AB2 #5545D3

Accessibility & contrast

On white

13.19
#291E80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #291E80
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291E80#FFFFFF#000000##FFFFFF
##291E801.0013.191.5913.19
#FFFFFF13.191.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003483
Deuteranopia (green-blind)
#002C7E
Tritanopia (blue-blind)
#003A4D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #291e80;
/* rgb */ color: rgb(41, 30, 128);
/* oklch */ color: oklch(32.5% 0.155 278.4);
Tailwind
colors: {
  custom: {
    50: '#705ca6',
    500: '#291e80',
    950: '#000000',
  },
}
SCSS
$custom: #291e80;
$custom-light: #705ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#291e80",
  "rgb": {
    "r": 41,
    "g": 30,
    "b": 128
  },
  "hsl": {
    "h": 246.735,
    "s": 62.025,
    "l": 30.98
  },
  "oklch": {
    "l": 0.32496,
    "c": 0.15518,
    "h": 278.4
  },
  "luminance": 0.02958
}

Semantic roles & 50–950 ramp

primary
#291E80
secondary
#A7B347
accent
#E543D3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #291E80

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

Preview Lab → · Contrast checker → · Palette generator →

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