#3928AB#3928AB

#3928AB is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.7% C 0.195 H 278.5°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#3928AB
RGBrgb(57, 40, 171)
HSLhsl(248, 62%, 41%)
HSVhsv(248, 77%, 67%)
CMYKcmyk(66.7%, 76.6%, 0%, 32.9%)
CIE-LABlab(27.65, 46.28, -66.82)
CIE-LCHlch(27.65, 81.29, 304.71°)
OKLaboklab(39.66% 0.029 -0.193)
OKLCHoklch(39.66% 0.195 278.5)
XYZxyz(9.7945, 5.3269, 39.0322)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3928AB #9AAB28
analogous
#2859AB #3928AB #7B28AB
triadic
#3928AB #AB3928 #28AB39
tetradic
#3928AB #AB2859 #9AAB28 #28AB7B
square
#3928AB #AB2859 #9AAB28 #28AB7B
split-complementary
#3928AB #AB7B28 #59AB28
monochromatic
#181148 #281C79 #3928AB #513ED2 #7E70DE

Accessibility & contrast

On white

10.17
#3928AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3928AB
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3928AB#FFFFFF#000000##FFFFFF
##3928AB1.0010.172.0710.17
#FFFFFF10.171.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AF
Deuteranopia (green-blind)
#003CA9
Tritanopia (blue-blind)
#004E68
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3928ab;
/* rgb */ color: rgb(57, 40, 171);
/* oklch */ color: oklch(39.7% 0.195 278.5);
Tailwind
colors: {
  custom: {
    50: '#7f65c5',
    500: '#3928ab',
    950: '#000000',
  },
}
SCSS
$custom: #3928ab;
$custom-light: #7f65c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3928ab",
  "rgb": {
    "r": 57,
    "g": 40,
    "b": 171
  },
  "hsl": {
    "h": 247.786,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.39659,
    "c": 0.19515,
    "h": 278.5
  },
  "luminance": 0.05328
}

Semantic roles & 50–950 ramp

primary
#3928AB
secondary
#B9C46A
accent
#E543D0
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3928AB

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

Preview Lab → · Contrast checker → · Palette generator →

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