#291886#291886

#291886 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.4% C 0.169 H 278.3°. Best body text is #FFFFFF at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#291886
RGBrgb(41, 24, 134)
HSLhsl(249, 70%, 31%)
HSVhsv(249, 82%, 53%)
CMYKcmyk(69.4%, 82.1%, 0%, 47.5%)
CIE-LABlab(19.41, 41.25, -57.72)
CIE-LCHlch(19.41, 70.94, 305.55°)
OKLaboklab(32.37% 0.0244 -0.1667)
OKLCHoklch(32.37% 0.169 278.3)
XYZxyz(5.5428, 2.8454, 22.8068)
Luminance0.0285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291886 #758618
analogous
#183E86 #291886 #601886
triadic
#291886 #862918 #188629
tetradic
#291886 #86183E #758618 #188660
square
#291886 #86183E #758618 #188660
split-complementary
#291886 #866018 #3E8618
monochromatic
#09051E #190F52 #291886 #3921BA #553CDC

Accessibility & contrast

On white

13.38
#291886 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#291886 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291886
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291886#FFFFFF#000000##FFFFFF
##2918861.0013.381.5713.38
#FFFFFF13.381.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003389
Deuteranopia (green-blind)
#002B84
Tritanopia (blue-blind)
#003A4F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #291886;
/* rgb */ color: rgb(41, 24, 134);
/* oklch */ color: oklch(32.4% 0.169 278.3);
Tailwind
colors: {
  custom: {
    50: '#7259aa',
    500: '#291886',
    950: '#000000',
  },
}
SCSS
$custom: #291886;
$custom-light: #7259aa;
$custom-dark: #000000;
JSON
{
  "hex": "#291886",
  "rgb": {
    "r": 41,
    "g": 24,
    "b": 134
  },
  "hsl": {
    "h": 249.273,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.3237,
    "c": 0.1685,
    "h": 278.3
  },
  "luminance": 0.02846
}

Semantic roles & 50–950 ramp

primary
#291886
secondary
#A7BA40
accent
#EC3BD1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #291886

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

Preview Lab → · Contrast checker → · Palette generator →

#291886 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva