#3928A7#3928A7

#3928A7 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.2% C 0.190 H 279.1°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#3928A7
RGBrgb(57, 40, 167)
HSLhsl(248, 61%, 41%)
HSVhsv(248, 76%, 65%)
CMYKcmyk(65.9%, 76%, 0%, 34.5%)
CIE-LABlab(27.23, 45.03, -65.10)
CIE-LCHlch(27.23, 79.15, 304.68°)
OKLaboklab(39.24% 0.0299 -0.1879)
OKLCHoklch(39.24% 0.19 279.1)
XYZxyz(9.4190, 5.1767, 37.0546)
Luminance0.0518 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3928A7 #96A728
analogous
#2857A7 #3928A7 #7828A7
triadic
#3928A7 #A73928 #28A739
tetradic
#3928A7 #A72857 #96A728 #28A778
square
#3928A7 #A72857 #96A728 #28A778
split-complementary
#3928A7 #A77828 #57A728
monochromatic
#171044 #281C76 #3928A7 #503CD0 #7C6DDC

Accessibility & contrast

On white

10.32
#3928A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#3928A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3928A7
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3928A7#FFFFFF#000000##FFFFFF
##3928A71.0010.322.0410.32
#FFFFFF10.321.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3928a7;
/* rgb */ color: rgb(57, 40, 167);
/* oklch */ color: oklch(39.2% 0.190 279.1);
Tailwind
colors: {
  custom: {
    50: '#7f65c2',
    500: '#3928a7',
    950: '#000000',
  },
}
SCSS
$custom: #3928a7;
$custom-light: #7f65c2;
$custom-dark: #000000;
JSON
{
  "hex": "#3928a7",
  "rgb": {
    "r": 57,
    "g": 40,
    "b": 167
  },
  "hsl": {
    "h": 248.031,
    "s": 61.353,
    "l": 40.588
  },
  "oklch": {
    "l": 0.39244,
    "c": 0.19032,
    "h": 279.1
  },
  "luminance": 0.05177
}

Semantic roles & 50–950 ramp

primary
#3928A7
secondary
#B7C368
accent
#E443CF
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3928A7

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

Preview Lab → · Contrast checker → · Palette generator →

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