#3937AA#3937AA

#3937AA is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.8% C 0.178 H 276.2°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#3937AA
RGBrgb(57, 55, 170)
HSLhsl(241, 51%, 44%)
HSVhsv(241, 68%, 67%)
CMYKcmyk(66.5%, 67.6%, 0%, 33.3%)
CIE-LABlab(30.65, 37.36, -61.28)
CIE-LCHlch(30.65, 71.77, 301.37°)
OKLaboklab(41.77% 0.0192 -0.1769)
OKLCHoklch(41.77% 0.178 276.2)
XYZxyz(10.3069, 6.5036, 38.7346)
Luminance0.0650 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3937AA #A8AA37
analogous
#376FAA #3937AA #7237AA
triadic
#3937AA #AA3937 #37AA39
tetradic
#3937AA #AA376F #A8AA37 #37AA72
square
#3937AA #AA376F #A8AA37 #37AA72
split-complementary
#3937AA #AA7237 #6FAA37
monochromatic
#1A194E #29287C #3937AA #5856C8 #8684D7

Accessibility & contrast

On white

9.13
#3937AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#3937AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3937AA#FFFFFF#000000##FFFFFF
##3937AA1.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAE
Deuteranopia (green-blind)
#0043A8
Tritanopia (blue-blind)
#00556C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3937aa;
/* rgb */ color: rgb(57, 55, 170);
/* oklch */ color: oklch(41.8% 0.178 276.2);
Tailwind
colors: {
  custom: {
    50: '#7e6ec4',
    500: '#3937aa',
    950: '#000000',
  },
}
SCSS
$custom: #3937aa;
$custom-light: #7e6ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#3937aa",
  "rgb": {
    "r": 57,
    "g": 55,
    "b": 170
  },
  "hsl": {
    "h": 241.043,
    "s": 51.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.41772,
    "c": 0.17791,
    "h": 276.2
  },
  "luminance": 0.06505
}

Semantic roles & 50–950 ramp

primary
#3937AA
secondary
#C0C17C
accent
#DB4DD8
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3937AA

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

Preview Lab → · Contrast checker → · Palette generator →

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