#291C88#291C88

#291C88 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.1% C 0.167 H 277.5°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#291C88
RGBrgb(41, 28, 136)
HSLhsl(247, 66%, 32%)
HSVhsv(247, 79%, 53%)
CMYKcmyk(69.9%, 79.4%, 0%, 46.7%)
CIE-LABlab(20.36, 39.82, -57.42)
CIE-LCHlch(20.36, 69.87, 304.74°)
OKLaboklab(33.1% 0.0218 -0.1659)
OKLCHoklch(33.1% 0.167 277.5)
XYZxyz(5.7722, 3.0790, 23.5779)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291C88 #7B881C
analogous
#1C4588 #291C88 #5F1C88
triadic
#291C88 #88291C #1C8829
tetradic
#291C88 #881C45 #7B881C #1C885F
square
#291C88 #881C45 #7B881C #1C885F
split-complementary
#291C88 #885F1C #45881C
monochromatic
#0A0722 #1A1255 #291C88 #3826BB #5746D9

Accessibility & contrast

On white

13.00
#291C88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#291C88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291C88
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291C88#FFFFFF#000000##FFFFFF
##291C881.0013.001.6213.00
#FFFFFF13.001.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00358B
Deuteranopia (green-blind)
#002C86
Tritanopia (blue-blind)
#003C51
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #291c88;
/* rgb */ color: rgb(41, 28, 136);
/* oklch */ color: oklch(33.1% 0.167 277.5);
Tailwind
colors: {
  custom: {
    50: '#725bac',
    500: '#291c88',
    950: '#000000',
  },
}
SCSS
$custom: #291c88;
$custom-light: #725bac;
$custom-dark: #000000;
JSON
{
  "hex": "#291c88",
  "rgb": {
    "r": 41,
    "g": 28,
    "b": 136
  },
  "hsl": {
    "h": 247.222,
    "s": 65.854,
    "l": 32.157
  },
  "oklch": {
    "l": 0.33096,
    "c": 0.16731,
    "h": 277.5
  },
  "luminance": 0.03079
}

Semantic roles & 50–950 ramp

primary
#291C88
secondary
#ACBA45
accent
#E93FD4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #291C88

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

Preview Lab → · Contrast checker → · Palette generator →

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