#291C75#291C75

#291C75 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.0% C 0.143 H 280.7°. Best body text is #FFFFFF at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#291C75
RGBrgb(41, 28, 117)
HSLhsl(249, 61%, 28%)
HSVhsv(249, 76%, 46%)
CMYKcmyk(65%, 76.1%, 0%, 54.1%)
CIE-LABlab(18.30, 33.55, -48.73)
CIE-LCHlch(18.30, 59.17, 304.55°)
OKLaboklab(31.03% 0.0265 -0.1406)
OKLCHoklch(31.03% 0.143 280.7)
XYZxyz(4.5396, 2.5859, 17.0861)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291C75 #68751C
analogous
#1C3B75 #291C75 #551C75
triadic
#291C75 #75291C #1C7529
tetradic
#291C75 #751C3B #68751C #1C7555
square
#291C75 #751C3B #68751C #1C7555
split-complementary
#291C75 #75551C #3B751C
monochromatic
#090619 #181044 #291C75 #3A28A6 #513BD0

Accessibility & contrast

On white

13.84
#291C75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#291C75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291C75
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291C75#FFFFFF#000000##FFFFFF
##291C751.0013.841.5213.84
#FFFFFF13.841.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003078
Deuteranopia (green-blind)
#002973
Tritanopia (blue-blind)
#003547
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #291c75;
/* rgb */ color: rgb(41, 28, 117);
/* oklch */ color: oklch(31.0% 0.143 280.7);
Tailwind
colors: {
  custom: {
    50: '#6e5a9e',
    500: '#291c75',
    950: '#000000',
  },
}
SCSS
$custom: #291c75;
$custom-light: #6e5a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#291c75",
  "rgb": {
    "r": 41,
    "g": 28,
    "b": 117
  },
  "hsl": {
    "h": 248.764,
    "s": 61.379,
    "l": 28.431
  },
  "oklch": {
    "l": 0.31034,
    "c": 0.14305,
    "h": 280.7
  },
  "luminance": 0.02586
}

Semantic roles & 50–950 ramp

primary
#291C75
secondary
#9AA944
accent
#E443CD
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040E
muted
#7B797E

Preview Lab

Preview with #291C75

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

Preview Lab → · Contrast checker → · Palette generator →

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