#291B89#291B89

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

Color values

HEX#291B89
RGBrgb(41, 27, 137)
HSLhsl(248, 67%, 32%)
HSVhsv(248, 80%, 54%)
CMYKcmyk(70.1%, 80.3%, 0%, 46.3%)
CIE-LABlab(20.29, 40.67, -58.16)
CIE-LCHlch(20.29, 70.97, 304.97°)
OKLaboklab(33.08% 0.022 -0.168)
OKLCHoklch(33.08% 0.169 277.5)
XYZxyz(5.8203, 3.0609, 23.9462)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291B89 #7B891B
analogous
#1B4489 #291B89 #601B89
triadic
#291B89 #89291B #1B8929
tetradic
#291B89 #891B44 #7B891B #1B8960
square
#291B89 #891B44 #7B891B #1B8960
split-complementary
#291B89 #89601B #44891B
monochromatic
#0A0723 #1A1156 #291B89 #3825BC #5744DA

Accessibility & contrast

On white

13.03
#291B89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #291B89
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291B89#FFFFFF#000000##FFFFFF
##291B891.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00358C
Deuteranopia (green-blind)
#002C87
Tritanopia (blue-blind)
#003C52
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #291b89;
/* rgb */ color: rgb(41, 27, 137);
/* oklch */ color: oklch(33.1% 0.169 277.5);
Tailwind
colors: {
  custom: {
    50: '#725aad',
    500: '#291b89',
    950: '#000000',
  },
}
SCSS
$custom: #291b89;
$custom-light: #725aad;
$custom-dark: #000000;
JSON
{
  "hex": "#291b89",
  "rgb": {
    "r": 41,
    "g": 27,
    "b": 137
  },
  "hsl": {
    "h": 247.636,
    "s": 67.073,
    "l": 32.157
  },
  "oklch": {
    "l": 0.33079,
    "c": 0.16949,
    "h": 277.5
  },
  "luminance": 0.03061
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #291B89

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

Preview Lab → · Contrast checker → · Palette generator →

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