#3937B5#3937B5

#3937B5 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.8% C 0.192 H 275.3°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#3937B5
RGBrgb(57, 55, 181)
HSLhsl(241, 53%, 46%)
HSVhsv(241, 70%, 71%)
CMYKcmyk(68.5%, 69.6%, 0%, 29%)
CIE-LABlab(31.66, 41.07, -66.18)
CIE-LCHlch(31.66, 77.89, 301.82°)
OKLaboklab(42.81% 0.0178 -0.1912)
OKLCHoklch(42.81% 0.192 275.3)
XYZxyz(11.3913, 6.9374, 44.4458)
Luminance0.0694 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3937B5 #B3B537
analogous
#3774B5 #3937B5 #7837B5
triadic
#3937B5 #B53937 #37B539
tetradic
#3937B5 #B53774 #B3B537 #37B578
square
#3937B5 #B53774 #B3B537 #37B578
split-complementary
#3937B5 #B57837 #74B537
monochromatic
#1B1A57 #2A2986 #3937B5 #5E5CCD #8C8BDC

Accessibility & contrast

On white

8.80
#3937B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#3937B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3937B5#FFFFFF#000000##FFFFFF
##3937B51.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B9
Deuteranopia (green-blind)
#0045B3
Tritanopia (blue-blind)
#005972
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3937b5;
/* rgb */ color: rgb(57, 55, 181);
/* oklch */ color: oklch(42.8% 0.192 275.3);
Tailwind
colors: {
  custom: {
    50: '#806fcc',
    500: '#3937b5',
    950: '#000000',
  },
}
SCSS
$custom: #3937b5;
$custom-light: #806fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#3937b5",
  "rgb": {
    "r": 57,
    "g": 55,
    "b": 181
  },
  "hsl": {
    "h": 240.952,
    "s": 53.39,
    "l": 46.275
  },
  "oklch": {
    "l": 0.42814,
    "c": 0.19202,
    "h": 275.3
  },
  "luminance": 0.06938
}

Semantic roles & 50–950 ramp

primary
#3937B5
secondary
#C5C682
accent
#DD4BDA
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3937B5

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

Preview Lab → · Contrast checker → · Palette generator →

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