#3937A6#3937A6

#3937A6 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.4% C 0.173 H 276.5°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#3937A6
RGBrgb(57, 55, 166)
HSLhsl(241, 50%, 43%)
HSVhsv(241, 67%, 65%)
CMYKcmyk(65.7%, 66.9%, 0%, 34.9%)
CIE-LABlab(30.29, 36.00, -59.47)
CIE-LCHlch(30.29, 69.51, 301.19°)
OKLaboklab(41.4% 0.0197 -0.1715)
OKLCHoklch(41.4% 0.173 276.5)
XYZxyz(9.9342, 6.3546, 36.7720)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3937A6 #A4A637
analogous
#376CA6 #3937A6 #7037A6
triadic
#3937A6 #A63937 #37A639
tetradic
#3937A6 #A6376C #A4A637 #37A670
square
#3937A6 #A6376C #A4A637 #37A670
split-complementary
#3937A6 #A67037 #6CA637
monochromatic
#19194A #292878 #3937A6 #5654C6 #8382D6

Accessibility & contrast

On white

9.25
#3937A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#3937A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3937A6
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3937A6#FFFFFF#000000##FFFFFF
##3937A61.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA9
Deuteranopia (green-blind)
#0042A4
Tritanopia (blue-blind)
#005469
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3937a6;
/* rgb */ color: rgb(57, 55, 166);
/* oklch */ color: oklch(41.4% 0.173 276.5);
Tailwind
colors: {
  custom: {
    50: '#7d6ec1',
    500: '#3937a6',
    950: '#000000',
  },
}
SCSS
$custom: #3937a6;
$custom-light: #7d6ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#3937a6",
  "rgb": {
    "r": 57,
    "g": 55,
    "b": 166
  },
  "hsl": {
    "h": 241.081,
    "s": 50.226,
    "l": 43.333
  },
  "oklch": {
    "l": 0.41401,
    "c": 0.17267,
    "h": 276.5
  },
  "luminance": 0.06355
}

Semantic roles & 50–950 ramp

primary
#3937A6
secondary
#BEBF7A
accent
#DA4ED7
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #3937A6

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

Preview Lab → · Contrast checker → · Palette generator →

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