#3937BB#3937BB

#3937BB is a dark, vivid blue. Relative luminance 0.072; OKLCH L 43.4% C 0.200 H 274.9°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#3937BB
RGBrgb(57, 55, 187)
HSLhsl(241, 55%, 47%)
HSVhsv(241, 71%, 73%)
CMYKcmyk(69.5%, 70.6%, 0%, 26.7%)
CIE-LABlab(32.23, 43.07, -68.80)
CIE-LCHlch(32.23, 81.17, 302.05°)
OKLaboklab(43.4% 0.0169 -0.1988)
OKLCHoklch(43.4% 0.2 274.9)
XYZxyz(12.0202, 7.1890, 47.7582)
Luminance0.0719 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3937BB #B9BB37
analogous
#3777BB #3937BB #7B37BB
triadic
#3937BB #BB3937 #37BB39
tetradic
#3937BB #BB3777 #B9BB37 #37BB7B
square
#3937BB #BB3777 #B9BB37 #37BB7B
split-complementary
#3937BB #BB7B37 #77BB37
monochromatic
#1C1B5C #2B298C #3937BB #615FD0 #908EDE

Accessibility & contrast

On white

8.61
#3937BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#3937BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3937BB#FFFFFF#000000##FFFFFF
##3937BB1.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BF
Deuteranopia (green-blind)
#0046B9
Tritanopia (blue-blind)
#005B75
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3937bb;
/* rgb */ color: rgb(57, 55, 187);
/* oklch */ color: oklch(43.4% 0.200 274.9);
Tailwind
colors: {
  custom: {
    50: '#816fd1',
    500: '#3937bb',
    950: '#000000',
  },
}
SCSS
$custom: #3937bb;
$custom-light: #816fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#3937bb",
  "rgb": {
    "r": 57,
    "g": 55,
    "b": 187
  },
  "hsl": {
    "h": 240.909,
    "s": 54.545,
    "l": 47.451
  },
  "oklch": {
    "l": 0.43396,
    "c": 0.19956,
    "h": 274.9
  },
  "luminance": 0.0719
}

Semantic roles & 50–950 ramp

primary
#3937BB
secondary
#C8C985
accent
#DE4ADC
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3937BB

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

Preview Lab → · Contrast checker → · Palette generator →

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