#291D8F#291D8F

#291D8F is a dark, vivid blue. Relative luminance 0.033; OKLCH L 34.0% C 0.175 H 276.4°. Best body text is #FFFFFF at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#291D8F
RGBrgb(41, 29, 143)
HSLhsl(246, 66%, 34%)
HSVhsv(246, 80%, 56%)
CMYKcmyk(71.3%, 79.7%, 0%, 43.9%)
CIE-LABlab(21.33, 41.55, -60.18)
CIE-LCHlch(21.33, 73.13, 304.62°)
OKLaboklab(34.01% 0.0194 -0.1739)
OKLCHoklch(34.01% 0.175 276.4)
XYZxyz(6.3101, 3.3327, 26.2920)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291D8F #838F1D
analogous
#1D4A8F #291D8F #621D8F
triadic
#291D8F #8F291D #1D8F29
tetradic
#291D8F #8F1D4A #838F1D #1D8F62
square
#291D8F #8F1D4A #838F1D #1D8F62
split-complementary
#291D8F #8F621D #4A8F1D
monochromatic
#0C0829 #1A135C #291D8F #3827C2 #5B4CDB

Accessibility & contrast

On white

12.60
#291D8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#291D8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291D8F
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291D8F#FFFFFF#000000##FFFFFF
##291D8F1.0012.601.6712.60
#FFFFFF12.601.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003892
Deuteranopia (green-blind)
#002E8D
Tritanopia (blue-blind)
#003F56
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #291d8f;
/* rgb */ color: rgb(41, 29, 143);
/* oklch */ color: oklch(34.0% 0.175 276.4);
Tailwind
colors: {
  custom: {
    50: '#735cb1',
    500: '#291d8f',
    950: '#000000',
  },
}
SCSS
$custom: #291d8f;
$custom-light: #735cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#291d8f",
  "rgb": {
    "r": 41,
    "g": 29,
    "b": 143
  },
  "hsl": {
    "h": 246.316,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.34009,
    "c": 0.17503,
    "h": 276.4
  },
  "luminance": 0.03333
}

Semantic roles & 50–950 ramp

primary
#291D8F
secondary
#B1BD4B
accent
#E93FD7
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #291D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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