#291E66#291E66

#291E66 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 29.8% C 0.120 H 283.3°. Best body text is #FFFFFF at 14.27:1 contrast (WCAG AA passes).

Color values

HEX#291E66
RGBrgb(41, 30, 102)
HSLhsl(249, 55%, 26%)
HSVhsv(249, 71%, 40%)
CMYKcmyk(59.8%, 70.6%, 0%, 60%)
CIE-LABlab(17.27, 27.21, -40.68)
CIE-LCHlch(17.27, 48.94, 303.78°)
OKLaboklab(29.84% 0.0277 -0.117)
OKLCHoklch(29.84% 0.12 283.3)
XYZxyz(3.7763, 2.3590, 12.8241)
Luminance0.0236 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291E66 #5B661E
analogous
#1E3766 #291E66 #4D1E66
triadic
#291E66 #66291E #1E6629
tetradic
#291E66 #661E37 #5B661E #1E664D
square
#291E66 #661E37 #5B661E #1E664D
split-complementary
#291E66 #664D1E #37661E
monochromatic
#0A0718 #161037 #291E66 #3C2C95 #4F3AC5

Accessibility & contrast

On white

14.27
#291E66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #291E66
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291E66#FFFFFF#000000##FFFFFF
##291E661.0014.271.4714.27
#FFFFFF14.271.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #291e66;
/* rgb */ color: rgb(41, 30, 102);
/* oklch */ color: oklch(29.8% 0.120 283.3);
Tailwind
colors: {
  custom: {
    50: '#6a5b92',
    500: '#291e66',
    950: '#000000',
  },
}
SCSS
$custom: #291e66;
$custom-light: #6a5b92;
$custom-dark: #000000;
JSON
{
  "hex": "#291e66",
  "rgb": {
    "r": 41,
    "g": 30,
    "b": 102
  },
  "hsl": {
    "h": 249.167,
    "s": 54.545,
    "l": 25.882
  },
  "oklch": {
    "l": 0.29841,
    "c": 0.12021,
    "h": 283.3
  },
  "luminance": 0.02359
}

Semantic roles & 50–950 ramp

primary
#291E66
secondary
#8E9B45
accent
#DE4AC7
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#07040D
muted
#7A797E

Preview Lab

Preview with #291E66

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

Preview Lab → · Contrast checker → · Palette generator →

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