#3937B6#3937B6

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

Color values

HEX#3937B6
RGBrgb(57, 55, 182)
HSLhsl(241, 54%, 46%)
HSVhsv(241, 70%, 71%)
CMYKcmyk(68.7%, 69.8%, 0%, 28.6%)
CIE-LABlab(31.76, 41.40, -66.62)
CIE-LCHlch(31.76, 78.44, 301.86°)
OKLaboklab(42.91% 0.0176 -0.1925)
OKLCHoklch(42.91% 0.193 275.2)
XYZxyz(11.4942, 6.9786, 44.9882)
Luminance0.0698 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3937B6 #B4B637
analogous
#3775B6 #3937B6 #7937B6
triadic
#3937B6 #B63937 #37B639
tetradic
#3937B6 #B63775 #B4B637 #37B679
square
#3937B6 #B63775 #B4B637 #37B679
split-complementary
#3937B6 #B67937 #75B637
monochromatic
#1C1B58 #2A2987 #3937B6 #5E5CCE #8D8BDC

Accessibility & contrast

On white

8.76
#3937B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3937B6
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3937B6#FFFFFF#000000##FFFFFF
##3937B61.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050BA
Deuteranopia (green-blind)
#0045B4
Tritanopia (blue-blind)
#005A72
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3937b6;
/* rgb */ color: rgb(57, 55, 182);
/* oklch */ color: oklch(42.9% 0.193 275.2);
Tailwind
colors: {
  custom: {
    50: '#806fcd',
    500: '#3937b6',
    950: '#000000',
  },
}
SCSS
$custom: #3937b6;
$custom-light: #806fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#3937b6",
  "rgb": {
    "r": 57,
    "g": 55,
    "b": 182
  },
  "hsl": {
    "h": 240.945,
    "s": 53.586,
    "l": 46.471
  },
  "oklch": {
    "l": 0.42911,
    "c": 0.19329,
    "h": 275.2
  },
  "luminance": 0.0698
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3937B6

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

Preview Lab → · Contrast checker → · Palette generator →

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