#291C80#291C80

#291C80 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.2% C 0.157 H 278.7°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#291C80
RGBrgb(41, 28, 128)
HSLhsl(248, 64%, 31%)
HSVhsv(248, 78%, 50%)
CMYKcmyk(68%, 78.1%, 0%, 49.8%)
CIE-LABlab(19.47, 37.21, -53.83)
CIE-LCHlch(19.47, 65.44, 304.65°)
OKLaboklab(32.21% 0.0239 -0.1554)
OKLCHoklch(32.21% 0.157 278.7)
XYZxyz(5.2247, 2.8600, 20.6946)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291C80 #73801C
analogous
#1C4180 #291C80 #5B1C80
triadic
#291C80 #80291C #1C8029
tetradic
#291C80 #801C41 #73801C #1C805B
square
#291C80 #801C41 #73801C #1C805B
split-complementary
#291C80 #805B1C #41801C
monochromatic
#09061C #19114E #291C80 #3927B2 #5441D5

Accessibility & contrast

On white

13.36
#291C80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#291C80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291C80
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291C80#FFFFFF#000000##FFFFFF
##291C801.0013.361.5713.36
#FFFFFF13.361.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.361.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: #291c80;
/* rgb */ color: rgb(41, 28, 128);
/* oklch */ color: oklch(32.2% 0.157 278.7);
Tailwind
colors: {
  custom: {
    50: '#705aa6',
    500: '#291c80',
    950: '#000000',
  },
}
SCSS
$custom: #291c80;
$custom-light: #705aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#291c80",
  "rgb": {
    "r": 41,
    "g": 28,
    "b": 128
  },
  "hsl": {
    "h": 247.8,
    "s": 64.103,
    "l": 30.588
  },
  "oklch": {
    "l": 0.32213,
    "c": 0.15726,
    "h": 278.7
  },
  "luminance": 0.0286
}

Semantic roles & 50–950 ramp

primary
#291C80
secondary
#A5B344
accent
#E741D1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #291C80

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

Preview Lab → · Contrast checker → · Palette generator →

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