#291B80#291B80

#291B80 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.1% C 0.158 H 278.9°. Best body text is #FFFFFF at 13.44:1 contrast (WCAG AA passes).

Color values

HEX#291B80
RGBrgb(41, 27, 128)
HSLhsl(248, 65%, 30%)
HSVhsv(248, 79%, 50%)
CMYKcmyk(68%, 78.9%, 0%, 49.8%)
CIE-LABlab(19.28, 37.76, -54.15)
CIE-LCHlch(19.28, 66.01, 304.89°)
OKLaboklab(32.08% 0.0245 -0.1564)
OKLCHoklch(32.08% 0.158 278.9)
XYZxyz(5.2014, 2.8134, 20.6868)
Luminance0.0281 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291B80 #72801B
analogous
#1B3F80 #291B80 #5B1B80
triadic
#291B80 #80291B #1B8029
tetradic
#291B80 #801B3F #72801B #1B805B
square
#291B80 #801B3F #72801B #1B805B
split-complementary
#291B80 #805B1B #3F801B
monochromatic
#09061B #19104D #291B80 #3926B3 #543FD6

Accessibility & contrast

On white

13.44
#291B80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#291B80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291B80
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291B80#FFFFFF#000000##FFFFFF
##291B801.0013.441.5613.44
#FFFFFF13.441.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003383
Deuteranopia (green-blind)
#002B7E
Tritanopia (blue-blind)
#00394D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #291b80;
/* rgb */ color: rgb(41, 27, 128);
/* oklch */ color: oklch(32.1% 0.158 278.9);
Tailwind
colors: {
  custom: {
    50: '#705aa6',
    500: '#291b80',
    950: '#000000',
  },
}
SCSS
$custom: #291b80;
$custom-light: #705aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#291b80",
  "rgb": {
    "r": 41,
    "g": 27,
    "b": 128
  },
  "hsl": {
    "h": 248.317,
    "s": 65.161,
    "l": 30.392
  },
  "oklch": {
    "l": 0.32077,
    "c": 0.15827,
    "h": 278.9
  },
  "luminance": 0.02814
}

Semantic roles & 50–950 ramp

primary
#291B80
secondary
#A4B443
accent
#E840D1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #291B80

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

Preview Lab → · Contrast checker → · Palette generator →

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