#3928AC#3928AC

#3928AC is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.8% C 0.196 H 278.4°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#3928AC
RGBrgb(57, 40, 172)
HSLhsl(248, 62%, 42%)
HSVhsv(248, 77%, 67%)
CMYKcmyk(66.9%, 76.7%, 0%, 32.5%)
CIE-LABlab(27.75, 46.59, -67.25)
CIE-LCHlch(27.75, 81.81, 304.72°)
OKLaboklab(39.76% 0.0287 -0.1942)
OKLCHoklch(39.76% 0.196 278.4)
XYZxyz(9.8901, 5.3652, 39.5361)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3928AC #9BAC28
analogous
#2859AC #3928AC #7B28AC
triadic
#3928AC #AC3928 #28AC39
tetradic
#3928AC #AC2859 #9BAC28 #28AC7B
square
#3928AC #AC2859 #9BAC28 #28AC7B
split-complementary
#3928AC #AC7B28 #59AC28
monochromatic
#181149 #291C7A #3928AC #523FD2 #7F71DE

Accessibility & contrast

On white

10.13
#3928AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#3928AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3928AC
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3928AC#FFFFFF#000000##FFFFFF
##3928AC1.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B0
Deuteranopia (green-blind)
#003CAA
Tritanopia (blue-blind)
#004F69
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3928ac;
/* rgb */ color: rgb(57, 40, 172);
/* oklch */ color: oklch(39.8% 0.196 278.4);
Tailwind
colors: {
  custom: {
    50: '#8065c6',
    500: '#3928ac',
    950: '#000000',
  },
}
SCSS
$custom: #3928ac;
$custom-light: #8065c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3928ac",
  "rgb": {
    "r": 57,
    "g": 40,
    "b": 172
  },
  "hsl": {
    "h": 247.727,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.39763,
    "c": 0.19635,
    "h": 278.4
  },
  "luminance": 0.05366
}

Semantic roles & 50–950 ramp

primary
#3928AC
secondary
#B9C56B
accent
#E542D0
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3928AC

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

Preview Lab → · Contrast checker → · Palette generator →

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