#291989#291989

#291989 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.8% C 0.171 H 277.7°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#291989
RGBrgb(41, 25, 137)
HSLhsl(249, 69%, 32%)
HSVhsv(249, 82%, 54%)
CMYKcmyk(70.1%, 81.8%, 0%, 46.3%)
CIE-LABlab(19.93, 41.70, -58.74)
CIE-LCHlch(19.93, 72.04, 305.37°)
OKLaboklab(32.83% 0.023 -0.1697)
OKLCHoklch(32.83% 0.171 277.7)
XYZxyz(5.7760, 2.9723, 23.9314)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291989 #798919
analogous
#194189 #291989 #611989
triadic
#291989 #892919 #198929
tetradic
#291989 #891941 #798919 #198961
square
#291989 #891941 #798919 #198961
split-complementary
#291989 #896119 #418919
monochromatic
#0A0621 #1A1055 #291989 #3822BD #5640DC

Accessibility & contrast

On white

13.17
#291989 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #291989
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291989#FFFFFF#000000##FFFFFF
##2919891.0013.171.5913.17
#FFFFFF13.171.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #291989;
/* rgb */ color: rgb(41, 25, 137);
/* oklch */ color: oklch(32.8% 0.171 277.7);
Tailwind
colors: {
  custom: {
    50: '#7259ad',
    500: '#291989',
    950: '#000000',
  },
}
SCSS
$custom: #291989;
$custom-light: #7259ad;
$custom-dark: #000000;
JSON
{
  "hex": "#291989",
  "rgb": {
    "r": 41,
    "g": 25,
    "b": 137
  },
  "hsl": {
    "h": 248.571,
    "s": 69.136,
    "l": 31.765
  },
  "oklch": {
    "l": 0.32833,
    "c": 0.17128,
    "h": 277.7
  },
  "luminance": 0.02973
}

Semantic roles & 50–950 ramp

primary
#291989
secondary
#ABBC41
accent
#EC3CD3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #291989

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

Preview Lab → · Contrast checker → · Palette generator →

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