#3937A0#3937A0

#3937A0 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.9% C 0.165 H 277.1°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#3937A0
RGBrgb(57, 55, 160)
HSLhsl(241, 49%, 42%)
HSVhsv(241, 66%, 63%)
CMYKcmyk(64.4%, 65.6%, 0%, 37.3%)
CIE-LABlab(29.76, 33.95, -56.71)
CIE-LCHlch(29.76, 66.09, 300.91°)
OKLaboklab(40.86% 0.0203 -0.1635)
OKLCHoklch(40.86% 0.165 277.1)
XYZxyz(9.3966, 6.1395, 33.9408)
Luminance0.0614 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3937A0 #9EA037
analogous
#376AA0 #3937A0 #6E37A0
triadic
#3937A0 #A03937 #37A039
tetradic
#3937A0 #A0376A #9EA037 #37A06E
square
#3937A0 #A0376A #9EA037 #37A06E
split-complementary
#3937A0 #A06E37 #6AA037
monochromatic
#191845 #292772 #3937A0 #5351C3 #807FD3

Accessibility & contrast

On white

9.43
#3937A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#3937A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3937A0
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3937A0#FFFFFF#000000##FFFFFF
##3937A01.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA3
Deuteranopia (green-blind)
#00429E
Tritanopia (blue-blind)
#005266
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3937a0;
/* rgb */ color: rgb(57, 55, 160);
/* oklch */ color: oklch(40.9% 0.165 277.1);
Tailwind
colors: {
  custom: {
    50: '#7c6ebd',
    500: '#3937a0',
    950: '#000000',
  },
}
SCSS
$custom: #3937a0;
$custom-light: #7c6ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#3937a0",
  "rgb": {
    "r": 57,
    "g": 55,
    "b": 160
  },
  "hsl": {
    "h": 241.143,
    "s": 48.837,
    "l": 42.157
  },
  "oklch": {
    "l": 0.40855,
    "c": 0.1647,
    "h": 277.1
  },
  "luminance": 0.0614
}

Semantic roles & 50–950 ramp

primary
#3937A0
secondary
#BBBC77
accent
#D84FD6
background
#F8F6FB
surface
#EFECF7
border
#CAC7D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #3937A0

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

Preview Lab → · Contrast checker → · Palette generator →

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