#291885#291885

#291885 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.3% C 0.167 H 278.5°. Best body text is #FFFFFF at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#291885
RGBrgb(41, 24, 133)
HSLhsl(249, 69%, 31%)
HSVhsv(249, 82%, 52%)
CMYKcmyk(69.2%, 82%, 0%, 47.8%)
CIE-LABlab(19.30, 40.93, -57.28)
CIE-LCHlch(19.30, 70.40, 305.55°)
OKLaboklab(32.26% 0.0247 -0.1655)
OKLCHoklch(32.26% 0.167 278.5)
XYZxyz(5.4734, 2.8177, 22.4412)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291885 #748518
analogous
#183D85 #291885 #5F1885
triadic
#291885 #852918 #188529
tetradic
#291885 #85183D #748518 #18855F
square
#291885 #85183D #748518 #18855F
split-complementary
#291885 #855F18 #3D8518
monochromatic
#09051D #190F51 #291885 #3921B9 #553CDC

Accessibility & contrast

On white

13.43
#291885 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#291885 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291885
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291885#FFFFFF#000000##FFFFFF
##2918851.0013.431.5613.43
#FFFFFF13.431.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003388
Deuteranopia (green-blind)
#002A83
Tritanopia (blue-blind)
#00394F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #291885;
/* rgb */ color: rgb(41, 24, 133);
/* oklch */ color: oklch(32.3% 0.167 278.5);
Tailwind
colors: {
  custom: {
    50: '#7159aa',
    500: '#291885',
    950: '#000000',
  },
}
SCSS
$custom: #291885;
$custom-light: #7159aa;
$custom-dark: #000000;
JSON
{
  "hex": "#291885",
  "rgb": {
    "r": 41,
    "g": 24,
    "b": 133
  },
  "hsl": {
    "h": 249.358,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.32256,
    "c": 0.16729,
    "h": 278.5
  },
  "luminance": 0.02818
}

Semantic roles & 50–950 ramp

primary
#291885
secondary
#A6B940
accent
#EC3CD1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #291885

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

Preview Lab → · Contrast checker → · Palette generator →

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