#291984#291984

#291984 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.3% C 0.165 H 278.5°. Best body text is #FFFFFF at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#291984
RGBrgb(41, 25, 132)
HSLhsl(249, 68%, 31%)
HSVhsv(249, 81%, 52%)
CMYKcmyk(68.9%, 81.1%, 0%, 48.2%)
CIE-LABlab(19.36, 40.11, -56.55)
CIE-LCHlch(19.36, 69.33, 305.35°)
OKLaboklab(32.26% 0.0245 -0.1633)
OKLCHoklch(32.26% 0.165 278.5)
XYZxyz(5.4256, 2.8322, 22.0861)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291984 #748419
analogous
#193E84 #291984 #5E1984
triadic
#291984 #842919 #198429
tetradic
#291984 #84193E #748419 #19845E
square
#291984 #84193E #748419 #19845E
split-complementary
#291984 #845E19 #3E8419
monochromatic
#09061D #190F51 #291984 #3923B7 #553DDA

Accessibility & contrast

On white

13.40
#291984 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #291984
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291984#FFFFFF#000000##FFFFFF
##2919841.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003387
Deuteranopia (green-blind)
#002B82
Tritanopia (blue-blind)
#00394E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #291984;
/* rgb */ color: rgb(41, 25, 132);
/* oklch */ color: oklch(32.3% 0.165 278.5);
Tailwind
colors: {
  custom: {
    50: '#7159a9',
    500: '#291984',
    950: '#000000',
  },
}
SCSS
$custom: #291984;
$custom-light: #7159a9;
$custom-dark: #000000;
JSON
{
  "hex": "#291984",
  "rgb": {
    "r": 41,
    "g": 25,
    "b": 132
  },
  "hsl": {
    "h": 248.972,
    "s": 68.153,
    "l": 30.784
  },
  "oklch": {
    "l": 0.32264,
    "c": 0.16517,
    "h": 278.5
  },
  "luminance": 0.02833
}

Semantic roles & 50–950 ramp

primary
#291984
secondary
#A6B841
accent
#EB3DD1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #291984

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

Preview Lab → · Contrast checker → · Palette generator →

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