#3927AA#3927AA

#3927AA is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.4% C 0.195 H 278.8°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#3927AA
RGBrgb(57, 39, 170)
HSLhsl(248, 63%, 41%)
HSVhsv(248, 77%, 67%)
CMYKcmyk(66.5%, 77.1%, 0%, 33.3%)
CIE-LABlab(27.36, 46.49, -66.69)
CIE-LCHlch(27.36, 81.30, 304.88°)
OKLaboklab(39.43% 0.0298 -0.1926)
OKLCHoklch(39.43% 0.195 278.8)
XYZxyz(9.6662, 5.2224, 38.5210)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3927AA #98AA27
analogous
#2756AA #3927AA #7A27AA
triadic
#3927AA #AA3927 #27AA39
tetradic
#3927AA #AA2756 #98AA27 #27AA7A
square
#3927AA #AA2756 #98AA27 #27AA7A
split-complementary
#3927AA #AA7A27 #56AA27
monochromatic
#181046 #281C78 #3927AA #513CD2 #7D6EDE

Accessibility & contrast

On white

10.27
#3927AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#3927AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3927AA
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3927AA#FFFFFF#000000##FFFFFF
##3927AA1.0010.272.0410.27
#FFFFFF10.271.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AE
Deuteranopia (green-blind)
#003BA8
Tritanopia (blue-blind)
#004D67
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3927aa;
/* rgb */ color: rgb(57, 39, 170);
/* oklch */ color: oklch(39.4% 0.195 278.8);
Tailwind
colors: {
  custom: {
    50: '#7f64c5',
    500: '#3927aa',
    950: '#000000',
  },
}
SCSS
$custom: #3927aa;
$custom-light: #7f64c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3927aa",
  "rgb": {
    "r": 57,
    "g": 39,
    "b": 170
  },
  "hsl": {
    "h": 248.244,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.39426,
    "c": 0.1949,
    "h": 278.8
  },
  "luminance": 0.05223
}

Semantic roles & 50–950 ramp

primary
#3927AA
secondary
#B8C469
accent
#E642CF
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3927AA

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

Preview Lab → · Contrast checker → · Palette generator →

#3927AA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva