#291D9F#291D9F

#291D9F is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.8% C 0.194 H 274.5°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#291D9F
RGBrgb(41, 29, 159)
HSLhsl(246, 69%, 37%)
HSVhsv(246, 82%, 62%)
CMYKcmyk(74.2%, 81.8%, 0%, 37.6%)
CIE-LABlab(23.18, 46.63, -66.98)
CIE-LCHlch(23.18, 81.61, 304.84°)
OKLaboklab(35.84% 0.0152 -0.1937)
OKLCHoklch(35.84% 0.194 274.5)
XYZxyz(7.6098, 3.8526, 33.1367)
Luminance0.0385 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291D9F #939F1D
analogous
#1D529F #291D9F #6A1D9F
triadic
#291D9F #9F291D #1D9F29
tetradic
#291D9F #9F1D52 #939F1D #1D9F6A
square
#291D9F #9F1D52 #939F1D #1D9F6A
split-complementary
#291D9F #9F6A1D #529F1D
monochromatic
#0E0A37 #1C146B #291D9F #3626D3 #6356E0

Accessibility & contrast

On white

11.86
#291D9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#291D9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291D9F
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291D9F#FFFFFF#000000##FFFFFF
##291D9F1.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA3
Deuteranopia (green-blind)
#00319D
Tritanopia (blue-blind)
#00465F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #291d9f;
/* rgb */ color: rgb(41, 29, 159);
/* oklch */ color: oklch(35.8% 0.194 274.5);
Tailwind
colors: {
  custom: {
    50: '#775dbd',
    500: '#291d9f',
    950: '#000000',
  },
}
SCSS
$custom: #291d9f;
$custom-light: #775dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#291d9f",
  "rgb": {
    "r": 41,
    "g": 29,
    "b": 159
  },
  "hsl": {
    "h": 245.538,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.35836,
    "c": 0.19429,
    "h": 274.5
  },
  "luminance": 0.03853
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #291D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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