#291D99#291D99

#291D99 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 35.1% C 0.187 H 275.1°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#291D99
RGBrgb(41, 29, 153)
HSLhsl(246, 68%, 36%)
HSVhsv(246, 81%, 60%)
CMYKcmyk(73.2%, 81%, 0%, 40%)
CIE-LABlab(22.48, 44.75, -64.47)
CIE-LCHlch(22.48, 78.47, 304.76°)
OKLaboklab(35.14% 0.0168 -0.1864)
OKLCHoklch(35.14% 0.187 275.1)
XYZxyz(7.1017, 3.6494, 30.4609)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291D99 #8D991D
analogous
#1D4F99 #291D99 #671D99
triadic
#291D99 #99291D #1D9929
tetradic
#291D99 #991D4F #8D991D #1D9967
square
#291D99 #991D4F #8D991D #1D9967
split-complementary
#291D99 #99671D #4F991D
monochromatic
#0D0932 #1B1366 #291D99 #3727CC #6052DE

Accessibility & contrast

On white

12.14
#291D99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#291D99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291D99
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291D99#FFFFFF#000000##FFFFFF
##291D991.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B9C
Deuteranopia (green-blind)
#003097
Tritanopia (blue-blind)
#00435B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #291d99;
/* rgb */ color: rgb(41, 29, 153);
/* oklch */ color: oklch(35.1% 0.187 275.1);
Tailwind
colors: {
  custom: {
    50: '#765db8',
    500: '#291d99',
    950: '#000000',
  },
}
SCSS
$custom: #291d99;
$custom-light: #765db8;
$custom-dark: #000000;
JSON
{
  "hex": "#291d99",
  "rgb": {
    "r": 41,
    "g": 29,
    "b": 153
  },
  "hsl": {
    "h": 245.806,
    "s": 68.132,
    "l": 35.686
  },
  "oklch": {
    "l": 0.35145,
    "c": 0.18716,
    "h": 275.1
  },
  "luminance": 0.0365
}

Semantic roles & 50–950 ramp

primary
#291D99
secondary
#B6C151
accent
#EB3DDA
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #291D99

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

Preview Lab → · Contrast checker → · Palette generator →

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