#291C9D#291C9D

#291C9D is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.5% C 0.193 H 274.8°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#291C9D
RGBrgb(41, 28, 157)
HSLhsl(246, 70%, 36%)
HSVhsv(246, 82%, 62%)
CMYKcmyk(73.9%, 82.2%, 0%, 38.4%)
CIE-LABlab(22.78, 46.49, -66.42)
CIE-LCHlch(22.78, 81.07, 304.99°)
OKLaboklab(35.49% 0.0161 -0.1921)
OKLCHoklch(35.49% 0.193 274.8)
XYZxyz(7.4135, 3.7355, 32.2221)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291C9D #909D1C
analogous
#1C4F9D #291C9D #6A1C9D
triadic
#291C9D #9D291C #1C9D29
tetradic
#291C9D #9D1C4F #909D1C #1C9D6A
square
#291C9D #9D1C4F #909D1C #1C9D6A
split-complementary
#291C9D #9D6A1C #4F9D1C
monochromatic
#0E0935 #1B1369 #291C9D #3725D1 #6153E0

Accessibility & contrast

On white

12.02
#291C9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#291C9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291C9D
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291C9D#FFFFFF#000000##FFFFFF
##291C9D1.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003CA1
Deuteranopia (green-blind)
#00309B
Tritanopia (blue-blind)
#00455D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #291c9d;
/* rgb */ color: rgb(41, 28, 157);
/* oklch */ color: oklch(35.5% 0.193 274.8);
Tailwind
colors: {
  custom: {
    50: '#775cbb',
    500: '#291c9d',
    950: '#000000',
  },
}
SCSS
$custom: #291c9d;
$custom-light: #775cbb;
$custom-dark: #000000;
JSON
{
  "hex": "#291c9d",
  "rgb": {
    "r": 41,
    "g": 28,
    "b": 157
  },
  "hsl": {
    "h": 246.047,
    "s": 69.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.3549,
    "c": 0.19274,
    "h": 274.8
  },
  "luminance": 0.03736
}

Semantic roles & 50–950 ramp

primary
#291C9D
secondary
#B8C351
accent
#ED3BDB
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #291C9D

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

Preview Lab → · Contrast checker → · Palette generator →

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