#291A88#291A88

#291A88 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.8% C 0.169 H 277.8°. Best body text is #FFFFFF at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#291A88
RGBrgb(41, 26, 136)
HSLhsl(248, 68%, 32%)
HSVhsv(248, 81%, 53%)
CMYKcmyk(69.9%, 80.9%, 0%, 46.7%)
CIE-LABlab(19.99, 40.87, -58.02)
CIE-LCHlch(19.99, 70.97, 305.16°)
OKLaboklab(32.84% 0.0228 -0.1676)
OKLCHoklch(32.84% 0.169 277.8)
XYZxyz(5.7263, 2.9873, 23.5626)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291A88 #79881A
analogous
#1A4288 #291A88 #601A88
triadic
#291A88 #88291A #1A8829
tetradic
#291A88 #881A42 #79881A #1A8860
square
#291A88 #881A42 #79881A #1A8860
split-complementary
#291A88 #88601A #42881A
monochromatic
#0A0621 #1A1055 #291A88 #3824BB #5642DB

Accessibility & contrast

On white

13.14
#291A88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#291A88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291A88
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291A88#FFFFFF#000000##FFFFFF
##291A881.0013.141.6013.14
#FFFFFF13.141.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #291a88;
/* rgb */ color: rgb(41, 26, 136);
/* oklch */ color: oklch(32.8% 0.169 277.8);
Tailwind
colors: {
  custom: {
    50: '#725aac',
    500: '#291a88',
    950: '#000000',
  },
}
SCSS
$custom: #291a88;
$custom-light: #725aac;
$custom-dark: #000000;
JSON
{
  "hex": "#291a88",
  "rgb": {
    "r": 41,
    "g": 26,
    "b": 136
  },
  "hsl": {
    "h": 248.182,
    "s": 67.901,
    "l": 31.765
  },
  "oklch": {
    "l": 0.32841,
    "c": 0.16917,
    "h": 277.8
  },
  "luminance": 0.02988
}

Semantic roles & 50–950 ramp

primary
#291A88
secondary
#ABBB43
accent
#EB3DD3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #291A88

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

Preview Lab → · Contrast checker → · Palette generator →

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