#291993#291993

#291993 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 34.0% C 0.183 H 276.3°. Best body text is #FFFFFF at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#291993
RGBrgb(41, 25, 147)
HSLhsl(248, 71%, 34%)
HSVhsv(248, 83%, 58%)
CMYKcmyk(72.1%, 83%, 0%, 42.4%)
CIE-LABlab(21.10, 44.82, -63.04)
CIE-LCHlch(21.10, 77.35, 305.41°)
OKLaboklab(33.99% 0.0201 -0.1822)
OKLCHoklch(33.99% 0.183 276.3)
XYZxyz(6.5268, 3.2726, 27.8858)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291993 #839319
analogous
#194693 #291993 #661993
triadic
#291993 #932919 #199329
tetradic
#291993 #931946 #839319 #199366
square
#291993 #931946 #839319 #199366
split-complementary
#291993 #936619 #469319
monochromatic
#0C072A #1A105F #291993 #3822C7 #5B47E0

Accessibility & contrast

On white

12.69
#291993 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#291993 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291993
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291993#FFFFFF#000000##FFFFFF
##2919931.0012.691.6512.69
#FFFFFF12.691.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003896
Deuteranopia (green-blind)
#002D91
Tritanopia (blue-blind)
#003F57
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #291993;
/* rgb */ color: rgb(41, 25, 147);
/* oklch */ color: oklch(34.0% 0.183 276.3);
Tailwind
colors: {
  custom: {
    50: '#755ab4',
    500: '#291993',
    950: '#000000',
  },
}
SCSS
$custom: #291993;
$custom-light: #755ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#291993",
  "rgb": {
    "r": 41,
    "g": 25,
    "b": 147
  },
  "hsl": {
    "h": 247.869,
    "s": 70.93,
    "l": 33.725
  },
  "oklch": {
    "l": 0.33988,
    "c": 0.18329,
    "h": 276.3
  },
  "luminance": 0.03273
}

Semantic roles & 50–950 ramp

primary
#291993
secondary
#B1C147
accent
#EE3AD6
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #291993

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

Preview Lab → · Contrast checker → · Palette generator →

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