#3937AC#3937AC

#3937AC is a dark, vivid blue. Relative luminance 0.066; OKLCH L 42.0% C 0.180 H 276.0°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#3937AC
RGBrgb(57, 55, 172)
HSLhsl(241, 52%, 45%)
HSVhsv(241, 68%, 67%)
CMYKcmyk(66.9%, 68%, 0%, 32.5%)
CIE-LABlab(30.83, 38.04, -62.18)
CIE-LCHlch(30.83, 72.90, 301.45°)
OKLaboklab(41.96% 0.019 -0.1795)
OKLCHoklch(41.96% 0.181 276)
XYZxyz(10.4975, 6.5799, 39.7386)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3937AC #AAAC37
analogous
#376FAC #3937AC #7437AC
triadic
#3937AC #AC3937 #37AC39
tetradic
#3937AC #AC376F #AAAC37 #37AC74
square
#3937AC #AC376F #AAAC37 #37AC74
split-complementary
#3937AC #AC7437 #6FAC37
monochromatic
#1A194F #2A287E #3937AC #5957C9 #8785D8

Accessibility & contrast

On white

9.07
#3937AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#3937AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3937AC#FFFFFF#000000##FFFFFF
##3937AC1.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB0
Deuteranopia (green-blind)
#0043AA
Tritanopia (blue-blind)
#00566D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3937ac;
/* rgb */ color: rgb(57, 55, 172);
/* oklch */ color: oklch(42.0% 0.180 276.0);
Tailwind
colors: {
  custom: {
    50: '#7e6ec6',
    500: '#3937ac',
    950: '#000000',
  },
}
SCSS
$custom: #3937ac;
$custom-light: #7e6ec6;
$custom-dark: #000000;
JSON
{
  "hex": "#3937ac",
  "rgb": {
    "r": 57,
    "g": 55,
    "b": 172
  },
  "hsl": {
    "h": 241.026,
    "s": 51.542,
    "l": 44.51
  },
  "oklch": {
    "l": 0.41959,
    "c": 0.1805,
    "h": 276
  },
  "luminance": 0.06581
}

Semantic roles & 50–950 ramp

primary
#3937AC
secondary
#C1C27D
accent
#DB4DD9
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3937AC

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

Preview Lab → · Contrast checker → · Palette generator →

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