#3930A2#3930A2

#3930A2 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.9% C 0.176 H 278.4°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#3930A2
RGBrgb(57, 48, 162)
HSLhsl(245, 54%, 41%)
HSVhsv(245, 70%, 64%)
CMYKcmyk(64.8%, 70.4%, 0%, 36.5%)
CIE-LABlab(28.36, 38.90, -60.22)
CIE-LCHlch(28.36, 71.69, 302.86°)
OKLaboklab(39.9% 0.0256 -0.1737)
OKLCHoklch(39.9% 0.176 278.4)
XYZxyz(9.2638, 5.5917, 34.7665)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3930A2 #99A230
analogous
#3060A2 #3930A2 #7230A2
triadic
#3930A2 #A23930 #30A239
tetradic
#3930A2 #A23060 #99A230 #30A272
square
#3930A2 #A23060 #99A230 #30A272
split-complementary
#3930A2 #A27230 #60A230
monochromatic
#181444 #282273 #3930A2 #5147C8 #7E76D6

Accessibility & contrast

On white

9.91
#3930A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#3930A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3930A2
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3930A2#FFFFFF#000000##FFFFFF
##3930A21.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A5
Deuteranopia (green-blind)
#003EA0
Tritanopia (blue-blind)
#004F65
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3930a2;
/* rgb */ color: rgb(57, 48, 162);
/* oklch */ color: oklch(39.9% 0.176 278.4);
Tailwind
colors: {
  custom: {
    50: '#7d6abf',
    500: '#3930a2',
    950: '#000000',
  },
}
SCSS
$custom: #3930a2;
$custom-light: #7d6abf;
$custom-dark: #000000;
JSON
{
  "hex": "#3930a2",
  "rgb": {
    "r": 57,
    "g": 48,
    "b": 162
  },
  "hsl": {
    "h": 244.737,
    "s": 54.286,
    "l": 41.176
  },
  "oklch": {
    "l": 0.39895,
    "c": 0.17562,
    "h": 278.4
  },
  "luminance": 0.05592
}

Semantic roles & 50–950 ramp

primary
#3930A2
secondary
#B8BE6F
accent
#DE4AD2
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3930A2

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

Preview Lab → · Contrast checker → · Palette generator →

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