#291C74#291C74

#291C74 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.9% C 0.142 H 280.9°. Best body text is #FFFFFF at 13.88:1 contrast (WCAG AA passes).

Color values

HEX#291C74
RGBrgb(41, 28, 116)
HSLhsl(249, 61%, 28%)
HSVhsv(249, 76%, 45%)
CMYKcmyk(64.7%, 75.9%, 0%, 54.5%)
CIE-LABlab(18.20, 33.22, -48.26)
CIE-LCHlch(18.20, 58.59, 304.54°)
OKLaboklab(30.93% 0.0268 -0.1392)
OKLCHoklch(30.93% 0.142 280.9)
XYZxyz(4.4811, 2.5625, 16.7781)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291C74 #67741C
analogous
#1C3B74 #291C74 #551C74
triadic
#291C74 #74291C #1C7429
tetradic
#291C74 #741C3B #67741C #1C7455
square
#291C74 #741C3B #67741C #1C7455
split-complementary
#291C74 #74551C #3B741C
monochromatic
#090619 #181043 #291C74 #3A28A5 #513BD0

Accessibility & contrast

On white

13.88
#291C74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#291C74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291C74
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291C74#FFFFFF#000000##FFFFFF
##291C741.0013.881.5113.88
#FFFFFF13.881.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003077
Deuteranopia (green-blind)
#002972
Tritanopia (blue-blind)
#003446
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #291c74;
/* rgb */ color: rgb(41, 28, 116);
/* oklch */ color: oklch(30.9% 0.142 280.9);
Tailwind
colors: {
  custom: {
    50: '#6d5a9d',
    500: '#291c74',
    950: '#000000',
  },
}
SCSS
$custom: #291c74;
$custom-light: #6d5a9d;
$custom-dark: #000000;
JSON
{
  "hex": "#291c74",
  "rgb": {
    "r": 41,
    "g": 28,
    "b": 116
  },
  "hsl": {
    "h": 248.864,
    "s": 61.111,
    "l": 28.235
  },
  "oklch": {
    "l": 0.30929,
    "c": 0.14174,
    "h": 280.9
  },
  "luminance": 0.02563
}

Semantic roles & 50–950 ramp

primary
#291C74
secondary
#99A843
accent
#E444CC
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040E
muted
#7B797E

Preview Lab

Preview with #291C74

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

Preview Lab → · Contrast checker → · Palette generator →

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