#3937A4#3937A4

#3937A4 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.2% C 0.170 H 276.7°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#3937A4
RGBrgb(57, 55, 164)
HSLhsl(241, 50%, 43%)
HSVhsv(241, 66%, 64%)
CMYKcmyk(65.2%, 66.5%, 0%, 35.7%)
CIE-LABlab(30.11, 35.32, -58.55)
CIE-LCHlch(30.11, 68.38, 301.10°)
OKLaboklab(41.22% 0.0199 -0.1689)
OKLCHoklch(41.22% 0.17 276.7)
XYZxyz(9.7522, 6.2818, 35.8133)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3937A4 #A2A437
analogous
#376BA4 #3937A4 #6F37A4
triadic
#3937A4 #A43937 #37A439
tetradic
#3937A4 #A4376B #A2A437 #37A46F
square
#3937A4 #A4376B #A2A437 #37A46F
split-complementary
#3937A4 #A46F37 #6BA437
monochromatic
#191848 #292876 #3937A4 #5553C5 #8281D5

Accessibility & contrast

On white

9.31
#3937A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#3937A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3937A4
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3937A4#FFFFFF#000000##FFFFFF
##3937A41.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA7
Deuteranopia (green-blind)
#0042A2
Tritanopia (blue-blind)
#005368
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3937a4;
/* rgb */ color: rgb(57, 55, 164);
/* oklch */ color: oklch(41.2% 0.170 276.7);
Tailwind
colors: {
  custom: {
    50: '#7d6ec0',
    500: '#3937a4',
    950: '#000000',
  },
}
SCSS
$custom: #3937a4;
$custom-light: #7d6ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#3937a4",
  "rgb": {
    "r": 57,
    "g": 55,
    "b": 164
  },
  "hsl": {
    "h": 241.101,
    "s": 49.772,
    "l": 42.941
  },
  "oklch": {
    "l": 0.41218,
    "c": 0.17003,
    "h": 276.7
  },
  "luminance": 0.06283
}

Semantic roles & 50–950 ramp

primary
#3937A4
secondary
#BDBE79
accent
#D94FD7
background
#F8F6FB
surface
#EFECF7
border
#CAC7D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #3937A4

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

Preview Lab → · Contrast checker → · Palette generator →

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