#3928B2#3928B2

#3928B2 is a dark, highly saturated blue. Relative luminance 0.056; OKLCH L 40.4% C 0.203 H 277.7°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#3928B2
RGBrgb(57, 40, 178)
HSLhsl(247, 63%, 43%)
HSVhsv(247, 78%, 70%)
CMYKcmyk(68%, 77.5%, 0%, 30.2%)
CIE-LABlab(28.38, 48.45, -69.80)
CIE-LCHlch(28.38, 84.97, 304.77°)
OKLaboklab(40.39% 0.0272 -0.2017)
OKLCHoklch(40.39% 0.204 277.7)
XYZxyz(10.4794, 5.6009, 42.6397)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3928B2 #A1B228
analogous
#285CB2 #3928B2 #7E28B2
triadic
#3928B2 #B23928 #28B239
tetradic
#3928B2 #B2285C #A1B228 #28B27E
square
#3928B2 #B2285C #A1B228 #28B27E
split-complementary
#3928B2 #B27E28 #5CB228
monochromatic
#19124E #291D80 #3928B2 #5543D5 #8275E0

Accessibility & contrast

On white

9.90
#3928B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#3928B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3928B2
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3928B2#FFFFFF#000000##FFFFFF
##3928B21.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B6
Deuteranopia (green-blind)
#003DB0
Tritanopia (blue-blind)
#00516C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3928b2;
/* rgb */ color: rgb(57, 40, 178);
/* oklch */ color: oklch(40.4% 0.203 277.7);
Tailwind
colors: {
  custom: {
    50: '#8165ca',
    500: '#3928b2',
    950: '#000000',
  },
}
SCSS
$custom: #3928b2;
$custom-light: #8165ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3928b2",
  "rgb": {
    "r": 57,
    "g": 40,
    "b": 178
  },
  "hsl": {
    "h": 247.391,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.40394,
    "c": 0.2035,
    "h": 277.7
  },
  "luminance": 0.05602
}

Semantic roles & 50–950 ramp

primary
#3928B2
secondary
#BCC76F
accent
#E641D2
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3928B2

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

Preview Lab → · Contrast checker → · Palette generator →

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