#291C71#291C71

#291C71 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.6% C 0.138 H 281.5°. Best body text is #FFFFFF at 14.01:1 contrast (WCAG AA passes).

Color values

HEX#291C71
RGBrgb(41, 28, 113)
HSLhsl(249, 60%, 28%)
HSVhsv(249, 75%, 44%)
CMYKcmyk(63.7%, 75.2%, 0%, 55.7%)
CIE-LABlab(17.89, 32.21, -46.83)
CIE-LCHlch(17.89, 56.84, 304.52°)
OKLaboklab(30.62% 0.0274 -0.135)
OKLCHoklch(30.62% 0.138 281.5)
XYZxyz(4.3094, 2.4939, 15.8739)
Luminance0.0249 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291C71 #64711C
analogous
#1C3A71 #291C71 #531C71
triadic
#291C71 #71291C #1C7129
tetradic
#291C71 #711C3A #64711C #1C7153
square
#291C71 #711C3A #64711C #1C7153
split-complementary
#291C71 #71531C #3A711C
monochromatic
#090619 #171040 #291C71 #3B28A2 #5039CE

Accessibility & contrast

On white

14.01
#291C71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#291C71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291C71
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291C71#FFFFFF#000000##FFFFFF
##291C711.0014.011.5014.01
#FFFFFF14.011.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F74
Deuteranopia (green-blind)
#00296F
Tritanopia (blue-blind)
#003344
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #291c71;
/* rgb */ color: rgb(41, 28, 113);
/* oklch */ color: oklch(30.6% 0.138 281.5);
Tailwind
colors: {
  custom: {
    50: '#6d5a9b',
    500: '#291c71',
    950: '#000000',
  },
}
SCSS
$custom: #291c71;
$custom-light: #6d5a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#291c71",
  "rgb": {
    "r": 41,
    "g": 28,
    "b": 113
  },
  "hsl": {
    "h": 249.176,
    "s": 60.284,
    "l": 27.647
  },
  "oklch": {
    "l": 0.30616,
    "c": 0.13777,
    "h": 281.5
  },
  "luminance": 0.02494
}

Semantic roles & 50–950 ramp

primary
#291C71
secondary
#96A643
accent
#E344CB
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08040E
muted
#7A797E

Preview Lab

Preview with #291C71

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

Preview Lab → · Contrast checker → · Palette generator →

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