#3927A4#3927A4

#3927A4 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.8% C 0.188 H 279.6°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#3927A4
RGBrgb(57, 39, 164)
HSLhsl(249, 62%, 40%)
HSVhsv(249, 76%, 64%)
CMYKcmyk(65.2%, 76.2%, 0%, 35.7%)
CIE-LABlab(26.74, 44.63, -64.10)
CIE-LCHlch(26.74, 78.10, 304.85°)
OKLaboklab(38.8% 0.0313 -0.185)
OKLCHoklch(38.8% 0.188 279.6)
XYZxyz(9.1116, 5.0005, 35.5998)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3927A4 #92A427
analogous
#2754A4 #3927A4 #7827A4
triadic
#3927A4 #A43927 #27A439
tetradic
#3927A4 #A42754 #92A427 #27A478
square
#3927A4 #A42754 #92A427 #27A478
split-complementary
#3927A4 #A47827 #54A427
monochromatic
#170F41 #281B73 #3927A4 #4E38D0 #7A6ADC

Accessibility & contrast

On white

10.50
#3927A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#3927A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3927A4#FFFFFF#000000##FFFFFF
##3927A41.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A8
Deuteranopia (green-blind)
#003AA2
Tritanopia (blue-blind)
#004B64
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3927a4;
/* rgb */ color: rgb(57, 39, 164);
/* oklch */ color: oklch(38.8% 0.188 279.6);
Tailwind
colors: {
  custom: {
    50: '#7e64c0',
    500: '#3927a4',
    950: '#000000',
  },
}
SCSS
$custom: #3927a4;
$custom-light: #7e64c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3927a4",
  "rgb": {
    "r": 57,
    "g": 39,
    "b": 164
  },
  "hsl": {
    "h": 248.64,
    "s": 61.576,
    "l": 39.804
  },
  "oklch": {
    "l": 0.38802,
    "c": 0.18767,
    "h": 279.6
  },
  "luminance": 0.05001
}

Semantic roles & 50–950 ramp

primary
#3927A4
secondary
#B4C265
accent
#E543CD
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3927A4

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

Preview Lab → · Contrast checker → · Palette generator →

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