#291C7D#291C7D

#291C7D is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.9% C 0.153 H 279.2°. Best body text is #FFFFFF at 13.49:1 contrast (WCAG AA passes).

Color values

HEX#291C7D
RGBrgb(41, 28, 125)
HSLhsl(248, 63%, 30%)
HSVhsv(248, 78%, 49%)
CMYKcmyk(67.2%, 77.6%, 0%, 51%)
CIE-LABlab(19.15, 36.22, -52.46)
CIE-LCHlch(19.15, 63.75, 304.62°)
OKLaboklab(31.89% 0.0246 -0.1514)
OKLCHoklch(31.89% 0.153 279.2)
XYZxyz(5.0302, 2.7822, 19.6700)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291C7D #707D1C
analogous
#1C407D #291C7D #591C7D
triadic
#291C7D #7D291C #1C7D29
tetradic
#291C7D #7D1C40 #707D1C #1C7D59
square
#291C7D #7D1C40 #707D1C #1C7D59
split-complementary
#291C7D #7D591C #407D1C
monochromatic
#080619 #19114B #291C7D #3927AF #533FD4

Accessibility & contrast

On white

13.49
#291C7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#291C7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291C7D
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291C7D#FFFFFF#000000##FFFFFF
##291C7D1.0013.491.5613.49
#FFFFFF13.491.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003280
Deuteranopia (green-blind)
#002B7B
Tritanopia (blue-blind)
#00384B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #291c7d;
/* rgb */ color: rgb(41, 28, 125);
/* oklch */ color: oklch(31.9% 0.153 279.2);
Tailwind
colors: {
  custom: {
    50: '#6f5aa4',
    500: '#291c7d',
    950: '#000000',
  },
}
SCSS
$custom: #291c7d;
$custom-light: #6f5aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#291c7d",
  "rgb": {
    "r": 41,
    "g": 28,
    "b": 125
  },
  "hsl": {
    "h": 248.041,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.31887,
    "c": 0.15344,
    "h": 279.2
  },
  "luminance": 0.02783
}

Semantic roles & 50–950 ramp

primary
#291C7D
secondary
#A2B144
accent
#E641D0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #291C7D

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

Preview Lab → · Contrast checker → · Palette generator →

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