#3928A2#3928A2

#3928A2 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.7% C 0.184 H 279.7°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#3928A2
RGBrgb(57, 40, 162)
HSLhsl(248, 60%, 40%)
HSVhsv(248, 75%, 64%)
CMYKcmyk(64.8%, 75.3%, 0%, 36.5%)
CIE-LABlab(26.72, 43.46, -62.91)
CIE-LCHlch(26.72, 76.46, 304.64°)
OKLaboklab(38.73% 0.0311 -0.1816)
OKLCHoklch(38.73% 0.184 279.7)
XYZxyz(8.9656, 4.9954, 34.6672)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3928A2 #91A228
analogous
#2854A2 #3928A2 #7628A2
triadic
#3928A2 #A23928 #28A239
tetradic
#3928A2 #A22854 #91A228 #28A276
square
#3928A2 #A22854 #91A228 #28A276
split-complementary
#3928A2 #A27628 #54A228
monochromatic
#161040 #281C71 #3928A2 #4E39CE #7A6ADA

Accessibility & contrast

On white

10.50
#3928A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#3928A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3928A2
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3928A2#FFFFFF#000000##FFFFFF
##3928A21.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A6
Deuteranopia (green-blind)
#003AA0
Tritanopia (blue-blind)
#004B63
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3928a2;
/* rgb */ color: rgb(57, 40, 162);
/* oklch */ color: oklch(38.7% 0.184 279.7);
Tailwind
colors: {
  custom: {
    50: '#7e64bf',
    500: '#3928a2',
    950: '#000000',
  },
}
SCSS
$custom: #3928a2;
$custom-light: #7e64bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3928a2",
  "rgb": {
    "r": 57,
    "g": 40,
    "b": 162
  },
  "hsl": {
    "h": 248.361,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.3873,
    "c": 0.18423,
    "h": 279.7
  },
  "luminance": 0.04996
}

Semantic roles & 50–950 ramp

primary
#3928A2
secondary
#B4C165
accent
#E444CD
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3928A2

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

Preview Lab → · Contrast checker → · Palette generator →

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