#291C8C#291C8C

#291C8C is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.5% C 0.172 H 276.9°. Best body text is #FFFFFF at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#291C8C
RGBrgb(41, 28, 140)
HSLhsl(247, 67%, 33%)
HSVhsv(247, 80%, 55%)
CMYKcmyk(70.7%, 80%, 0%, 45.1%)
CIE-LABlab(20.81, 41.11, -59.17)
CIE-LCHlch(20.81, 72.06, 304.79°)
OKLaboklab(33.54% 0.0207 -0.171)
OKLCHoklch(33.54% 0.172 276.9)
XYZxyz(6.0618, 3.1948, 25.1031)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291C8C #7F8C1C
analogous
#1C478C #291C8C #611C8C
triadic
#291C8C #8C291C #1C8C29
tetradic
#291C8C #8C1C47 #7F8C1C #1C8C61
square
#291C8C #8C1C47 #7F8C1C #1C8C61
split-complementary
#291C8C #8C611C #478C1C
monochromatic
#0B0826 #1A1259 #291C8C #3826BF #5948DA

Accessibility & contrast

On white

12.81
#291C8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#291C8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291C8C
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291C8C#FFFFFF#000000##FFFFFF
##291C8C1.0012.811.6412.81
#FFFFFF12.811.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00378F
Deuteranopia (green-blind)
#002D8A
Tritanopia (blue-blind)
#003E54
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #291c8c;
/* rgb */ color: rgb(41, 28, 140);
/* oklch */ color: oklch(33.5% 0.172 276.9);
Tailwind
colors: {
  custom: {
    50: '#735baf',
    500: '#291c8c',
    950: '#000000',
  },
}
SCSS
$custom: #291c8c;
$custom-light: #735baf;
$custom-dark: #000000;
JSON
{
  "hex": "#291c8c",
  "rgb": {
    "r": 41,
    "g": 28,
    "b": 140
  },
  "hsl": {
    "h": 246.964,
    "s": 66.667,
    "l": 32.941
  },
  "oklch": {
    "l": 0.33544,
    "c": 0.17226,
    "h": 276.9
  },
  "luminance": 0.03195
}

Semantic roles & 50–950 ramp

primary
#291C8C
secondary
#AFBC48
accent
#EA3ED6
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090410
muted
#7B797F

Preview Lab

Preview with #291C8C

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

Preview Lab → · Contrast checker → · Palette generator →

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