#3937B7#3937B7

#3937B7 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 43.0% C 0.195 H 275.2°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#3937B7
RGBrgb(57, 55, 183)
HSLhsl(241, 54%, 47%)
HSVhsv(241, 70%, 72%)
CMYKcmyk(68.9%, 69.9%, 0%, 28.2%)
CIE-LABlab(31.85, 41.74, -67.06)
CIE-LCHlch(31.85, 78.99, 301.90°)
OKLaboklab(43.01% 0.0175 -0.1938)
OKLCHoklch(43.01% 0.195 275.2)
XYZxyz(11.5980, 7.0201, 45.5344)
Luminance0.0702 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3937B7 #B5B737
analogous
#3775B7 #3937B7 #7937B7
triadic
#3937B7 #B73937 #37B739
tetradic
#3937B7 #B73775 #B5B737 #37B779
square
#3937B7 #B73775 #B5B737 #37B779
split-complementary
#3937B7 #B77937 #75B737
monochromatic
#1C1B59 #2A2988 #3937B7 #5F5DCE #8D8CDC

Accessibility & contrast

On white

8.73
#3937B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#3937B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3937B7#FFFFFF#000000##FFFFFF
##3937B71.008.732.408.73
#FFFFFF8.731.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BB
Deuteranopia (green-blind)
#0045B5
Tritanopia (blue-blind)
#005A73
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3937b7;
/* rgb */ color: rgb(57, 55, 183);
/* oklch */ color: oklch(43.0% 0.195 275.2);
Tailwind
colors: {
  custom: {
    50: '#816fce',
    500: '#3937b7',
    950: '#000000',
  },
}
SCSS
$custom: #3937b7;
$custom-light: #816fce;
$custom-dark: #000000;
JSON
{
  "hex": "#3937b7",
  "rgb": {
    "r": 57,
    "g": 55,
    "b": 183
  },
  "hsl": {
    "h": 240.938,
    "s": 53.782,
    "l": 46.667
  },
  "oklch": {
    "l": 0.43007,
    "c": 0.19455,
    "h": 275.2
  },
  "luminance": 0.07021
}

Semantic roles & 50–950 ramp

primary
#3937B7
secondary
#C6C783
accent
#DD4BDB
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3937B7

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

Preview Lab → · Contrast checker → · Palette generator →

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