#291A80#291A80

#291A80 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.9% C 0.159 H 279.1°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#291A80
RGBrgb(41, 26, 128)
HSLhsl(249, 66%, 30%)
HSVhsv(249, 80%, 50%)
CMYKcmyk(68%, 79.7%, 0%, 49.8%)
CIE-LABlab(19.09, 38.30, -54.46)
CIE-LCHlch(19.09, 66.58, 305.12°)
OKLaboklab(31.94% 0.0251 -0.1573)
OKLCHoklch(31.94% 0.159 279.1)
XYZxyz(5.1789, 2.7683, 20.6793)
Luminance0.0277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291A80 #71801A
analogous
#1A3E80 #291A80 #5C1A80
triadic
#291A80 #80291A #1A8029
tetradic
#291A80 #801A3E #71801A #1A805C
square
#291A80 #801A3E #71801A #1A805C
split-complementary
#291A80 #805C1A #3E801A
monochromatic
#08051A #19104D #291A80 #3924B3 #543DD8

Accessibility & contrast

On white

13.52
#291A80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#291A80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291A80
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291A80#FFFFFF#000000##FFFFFF
##291A801.0013.521.5513.52
#FFFFFF13.521.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003283
Deuteranopia (green-blind)
#002A7E
Tritanopia (blue-blind)
#00384C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #291a80;
/* rgb */ color: rgb(41, 26, 128);
/* oklch */ color: oklch(31.9% 0.159 279.1);
Tailwind
colors: {
  custom: {
    50: '#7059a6',
    500: '#291a80',
    950: '#000000',
  },
}
SCSS
$custom: #291a80;
$custom-light: #7059a6;
$custom-dark: #000000;
JSON
{
  "hex": "#291a80",
  "rgb": {
    "r": 41,
    "g": 26,
    "b": 128
  },
  "hsl": {
    "h": 248.824,
    "s": 66.234,
    "l": 30.196
  },
  "oklch": {
    "l": 0.31944,
    "c": 0.15926,
    "h": 279.1
  },
  "luminance": 0.02769
}

Semantic roles & 50–950 ramp

primary
#291A80
secondary
#A3B442
accent
#E93FD0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #291A80

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

Preview Lab → · Contrast checker → · Palette generator →

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