#291889#291889

#291889 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.7% C 0.172 H 277.8°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#291889
RGBrgb(41, 24, 137)
HSLhsl(249, 70%, 32%)
HSVhsv(249, 82%, 54%)
CMYKcmyk(70.1%, 82.5%, 0%, 46.3%)
CIE-LABlab(19.76, 42.19, -59.03)
CIE-LCHlch(19.76, 72.55, 305.56°)
OKLaboklab(32.71% 0.0235 -0.1705)
OKLCHoklch(32.71% 0.172 277.8)
XYZxyz(5.7550, 2.9303, 23.9244)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291889 #788918
analogous
#183F89 #291889 #621889
triadic
#291889 #892918 #188929
tetradic
#291889 #89183F #788918 #188962
square
#291889 #89183F #788918 #188962
split-complementary
#291889 #896218 #3F8918
monochromatic
#0A0621 #190F55 #291889 #3921BD #563EDD

Accessibility & contrast

On white

13.24
#291889 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#291889 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291889
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291889#FFFFFF#000000##FFFFFF
##2918891.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00348C
Deuteranopia (green-blind)
#002B87
Tritanopia (blue-blind)
#003B51
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #291889;
/* rgb */ color: rgb(41, 24, 137);
/* oklch */ color: oklch(32.7% 0.172 277.8);
Tailwind
colors: {
  custom: {
    50: '#7259ad',
    500: '#291889',
    950: '#000000',
  },
}
SCSS
$custom: #291889;
$custom-light: #7259ad;
$custom-dark: #000000;
JSON
{
  "hex": "#291889",
  "rgb": {
    "r": 41,
    "g": 24,
    "b": 137
  },
  "hsl": {
    "h": 249.027,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.32715,
    "c": 0.17214,
    "h": 277.8
  },
  "luminance": 0.02931
}

Semantic roles & 50–950 ramp

primary
#291889
secondary
#AABD40
accent
#ED3BD2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #291889

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

Preview Lab → · Contrast checker → · Palette generator →

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