#3927A5#3927A5

#3927A5 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.9% C 0.189 H 279.5°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#3927A5
RGBrgb(57, 39, 165)
HSLhsl(249, 62%, 40%)
HSVhsv(249, 76%, 65%)
CMYKcmyk(65.5%, 76.4%, 0%, 35.3%)
CIE-LABlab(26.84, 44.94, -64.53)
CIE-LCHlch(26.84, 78.64, 304.85°)
OKLaboklab(38.91% 0.031 -0.1863)
OKLCHoklch(38.91% 0.189 279.5)
XYZxyz(9.2022, 5.0368, 36.0773)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3927A5 #93A527
analogous
#2754A5 #3927A5 #7827A5
triadic
#3927A5 #A53927 #27A539
tetradic
#3927A5 #A52754 #93A527 #27A578
square
#3927A5 #A52754 #93A527 #27A578
split-complementary
#3927A5 #A57827 #54A527
monochromatic
#171042 #281B74 #3927A5 #4F39D0 #7B6ADC

Accessibility & contrast

On white

10.46
#3927A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#3927A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3927A5#FFFFFF#000000##FFFFFF
##3927A51.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3927a5;
/* rgb */ color: rgb(57, 39, 165);
/* oklch */ color: oklch(38.9% 0.189 279.5);
Tailwind
colors: {
  custom: {
    50: '#7e64c1',
    500: '#3927a5',
    950: '#000000',
  },
}
SCSS
$custom: #3927a5;
$custom-light: #7e64c1;
$custom-dark: #000000;
JSON
{
  "hex": "#3927a5",
  "rgb": {
    "r": 57,
    "g": 39,
    "b": 165
  },
  "hsl": {
    "h": 248.571,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.38905,
    "c": 0.18888,
    "h": 279.5
  },
  "luminance": 0.05038
}

Semantic roles & 50–950 ramp

primary
#3927A5
secondary
#B5C266
accent
#E543CE
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3927A5

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

Preview Lab → · Contrast checker → · Palette generator →

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