#291D80#291D80

#291D80 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.4% C 0.156 H 278.5°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#291D80
RGBrgb(41, 29, 128)
HSLhsl(247, 63%, 31%)
HSVhsv(247, 77%, 50%)
CMYKcmyk(68%, 77.3%, 0%, 49.8%)
CIE-LABlab(19.67, 36.64, -53.50)
CIE-LCHlch(19.67, 64.85, 304.41°)
OKLaboklab(32.35% 0.0232 -0.1545)
OKLCHoklch(32.35% 0.156 278.5)
XYZxyz(5.2488, 2.9082, 20.7026)
Luminance0.0291 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291D80 #74801D
analogous
#1D4280 #291D80 #5A1D80
triadic
#291D80 #80291D #1D8029
tetradic
#291D80 #801D42 #74801D #1D805A
square
#291D80 #801D42 #74801D #1D805A
split-complementary
#291D80 #805A1D #42801D
monochromatic
#09061C #19124E #291D80 #3928B2 #5543D4

Accessibility & contrast

On white

13.28
#291D80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#291D80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291D80
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291D80#FFFFFF#000000##FFFFFF
##291D801.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003383
Deuteranopia (green-blind)
#002C7E
Tritanopia (blue-blind)
#00394D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #291d80;
/* rgb */ color: rgb(41, 29, 128);
/* oklch */ color: oklch(32.4% 0.156 278.5);
Tailwind
colors: {
  custom: {
    50: '#705ba6',
    500: '#291d80',
    950: '#000000',
  },
}
SCSS
$custom: #291d80;
$custom-light: #705ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#291d80",
  "rgb": {
    "r": 41,
    "g": 29,
    "b": 128
  },
  "hsl": {
    "h": 247.273,
    "s": 63.057,
    "l": 30.784
  },
  "oklch": {
    "l": 0.32353,
    "c": 0.15624,
    "h": 278.5
  },
  "luminance": 0.02909
}

Semantic roles & 50–950 ramp

primary
#291D80
secondary
#A6B345
accent
#E642D2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #291D80

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

Preview Lab → · Contrast checker → · Palette generator →

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