#3928A4#3928A4

#3928A4 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.9% C 0.187 H 279.5°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#3928A4
RGBrgb(57, 40, 164)
HSLhsl(248, 61%, 40%)
HSVhsv(248, 76%, 64%)
CMYKcmyk(65.2%, 75.6%, 0%, 35.7%)
CIE-LABlab(26.92, 44.09, -63.79)
CIE-LCHlch(26.92, 77.54, 304.65°)
OKLaboklab(38.93% 0.0307 -0.1841)
OKLCHoklch(38.93% 0.187 279.5)
XYZxyz(9.1448, 5.0670, 35.6109)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3928A4 #93A428
analogous
#2855A4 #3928A4 #7728A4
triadic
#3928A4 #A43928 #28A439
tetradic
#3928A4 #A42855 #93A428 #28A477
square
#3928A4 #A42855 #93A428 #28A477
split-complementary
#3928A4 #A47728 #55A428
monochromatic
#171042 #281C73 #3928A4 #4F3ACF #7B6BDB

Accessibility & contrast

On white

10.43
#3928A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#3928A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3928A4
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3928A4#FFFFFF#000000##FFFFFF
##3928A41.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A8
Deuteranopia (green-blind)
#003BA2
Tritanopia (blue-blind)
#004C64
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3928a4;
/* rgb */ color: rgb(57, 40, 164);
/* oklch */ color: oklch(38.9% 0.187 279.5);
Tailwind
colors: {
  custom: {
    50: '#7e65c0',
    500: '#3928a4',
    950: '#000000',
  },
}
SCSS
$custom: #3928a4;
$custom-light: #7e65c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3928a4",
  "rgb": {
    "r": 57,
    "g": 40,
    "b": 164
  },
  "hsl": {
    "h": 248.226,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.38935,
    "c": 0.18668,
    "h": 279.5
  },
  "luminance": 0.05068
}

Semantic roles & 50–950 ramp

primary
#3928A4
secondary
#B5C166
accent
#E444CE
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3928A4

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

Preview Lab → · Contrast checker → · Palette generator →

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