#291689#291689

#291689 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.5% C 0.174 H 278.1°. Best body text is #FFFFFF at 13.37:1 contrast (WCAG AA passes).

Color values

HEX#291689
RGBrgb(41, 22, 137)
HSLhsl(250, 72%, 31%)
HSVhsv(250, 84%, 54%)
CMYKcmyk(70.1%, 83.9%, 0%, 46.3%)
CIE-LABlab(19.44, 43.14, -59.57)
CIE-LCHlch(19.44, 73.55, 305.91°)
OKLaboklab(32.49% 0.0244 -0.1721)
OKLCHoklch(32.49% 0.174 278.1)
XYZxyz(5.7153, 2.8509, 23.9111)
Luminance0.0285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291689 #768916
analogous
#163C89 #291689 #621689
triadic
#291689 #892916 #168929
tetradic
#291689 #89163C #768916 #168962
square
#291689 #89163C #768916 #168962
split-complementary
#291689 #896216 #3C8916
monochromatic
#090520 #190E54 #291689 #391EBE #553ADF

Accessibility & contrast

On white

13.37
#291689 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #291689
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291689#FFFFFF#000000##FFFFFF
##2916891.0013.371.5713.37
#FFFFFF13.371.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00338C
Deuteranopia (green-blind)
#002A87
Tritanopia (blue-blind)
#003A51
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #291689;
/* rgb */ color: rgb(41, 22, 137);
/* oklch */ color: oklch(32.5% 0.174 278.1);
Tailwind
colors: {
  custom: {
    50: '#7358ad',
    500: '#291689',
    950: '#000000',
  },
}
SCSS
$custom: #291689;
$custom-light: #7358ad;
$custom-dark: #000000;
JSON
{
  "hex": "#291689",
  "rgb": {
    "r": 41,
    "g": 22,
    "b": 137
  },
  "hsl": {
    "h": 249.913,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.32489,
    "c": 0.17378,
    "h": 278.1
  },
  "luminance": 0.02851
}

Semantic roles & 50–950 ramp

primary
#291689
secondary
#A8BD3E
accent
#EF39D1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #291689

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

Preview Lab → · Contrast checker → · Palette generator →

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