#291C7A#291C7A

#291C7A is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.6% C 0.150 H 279.8°. Best body text is #FFFFFF at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#291C7A
RGBrgb(41, 28, 122)
HSLhsl(248, 63%, 29%)
HSVhsv(248, 77%, 48%)
CMYKcmyk(66.4%, 77%, 0%, 52.2%)
CIE-LABlab(18.83, 35.22, -51.07)
CIE-LCHlch(18.83, 62.04, 304.59°)
OKLaboklab(31.56% 0.0254 -0.1474)
OKLCHoklch(31.56% 0.15 279.8)
XYZxyz(4.8414, 2.7067, 18.6759)
Luminance0.0271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291C7A #6D7A1C
analogous
#1C3E7A #291C7A #581C7A
triadic
#291C7A #7A291C #1C7A29
tetradic
#291C7A #7A1C3E #6D7A1C #1C7A58
square
#291C7A #7A1C3E #6D7A1C #1C7A58
split-complementary
#291C7A #7A581C #3E7A1C
monochromatic
#080619 #181148 #291C7A #3A27AC #523ED3

Accessibility & contrast

On white

13.62
#291C7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#291C7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291C7A
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291C7A#FFFFFF#000000##FFFFFF
##291C7A1.0013.621.5413.62
#FFFFFF13.621.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317D
Deuteranopia (green-blind)
#002A78
Tritanopia (blue-blind)
#003749
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #291c7a;
/* rgb */ color: rgb(41, 28, 122);
/* oklch */ color: oklch(31.6% 0.150 279.8);
Tailwind
colors: {
  custom: {
    50: '#6f5aa1',
    500: '#291c7a',
    950: '#000000',
  },
}
SCSS
$custom: #291c7a;
$custom-light: #6f5aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#291c7a",
  "rgb": {
    "r": 41,
    "g": 28,
    "b": 122
  },
  "hsl": {
    "h": 248.298,
    "s": 62.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.31564,
    "c": 0.14957,
    "h": 279.8
  },
  "luminance": 0.02707
}

Semantic roles & 50–950 ramp

primary
#291C7A
secondary
#9FAE44
accent
#E642CF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #291C7A

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

Preview Lab → · Contrast checker → · Palette generator →

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