#291B88#291B88

#291B88 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 33.0% C 0.168 H 277.6°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#291B88
RGBrgb(41, 27, 136)
HSLhsl(248, 67%, 32%)
HSVhsv(248, 80%, 53%)
CMYKcmyk(69.9%, 80.1%, 0%, 46.7%)
CIE-LABlab(20.17, 40.35, -57.72)
CIE-LCHlch(20.17, 70.43, 304.96°)
OKLaboklab(32.97% 0.0223 -0.1668)
OKLCHoklch(32.97% 0.168 277.6)
XYZxyz(5.7489, 3.0324, 23.5701)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291B88 #7A881B
analogous
#1B4488 #291B88 #5F1B88
triadic
#291B88 #88291B #1B8829
tetradic
#291B88 #881B44 #7A881B #1B885F
square
#291B88 #881B44 #7A881B #1B885F
split-complementary
#291B88 #885F1B #44881B
monochromatic
#0A0722 #1A1155 #291B88 #3825BB #5744DA

Accessibility & contrast

On white

13.07
#291B88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#291B88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291B88
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291B88#FFFFFF#000000##FFFFFF
##291B881.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.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: #291b88;
/* rgb */ color: rgb(41, 27, 136);
/* oklch */ color: oklch(33.0% 0.168 277.6);
Tailwind
colors: {
  custom: {
    50: '#725aac',
    500: '#291b88',
    950: '#000000',
  },
}
SCSS
$custom: #291b88;
$custom-light: #725aac;
$custom-dark: #000000;
JSON
{
  "hex": "#291b88",
  "rgb": {
    "r": 41,
    "g": 27,
    "b": 136
  },
  "hsl": {
    "h": 247.706,
    "s": 66.871,
    "l": 31.961
  },
  "oklch": {
    "l": 0.32966,
    "c": 0.16825,
    "h": 277.6
  },
  "luminance": 0.03033
}

Semantic roles & 50–950 ramp

primary
#291B88
secondary
#ACBB44
accent
#EA3ED4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #291B88

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

Preview Lab → · Contrast checker → · Palette generator →

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