#291982#291982

#291982 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.0% C 0.163 H 278.9°. Best body text is #FFFFFF at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#291982
RGBrgb(41, 25, 130)
HSLhsl(249, 68%, 30%)
HSVhsv(249, 81%, 51%)
CMYKcmyk(68.5%, 80.8%, 0%, 49%)
CIE-LABlab(19.13, 39.47, -55.66)
CIE-LCHlch(19.13, 68.24, 305.34°)
OKLaboklab(32.04% 0.0251 -0.1607)
OKLCHoklch(32.04% 0.163 278.9)
XYZxyz(5.2901, 2.7779, 21.3722)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291982 #728219
analogous
#193D82 #291982 #5D1982
triadic
#291982 #822919 #198229
tetradic
#291982 #82193D #728219 #19825D
square
#291982 #82193D #728219 #19825D
split-complementary
#291982 #825D19 #3D8219
monochromatic
#09051B #190F4F #291982 #3923B5 #543CD9

Accessibility & contrast

On white

13.50
#291982 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #291982
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291982#FFFFFF#000000##FFFFFF
##2919821.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003285
Deuteranopia (green-blind)
#002A80
Tritanopia (blue-blind)
#00394D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #291982;
/* rgb */ color: rgb(41, 25, 130);
/* oklch */ color: oklch(32.0% 0.163 278.9);
Tailwind
colors: {
  custom: {
    50: '#7159a7',
    500: '#291982',
    950: '#000000',
  },
}
SCSS
$custom: #291982;
$custom-light: #7159a7;
$custom-dark: #000000;
JSON
{
  "hex": "#291982",
  "rgb": {
    "r": 41,
    "g": 25,
    "b": 130
  },
  "hsl": {
    "h": 249.143,
    "s": 67.742,
    "l": 30.392
  },
  "oklch": {
    "l": 0.32039,
    "c": 0.16269,
    "h": 278.9
  },
  "luminance": 0.02778
}

Semantic roles & 50–950 ramp

primary
#291982
secondary
#A4B641
accent
#EB3DD0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #291982

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

Preview Lab → · Contrast checker → · Palette generator →

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