#3937C8#3937C8

#3937C8 is a dark, highly saturated blue. Relative luminance 0.078; OKLCH L 44.7% C 0.216 H 273.9°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#3937C8
RGBrgb(57, 55, 200)
HSLhsl(241, 57%, 50%)
HSVhsv(241, 73%, 78%)
CMYKcmyk(71.5%, 72.5%, 0%, 21.6%)
CIE-LABlab(33.50, 47.35, -74.34)
CIE-LCHlch(33.50, 88.14, 302.49°)
OKLaboklab(44.68% 0.0148 -0.215)
OKLCHoklch(44.68% 0.216 273.9)
XYZxyz(13.4754, 7.7710, 55.4222)
Luminance0.0777 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3937C8 #C6C837
analogous
#377DC8 #3937C8 #8237C8
triadic
#3937C8 #C83937 #37C839
tetradic
#3937C8 #C8377D #C6C837 #37C882
square
#3937C8 #C8377D #C6C837 #37C882
split-complementary
#3937C8 #C88237 #7DC837
monochromatic
#1E1D68 #2B2A98 #3937C8 #6967D5 #9897E2

Accessibility & contrast

On white

8.22
#3937C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#3937C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3937C8
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3937C8#FFFFFF#000000##FFFFFF
##3937C81.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056CC
Deuteranopia (green-blind)
#0048C5
Tritanopia (blue-blind)
#00607C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3937c8;
/* rgb */ color: rgb(57, 55, 200);
/* oklch */ color: oklch(44.7% 0.216 273.9);
Tailwind
colors: {
  custom: {
    50: '#846fda',
    500: '#3937c8',
    950: '#000000',
  },
}
SCSS
$custom: #3937c8;
$custom-light: #846fda;
$custom-dark: #000000;
JSON
{
  "hex": "#3937c8",
  "rgb": {
    "r": 57,
    "g": 55,
    "b": 200
  },
  "hsl": {
    "h": 240.828,
    "s": 56.863,
    "l": 50
  },
  "oklch": {
    "l": 0.44684,
    "c": 0.21552,
    "h": 273.9
  },
  "luminance": 0.07772
}

Semantic roles & 50–950 ramp

primary
#3937C8
secondary
#CDCE8D
accent
#E048DE
background
#F8F6FD
surface
#F0ECFB
border
#CBC7D4
text
#0D0715
muted
#7D7A83

Preview Lab

Preview with #3937C8

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

Preview Lab → · Contrast checker → · Palette generator →

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