#3927A2#3927A2

#3927A2 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.6% C 0.185 H 279.9°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#3927A2
RGBrgb(57, 39, 162)
HSLhsl(249, 61%, 39%)
HSVhsv(249, 76%, 64%)
CMYKcmyk(64.8%, 75.9%, 0%, 36.5%)
CIE-LABlab(26.53, 44.00, -63.22)
CIE-LCHlch(26.53, 77.03, 304.84°)
OKLaboklab(38.6% 0.0318 -0.1825)
OKLCHoklch(38.6% 0.185 279.9)
XYZxyz(8.9324, 4.9288, 34.6561)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3927A2 #90A227
analogous
#2753A2 #3927A2 #7627A2
triadic
#3927A2 #A23927 #27A239
tetradic
#3927A2 #A22753 #90A227 #27A276
square
#3927A2 #A22753 #90A227 #27A276
split-complementary
#3927A2 #A27627 #53A227
monochromatic
#160F3F #281B71 #3927A2 #4D37CF #7969DB

Accessibility & contrast

On white

10.57
#3927A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#3927A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3927A2#FFFFFF#000000##FFFFFF
##3927A21.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A6
Deuteranopia (green-blind)
#003AA0
Tritanopia (blue-blind)
#004A63
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3927a2;
/* rgb */ color: rgb(57, 39, 162);
/* oklch */ color: oklch(38.6% 0.185 279.9);
Tailwind
colors: {
  custom: {
    50: '#7e64bf',
    500: '#3927a2',
    950: '#000000',
  },
}
SCSS
$custom: #3927a2;
$custom-light: #7e64bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3927a2",
  "rgb": {
    "r": 57,
    "g": 39,
    "b": 162
  },
  "hsl": {
    "h": 248.78,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.38596,
    "c": 0.18524,
    "h": 279.9
  },
  "luminance": 0.0493
}

Semantic roles & 50–950 ramp

primary
#3927A2
secondary
#B3C164
accent
#E443CD
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #3927A2

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

Preview Lab → · Contrast checker → · Palette generator →

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