#291C72#291C72

#291C72 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.7% C 0.139 H 281.3°. Best body text is #FFFFFF at 13.97:1 contrast (WCAG AA passes).

Color values

HEX#291C72
RGBrgb(41, 28, 114)
HSLhsl(249, 61%, 28%)
HSVhsv(249, 75%, 45%)
CMYKcmyk(64%, 75.4%, 0%, 55.3%)
CIE-LABlab(17.99, 32.55, -47.31)
CIE-LCHlch(17.99, 57.42, 304.53°)
OKLaboklab(30.72% 0.0272 -0.1364)
OKLCHoklch(30.72% 0.139 281.3)
XYZxyz(4.3660, 2.5165, 16.1720)
Luminance0.0252 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291C72 #65721C
analogous
#1C3A72 #291C72 #541C72
triadic
#291C72 #72291C #1C7229
tetradic
#291C72 #721C3A #65721C #1C7254
square
#291C72 #721C3A #65721C #1C7254
split-complementary
#291C72 #72541C #3A721C
monochromatic
#090619 #171041 #291C72 #3B28A3 #503ACF

Accessibility & contrast

On white

13.97
#291C72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #291C72
13.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291C72#FFFFFF#000000##FFFFFF
##291C721.0013.971.5013.97
#FFFFFF13.971.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F75
Deuteranopia (green-blind)
#002970
Tritanopia (blue-blind)
#003445
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #291c72;
/* rgb */ color: rgb(41, 28, 114);
/* oklch */ color: oklch(30.7% 0.139 281.3);
Tailwind
colors: {
  custom: {
    50: '#6d5a9b',
    500: '#291c72',
    950: '#000000',
  },
}
SCSS
$custom: #291c72;
$custom-light: #6d5a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#291c72",
  "rgb": {
    "r": 41,
    "g": 28,
    "b": 114
  },
  "hsl": {
    "h": 249.07,
    "s": 60.563,
    "l": 27.843
  },
  "oklch": {
    "l": 0.3072,
    "c": 0.1391,
    "h": 281.3
  },
  "luminance": 0.02517
}

Semantic roles & 50–950 ramp

primary
#291C72
secondary
#97A643
accent
#E444CC
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08040E
muted
#7A797E

Preview Lab

Preview with #291C72

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

Preview Lab → · Contrast checker → · Palette generator →

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