#3927A7#3927A7

#3927A7 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 39.1% C 0.191 H 279.2°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#3927A7
RGBrgb(57, 39, 167)
HSLhsl(248, 62%, 40%)
HSVhsv(248, 77%, 65%)
CMYKcmyk(65.9%, 76.6%, 0%, 34.5%)
CIE-LABlab(27.05, 45.56, -65.40)
CIE-LCHlch(27.05, 79.71, 304.86°)
OKLaboklab(39.11% 0.0306 -0.1888)
OKLCHoklch(39.11% 0.191 279.2)
XYZxyz(9.3857, 5.1102, 37.0435)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3927A7 #95A727
analogous
#2755A7 #3927A7 #7927A7
triadic
#3927A7 #A73927 #27A739
tetradic
#3927A7 #A72755 #95A727 #27A779
square
#3927A7 #A72755 #95A727 #27A779
split-complementary
#3927A7 #A77927 #55A727
monochromatic
#171044 #281B75 #3927A7 #4F3AD1 #7C6CDD

Accessibility & contrast

On white

10.38
#3927A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#3927A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3927A7#FFFFFF#000000##FFFFFF
##3927A71.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AB
Deuteranopia (green-blind)
#003BA5
Tritanopia (blue-blind)
#004C66
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3927a7;
/* rgb */ color: rgb(57, 39, 167);
/* oklch */ color: oklch(39.1% 0.191 279.2);
Tailwind
colors: {
  custom: {
    50: '#7f64c2',
    500: '#3927a7',
    950: '#000000',
  },
}
SCSS
$custom: #3927a7;
$custom-light: #7f64c2;
$custom-dark: #000000;
JSON
{
  "hex": "#3927a7",
  "rgb": {
    "r": 57,
    "g": 39,
    "b": 167
  },
  "hsl": {
    "h": 248.438,
    "s": 62.136,
    "l": 40.392
  },
  "oklch": {
    "l": 0.39113,
    "c": 0.1913,
    "h": 279.2
  },
  "luminance": 0.05111
}

Semantic roles & 50–950 ramp

primary
#3927A7
secondary
#B6C367
accent
#E543CE
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3927A7

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

Preview Lab → · Contrast checker → · Palette generator →

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