#3930A7#3930A7

#3930A7 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.4% C 0.182 H 277.8°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#3930A7
RGBrgb(57, 48, 167)
HSLhsl(245, 55%, 42%)
HSVhsv(245, 71%, 65%)
CMYKcmyk(65.9%, 71.3%, 0%, 34.5%)
CIE-LABlab(28.83, 40.55, -62.46)
CIE-LCHlch(28.83, 74.47, 302.99°)
OKLaboklab(40.38% 0.0247 -0.1803)
OKLCHoklch(40.38% 0.182 277.8)
XYZxyz(9.7171, 5.7730, 37.1539)
Luminance0.0577 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3930A7 #9EA730
analogous
#3062A7 #3930A7 #7530A7
triadic
#3930A7 #A73930 #30A739
tetradic
#3930A7 #A73062 #9EA730 #30A775
square
#3930A7 #A73062 #9EA730 #30A775
split-complementary
#3930A7 #A77530 #62A730
monochromatic
#191548 #292277 #3930A7 #5349CB #8079D8

Accessibility & contrast

On white

9.75
#3930A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#3930A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3930A7
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3930A7#FFFFFF#000000##FFFFFF
##3930A71.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AB
Deuteranopia (green-blind)
#003FA5
Tritanopia (blue-blind)
#005168
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3930a7;
/* rgb */ color: rgb(57, 48, 167);
/* oklch */ color: oklch(40.4% 0.182 277.8);
Tailwind
colors: {
  custom: {
    50: '#7e6ac2',
    500: '#3930a7',
    950: '#000000',
  },
}
SCSS
$custom: #3930a7;
$custom-light: #7e6ac2;
$custom-dark: #000000;
JSON
{
  "hex": "#3930a7",
  "rgb": {
    "r": 57,
    "g": 48,
    "b": 167
  },
  "hsl": {
    "h": 244.538,
    "s": 55.349,
    "l": 42.157
  },
  "oklch": {
    "l": 0.40379,
    "c": 0.182,
    "h": 277.8
  },
  "luminance": 0.05774
}

Semantic roles & 50–950 ramp

primary
#3930A7
secondary
#BBC172
accent
#DF49D3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3930A7

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

Preview Lab → · Contrast checker → · Palette generator →

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