#291D88#291D88

#291D88 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.2% C 0.166 H 277.3°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#291D88
RGBrgb(41, 29, 136)
HSLhsl(247, 65%, 32%)
HSVhsv(247, 79%, 53%)
CMYKcmyk(69.9%, 78.7%, 0%, 46.7%)
CIE-LABlab(20.55, 39.28, -57.10)
CIE-LCHlch(20.55, 69.31, 304.52°)
OKLaboklab(33.23% 0.0212 -0.165)
OKLCHoklch(33.23% 0.166 277.3)
XYZxyz(5.7963, 3.1272, 23.5859)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291D88 #7C881D
analogous
#1D4788 #291D88 #5F1D88
triadic
#291D88 #88291D #1D8829
tetradic
#291D88 #881D47 #7C881D #1D885F
square
#291D88 #881D47 #7C881D #1D885F
split-complementary
#291D88 #885F1D #47881D
monochromatic
#0B0723 #1A1256 #291D88 #3828BA #5848D8

Accessibility & contrast

On white

12.92
#291D88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#291D88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291D88
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291D88#FFFFFF#000000##FFFFFF
##291D881.0012.921.6312.92
#FFFFFF12.921.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00368B
Deuteranopia (green-blind)
#002D86
Tritanopia (blue-blind)
#003D52
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #291d88;
/* rgb */ color: rgb(41, 29, 136);
/* oklch */ color: oklch(33.2% 0.166 277.3);
Tailwind
colors: {
  custom: {
    50: '#725cac',
    500: '#291d88',
    950: '#000000',
  },
}
SCSS
$custom: #291d88;
$custom-light: #725cac;
$custom-dark: #000000;
JSON
{
  "hex": "#291d88",
  "rgb": {
    "r": 41,
    "g": 29,
    "b": 136
  },
  "hsl": {
    "h": 246.729,
    "s": 64.848,
    "l": 32.353
  },
  "oklch": {
    "l": 0.33228,
    "c": 0.16636,
    "h": 277.3
  },
  "luminance": 0.03128
}

Semantic roles & 50–950 ramp

primary
#291D88
secondary
#ADBA47
accent
#E840D5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #291D88

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

Preview Lab → · Contrast checker → · Palette generator →

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