#291983#291983

#291983 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.2% C 0.164 H 278.7°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#291983
RGBrgb(41, 25, 131)
HSLhsl(249, 68%, 31%)
HSVhsv(249, 81%, 51%)
CMYKcmyk(68.7%, 80.9%, 0%, 48.6%)
CIE-LABlab(19.25, 39.79, -56.11)
CIE-LCHlch(19.25, 68.78, 305.35°)
OKLaboklab(32.15% 0.0248 -0.162)
OKLCHoklch(32.15% 0.164 278.7)
XYZxyz(5.3575, 2.8049, 21.7274)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291983 #738319
analogous
#193E83 #291983 #5E1983
triadic
#291983 #832919 #198329
tetradic
#291983 #83193E #738319 #19835E
square
#291983 #83193E #738319 #19835E
split-complementary
#291983 #835E19 #3E8319
monochromatic
#09051C #190F50 #291983 #3923B6 #543DDA

Accessibility & contrast

On white

13.45
#291983 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #291983
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291983#FFFFFF#000000##FFFFFF
##2919831.0013.451.5613.45
#FFFFFF13.451.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #291983;
/* rgb */ color: rgb(41, 25, 131);
/* oklch */ color: oklch(32.2% 0.164 278.7);
Tailwind
colors: {
  custom: {
    50: '#7159a8',
    500: '#291983',
    950: '#000000',
  },
}
SCSS
$custom: #291983;
$custom-light: #7159a8;
$custom-dark: #000000;
JSON
{
  "hex": "#291983",
  "rgb": {
    "r": 41,
    "g": 25,
    "b": 131
  },
  "hsl": {
    "h": 249.057,
    "s": 67.949,
    "l": 30.588
  },
  "oklch": {
    "l": 0.32152,
    "c": 0.16392,
    "h": 278.7
  },
  "luminance": 0.02805
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #291983

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

Preview Lab → · Contrast checker → · Palette generator →

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