#291890#291890

#291890 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.5% C 0.181 H 276.8°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#291890
RGBrgb(41, 24, 144)
HSLhsl(249, 71%, 33%)
HSVhsv(249, 83%, 56%)
CMYKcmyk(71.5%, 83.3%, 0%, 43.5%)
CIE-LABlab(20.59, 44.36, -62.03)
CIE-LCHlch(20.59, 76.26, 305.57°)
OKLaboklab(33.53% 0.0214 -0.1793)
OKLCHoklch(33.53% 0.181 276.8)
XYZxyz(6.2735, 3.1377, 26.6552)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291890 #7F9018
analogous
#184390 #291890 #651890
triadic
#291890 #902918 #189029
tetradic
#291890 #901843 #7F9018 #189065
square
#291890 #901843 #7F9018 #189065
split-complementary
#291890 #906518 #439018
monochromatic
#0B0727 #1A0F5C #291890 #3821C4 #5943E0

Accessibility & contrast

On white

12.90
#291890 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#291890 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291890
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291890#FFFFFF#000000##FFFFFF
##2918901.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003693
Deuteranopia (green-blind)
#002C8E
Tritanopia (blue-blind)
#003E55
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #291890;
/* rgb */ color: rgb(41, 24, 144);
/* oklch */ color: oklch(33.5% 0.181 276.8);
Tailwind
colors: {
  custom: {
    50: '#7459b2',
    500: '#291890',
    950: '#000000',
  },
}
SCSS
$custom: #291890;
$custom-light: #7459b2;
$custom-dark: #000000;
JSON
{
  "hex": "#291890",
  "rgb": {
    "r": 41,
    "g": 24,
    "b": 144
  },
  "hsl": {
    "h": 248.5,
    "s": 71.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.33526,
    "c": 0.18053,
    "h": 276.8
  },
  "luminance": 0.03138
}

Semantic roles & 50–950 ramp

primary
#291890
secondary
#AFC043
accent
#EE3AD5
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #291890

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

Preview Lab → · Contrast checker → · Palette generator →

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