#291C7E#291C7E

#291C7E is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.0% C 0.155 H 279.1°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#291C7E
RGBrgb(41, 28, 126)
HSLhsl(248, 64%, 30%)
HSVhsv(248, 78%, 49%)
CMYKcmyk(67.5%, 77.8%, 0%, 50.6%)
CIE-LABlab(19.26, 36.55, -52.92)
CIE-LCHlch(19.26, 64.31, 304.63°)
OKLaboklab(32% 0.0244 -0.1528)
OKLCHoklch(32% 0.155 279.1)
XYZxyz(5.0944, 2.8079, 20.0081)
Luminance0.0281 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291C7E #717E1C
analogous
#1C407E #291C7E #5A1C7E
triadic
#291C7E #7E291C #1C7E29
tetradic
#291C7E #7E1C40 #717E1C #1C7E5A
square
#291C7E #7E1C40 #717E1C #1C7E5A
split-complementary
#291C7E #7E5A1C #407E1C
monochromatic
#08061A #19114C #291C7E #3927B0 #5440D5

Accessibility & contrast

On white

13.45
#291C7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #291C7E
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291C7E#FFFFFF#000000##FFFFFF
##291C7E1.0013.451.5613.45
#FFFFFF13.451.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003281
Deuteranopia (green-blind)
#002B7C
Tritanopia (blue-blind)
#00384C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #291c7e;
/* rgb */ color: rgb(41, 28, 126);
/* oklch */ color: oklch(32.0% 0.155 279.1);
Tailwind
colors: {
  custom: {
    50: '#705aa4',
    500: '#291c7e',
    950: '#000000',
  },
}
SCSS
$custom: #291c7e;
$custom-light: #705aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#291c7e",
  "rgb": {
    "r": 41,
    "g": 28,
    "b": 126
  },
  "hsl": {
    "h": 247.959,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.31995,
    "c": 0.15472,
    "h": 279.1
  },
  "luminance": 0.02808
}

Semantic roles & 50–950 ramp

primary
#291C7E
secondary
#A3B244
accent
#E741D1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #291C7E

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

Preview Lab → · Contrast checker → · Palette generator →

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