#291A90#291A90

#291A90 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.8% C 0.179 H 276.6°. Best body text is #FFFFFF at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#291A90
RGBrgb(41, 26, 144)
HSLhsl(248, 69%, 33%)
HSVhsv(248, 82%, 56%)
CMYKcmyk(71.5%, 81.9%, 0%, 43.5%)
CIE-LABlab(20.92, 43.40, -61.49)
CIE-LCHlch(20.92, 75.26, 305.22°)
OKLaboklab(33.76% 0.0205 -0.1777)
OKLCHoklch(33.76% 0.179 276.6)
XYZxyz(6.3162, 3.2232, 26.6694)
Luminance0.0322 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291A90 #81901A
analogous
#1A4690 #291A90 #641A90
triadic
#291A90 #90291A #1A9029
tetradic
#291A90 #901A46 #81901A #1A9064
square
#291A90 #901A46 #81901A #1A9064
split-complementary
#291A90 #90641A #46901A
monochromatic
#0B0728 #1A115C #291A90 #3823C4 #5A47DE

Accessibility & contrast

On white

12.77
#291A90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#291A90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291A90
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291A90#FFFFFF#000000##FFFFFF
##291A901.0012.771.6412.77
#FFFFFF12.771.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003793
Deuteranopia (green-blind)
#002D8E
Tritanopia (blue-blind)
#003F56
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #291a90;
/* rgb */ color: rgb(41, 26, 144);
/* oklch */ color: oklch(33.8% 0.179 276.6);
Tailwind
colors: {
  custom: {
    50: '#745ab2',
    500: '#291a90',
    950: '#000000',
  },
}
SCSS
$custom: #291a90;
$custom-light: #745ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#291a90",
  "rgb": {
    "r": 41,
    "g": 26,
    "b": 144
  },
  "hsl": {
    "h": 247.627,
    "s": 69.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.33755,
    "c": 0.17889,
    "h": 276.6
  },
  "luminance": 0.03224
}

Semantic roles & 50–950 ramp

primary
#291A90
secondary
#B0BF47
accent
#EC3CD6
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #291A90

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

Preview Lab → · Contrast checker → · Palette generator →

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