#3930A4#3930A4

#3930A4 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.1% C 0.178 H 278.1°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#3930A4
RGBrgb(57, 48, 164)
HSLhsl(245, 55%, 42%)
HSVhsv(245, 71%, 64%)
CMYKcmyk(65.2%, 70.7%, 0%, 35.7%)
CIE-LABlab(28.55, 39.56, -61.12)
CIE-LCHlch(28.55, 72.81, 302.92°)
OKLaboklab(40.09% 0.0252 -0.1764)
OKLCHoklch(40.09% 0.178 278.1)
XYZxyz(9.4430, 5.6633, 35.7103)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3930A4 #9BA430
analogous
#3061A4 #3930A4 #7330A4
triadic
#3930A4 #A43930 #30A439
tetradic
#3930A4 #A43061 #9BA430 #30A473
square
#3930A4 #A43061 #9BA430 #30A473
split-complementary
#3930A4 #A47330 #61A430
monochromatic
#181445 #292275 #3930A4 #5248C9 #7F77D7

Accessibility & contrast

On white

9.85
#3930A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#3930A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3930A4
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3930A4#FFFFFF#000000##FFFFFF
##3930A41.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A7
Deuteranopia (green-blind)
#003FA2
Tritanopia (blue-blind)
#004F66
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3930a4;
/* rgb */ color: rgb(57, 48, 164);
/* oklch */ color: oklch(40.1% 0.178 278.1);
Tailwind
colors: {
  custom: {
    50: '#7d6ac0',
    500: '#3930a4',
    950: '#000000',
  },
}
SCSS
$custom: #3930a4;
$custom-light: #7d6ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#3930a4",
  "rgb": {
    "r": 57,
    "g": 48,
    "b": 164
  },
  "hsl": {
    "h": 244.655,
    "s": 54.717,
    "l": 41.569
  },
  "oklch": {
    "l": 0.40088,
    "c": 0.17819,
    "h": 278.1
  },
  "luminance": 0.05664
}

Semantic roles & 50–950 ramp

primary
#3930A4
secondary
#B9BF70
accent
#DE4AD3
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3930A4

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

Preview Lab → · Contrast checker → · Palette generator →

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