#3937AD#3937AD

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

Color values

HEX#3937AD
RGBrgb(57, 55, 173)
HSLhsl(241, 52%, 45%)
HSVhsv(241, 68%, 68%)
CMYKcmyk(67.1%, 68.2%, 0%, 32.2%)
CIE-LABlab(30.92, 38.38, -62.63)
CIE-LCHlch(30.92, 73.46, 301.50°)
OKLaboklab(42.05% 0.0189 -0.1808)
OKLCHoklch(42.05% 0.182 276)
XYZxyz(10.5939, 6.6184, 40.2463)
Luminance0.0662 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3937AD #ABAD37
analogous
#3770AD #3937AD #7437AD
triadic
#3937AD #AD3937 #37AD39
tetradic
#3937AD #AD3770 #ABAD37 #37AD74
square
#3937AD #AD3770 #ABAD37 #37AD74
split-complementary
#3937AD #AD7437 #70AD37
monochromatic
#1A1950 #2A287F #3937AD #5957CA #8786D8

Accessibility & contrast

On white

9.04
#3937AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##3937AD#FFFFFF#000000##FFFFFF
##3937AD1.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB1
Deuteranopia (green-blind)
#0044AB
Tritanopia (blue-blind)
#00566D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3937ad;
/* rgb */ color: rgb(57, 55, 173);
/* oklch */ color: oklch(42.1% 0.182 276.0);
Tailwind
colors: {
  custom: {
    50: '#7e6ec6',
    500: '#3937ad',
    950: '#000000',
  },
}
SCSS
$custom: #3937ad;
$custom-light: #7e6ec6;
$custom-dark: #000000;
JSON
{
  "hex": "#3937ad",
  "rgb": {
    "r": 57,
    "g": 55,
    "b": 173
  },
  "hsl": {
    "h": 241.017,
    "s": 51.754,
    "l": 44.706
  },
  "oklch": {
    "l": 0.42053,
    "c": 0.1818,
    "h": 276
  },
  "luminance": 0.06619
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3937AD

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

Preview Lab → · Contrast checker → · Palette generator →

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