#291D68#291D68

#291D68 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 29.9% C 0.124 H 283.2°. Best body text is #FFFFFF at 14.29:1 contrast (WCAG AA passes).

Color values

HEX#291D68
RGBrgb(41, 29, 104)
HSLhsl(250, 56%, 26%)
HSVhsv(250, 72%, 41%)
CMYKcmyk(60.6%, 72.1%, 0%, 59.2%)
CIE-LABlab(17.22, 28.54, -42.06)
CIE-LCHlch(17.22, 50.83, 304.15°)
OKLaboklab(29.87% 0.0283 -0.121)
OKLCHoklch(29.87% 0.124 283.2)
XYZxyz(3.8517, 2.3494, 13.3445)
Luminance0.0235 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291D68 #5C681D
analogous
#1D3668 #291D68 #4E1D68
triadic
#291D68 #68291D #1D6829
tetradic
#291D68 #681D36 #5C681D #1D684E
square
#291D68 #681D36 #5C681D #1D684E
split-complementary
#291D68 #684E1D #36681D
monochromatic
#090718 #161038 #291D68 #3C2A98 #4F38C7

Accessibility & contrast

On white

14.29
#291D68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#291D68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291D68
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291D68#FFFFFF#000000##FFFFFF
##291D681.0014.291.4714.29
#FFFFFF14.291.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6A
Deuteranopia (green-blind)
#002867
Tritanopia (blue-blind)
#073040
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #291d68;
/* rgb */ color: rgb(41, 29, 104);
/* oklch */ color: oklch(29.9% 0.124 283.2);
Tailwind
colors: {
  custom: {
    50: '#6b5a94',
    500: '#291d68',
    950: '#000000',
  },
}
SCSS
$custom: #291d68;
$custom-light: #6b5a94;
$custom-dark: #000000;
JSON
{
  "hex": "#291d68",
  "rgb": {
    "r": 41,
    "g": 29,
    "b": 104
  },
  "hsl": {
    "h": 249.6,
    "s": 56.391,
    "l": 26.078
  },
  "oklch": {
    "l": 0.29867,
    "c": 0.12432,
    "h": 283.2
  },
  "luminance": 0.0235
}

Semantic roles & 50–950 ramp

primary
#291D68
secondary
#8F9D44
accent
#E048C7
background
#F6F5F9
surface
#ECE9F1
border
#C7C5CB
text
#07040D
muted
#7A797E

Preview Lab

Preview with #291D68

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

Preview Lab → · Contrast checker → · Palette generator →

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