#291DA1#291DA1

#291DA1 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 36.1% C 0.197 H 274.3°. Best body text is #FFFFFF at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#291DA1
RGBrgb(41, 29, 161)
HSLhsl(245, 69%, 37%)
HSVhsv(245, 82%, 63%)
CMYKcmyk(74.5%, 82%, 0%, 36.9%)
CIE-LABlab(23.41, 47.25, -67.81)
CIE-LCHlch(23.41, 82.65, 304.87°)
OKLaboklab(36.07% 0.0147 -0.1961)
OKLCHoklch(36.07% 0.197 274.3)
XYZxyz(7.7847, 3.9226, 34.0582)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291DA1 #95A11D
analogous
#1D53A1 #291DA1 #6B1DA1
triadic
#291DA1 #A1291D #1DA129
tetradic
#291DA1 #A11D53 #95A11D #1DA16B
square
#291DA1 #A11D53 #95A11D #1DA16B
split-complementary
#291DA1 #A16B1D #53A11D
monochromatic
#0F0A39 #1C146D #291DA1 #3626D5 #6458E1

Accessibility & contrast

On white

11.77
#291DA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#291DA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291DA1
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291DA1#FFFFFF#000000##FFFFFF
##291DA11.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA5
Deuteranopia (green-blind)
#00329F
Tritanopia (blue-blind)
#004760
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #291da1;
/* rgb */ color: rgb(41, 29, 161);
/* oklch */ color: oklch(36.1% 0.197 274.3);
Tailwind
colors: {
  custom: {
    50: '#785dbe',
    500: '#291da1',
    950: '#000000',
  },
}
SCSS
$custom: #291da1;
$custom-light: #785dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#291da1",
  "rgb": {
    "r": 41,
    "g": 29,
    "b": 161
  },
  "hsl": {
    "h": 245.455,
    "s": 69.474,
    "l": 37.255
  },
  "oklch": {
    "l": 0.36069,
    "c": 0.19666,
    "h": 274.3
  },
  "luminance": 0.03923
}

Semantic roles & 50–950 ramp

primary
#291DA1
secondary
#BAC455
accent
#EC3CDC
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #291DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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