#3928A5#3928A5

#3928A5 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 39.0% C 0.188 H 279.3°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#3928A5
RGBrgb(57, 40, 165)
HSLhsl(248, 61%, 40%)
HSVhsv(248, 76%, 65%)
CMYKcmyk(65.5%, 75.8%, 0%, 35.3%)
CIE-LABlab(27.03, 44.41, -64.22)
CIE-LCHlch(27.03, 78.08, 304.66°)
OKLaboklab(39.04% 0.0304 -0.1854)
OKLCHoklch(39.04% 0.188 279.3)
XYZxyz(9.2355, 5.1033, 36.0884)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3928A5 #94A528
analogous
#2855A5 #3928A5 #7728A5
triadic
#3928A5 #A53928 #28A539
tetradic
#3928A5 #A52855 #94A528 #28A577
square
#3928A5 #A52855 #94A528 #28A577
split-complementary
#3928A5 #A57728 #55A528
monochromatic
#171042 #281C74 #3928A5 #4F3BCF #7B6CDB

Accessibility & contrast

On white

10.39
#3928A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#3928A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3928A5
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3928A5#FFFFFF#000000##FFFFFF
##3928A51.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A9
Deuteranopia (green-blind)
#003BA3
Tritanopia (blue-blind)
#004C65
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3928a5;
/* rgb */ color: rgb(57, 40, 165);
/* oklch */ color: oklch(39.0% 0.188 279.3);
Tailwind
colors: {
  custom: {
    50: '#7e65c1',
    500: '#3928a5',
    950: '#000000',
  },
}
SCSS
$custom: #3928a5;
$custom-light: #7e65c1;
$custom-dark: #000000;
JSON
{
  "hex": "#3928a5",
  "rgb": {
    "r": 57,
    "g": 40,
    "b": 165
  },
  "hsl": {
    "h": 248.16,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.39038,
    "c": 0.1879,
    "h": 279.3
  },
  "luminance": 0.05104
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3928A5

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

Preview Lab → · Contrast checker → · Palette generator →

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