#291DA0#291DA0

#291DA0 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 36.0% C 0.195 H 274.4°. Best body text is #FFFFFF at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#291DA0
RGBrgb(41, 29, 160)
HSLhsl(245, 69%, 37%)
HSVhsv(245, 82%, 63%)
CMYKcmyk(74.4%, 81.9%, 0%, 37.3%)
CIE-LABlab(23.30, 46.94, -67.40)
CIE-LCHlch(23.30, 82.13, 304.86°)
OKLaboklab(35.95% 0.0149 -0.1949)
OKLCHoklch(35.95% 0.195 274.4)
XYZxyz(7.6969, 3.8874, 33.5956)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291DA0 #94A01D
analogous
#1D53A0 #291DA0 #6B1DA0
triadic
#291DA0 #A0291D #1DA029
tetradic
#291DA0 #A01D53 #94A01D #1DA06B
square
#291DA0 #A01D53 #94A01D #1DA06B
split-complementary
#291DA0 #A06B1D #53A01D
monochromatic
#0E0A38 #1C146C #291DA0 #3626D4 #6357E1

Accessibility & contrast

On white

11.81
#291DA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #291DA0
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291DA0#FFFFFF#000000##FFFFFF
##291DA01.0011.811.7811.81
#FFFFFF11.811.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA4
Deuteranopia (green-blind)
#00319E
Tritanopia (blue-blind)
#00465F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #291da0;
/* rgb */ color: rgb(41, 29, 160);
/* oklch */ color: oklch(36.0% 0.195 274.4);
Tailwind
colors: {
  custom: {
    50: '#775dbd',
    500: '#291da0',
    950: '#000000',
  },
}
SCSS
$custom: #291da0;
$custom-light: #775dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#291da0",
  "rgb": {
    "r": 41,
    "g": 29,
    "b": 160
  },
  "hsl": {
    "h": 245.496,
    "s": 69.312,
    "l": 37.059
  },
  "oklch": {
    "l": 0.35952,
    "c": 0.19548,
    "h": 274.4
  },
  "luminance": 0.03888
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #291DA0

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

Preview Lab → · Contrast checker → · Palette generator →

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