#291D66#291D66

#291D66 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.7% C 0.122 H 283.6°. Best body text is #FFFFFF at 14.37:1 contrast (WCAG AA passes).

Color values

HEX#291D66
RGBrgb(41, 29, 102)
HSLhsl(250, 56%, 26%)
HSVhsv(250, 72%, 40%)
CMYKcmyk(59.8%, 71.6%, 0%, 60%)
CIE-LABlab(17.03, 27.85, -41.06)
CIE-LCHlch(17.03, 49.62, 304.15°)
OKLaboklab(29.67% 0.0287 -0.1181)
OKLCHoklch(29.67% 0.122 283.6)
XYZxyz(3.7514, 2.3092, 12.8158)
Luminance0.0231 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291D66 #5A661D
analogous
#1D3566 #291D66 #4D1D66
triadic
#291D66 #66291D #1D6629
tetradic
#291D66 #661D35 #5A661D #1D664D
square
#291D66 #661D35 #5A661D #1D664D
split-complementary
#291D66 #664D1D #35661D
monochromatic
#0A0718 #160F36 #291D66 #3C2B96 #4F38C5

Accessibility & contrast

On white

14.37
#291D66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#291D66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291D66
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291D66#FFFFFF#000000##FFFFFF
##291D661.0014.371.4614.37
#FFFFFF14.371.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C68
Deuteranopia (green-blind)
#002865
Tritanopia (blue-blind)
#0A303F
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #291d66;
/* rgb */ color: rgb(41, 29, 102);
/* oklch */ color: oklch(29.7% 0.122 283.6);
Tailwind
colors: {
  custom: {
    50: '#6a5a92',
    500: '#291d66',
    950: '#000000',
  },
}
SCSS
$custom: #291d66;
$custom-light: #6a5a92;
$custom-dark: #000000;
JSON
{
  "hex": "#291d66",
  "rgb": {
    "r": 41,
    "g": 29,
    "b": 102
  },
  "hsl": {
    "h": 249.863,
    "s": 55.725,
    "l": 25.686
  },
  "oklch": {
    "l": 0.29671,
    "c": 0.12154,
    "h": 283.6
  },
  "luminance": 0.02309
}

Semantic roles & 50–950 ramp

primary
#291D66
secondary
#8D9B44
accent
#DF49C6
background
#F6F5F9
surface
#ECE9F1
border
#C7C5CB
text
#07040D
muted
#7A797E

Preview Lab

Preview with #291D66

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

Preview Lab → · Contrast checker → · Palette generator →

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