#3977D7#3977D7

#3977D7 is a mid, vivid blue. Relative luminance 0.190; OKLCH L 57.8% C 0.161 H 259.0°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#3977D7
RGBrgb(57, 119, 215)
HSLhsl(216, 66%, 53%)
HSVhsv(216, 73%, 84%)
CMYKcmyk(73.5%, 44.7%, 0%, 15.7%)
CIE-LABlab(50.65, 12.79, -55.08)
CIE-LCHlch(50.65, 56.54, 283.08°)
OKLaboklab(57.85% -0.0307 -0.1578)
OKLCHoklch(57.85% 0.161 259)
XYZxyz(20.5455, 18.9675, 66.8551)
Luminance0.1897 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3977D7 #D79939
analogous
#39C6D7 #3977D7 #4A39D7
triadic
#3977D7 #D73977 #77D739
tetradic
#3977D7 #D739C6 #D79939 #39D74A
square
#3977D7 #D739C6 #D79939 #39D74A
split-complementary
#3977D7 #D74A39 #C6D739
monochromatic
#19407C #235AAF #3977D7 #6C9AE1 #9FBDEC

Accessibility & contrast

On white

4.38
#3977D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#3977D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3977D7
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3977D7#FFFFFF#000000##000000
##3977D71.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4680DB
Deuteranopia (green-blind)
#2572D5
Tritanopia (blue-blind)
#008E9C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #3977d7;
/* rgb */ color: rgb(57, 119, 215);
/* oklch */ color: oklch(57.8% 0.161 259.0);
Tailwind
colors: {
  custom: {
    50: '#839de4',
    500: '#3977d7',
    950: '#000000',
  },
}
SCSS
$custom: #3977d7;
$custom-light: #839de4;
$custom-dark: #000000;
JSON
{
  "hex": "#3977d7",
  "rgb": {
    "r": 57,
    "g": 119,
    "b": 215
  },
  "hsl": {
    "h": 216.456,
    "s": 66.387,
    "l": 53.333
  },
  "oklch": {
    "l": 0.57845,
    "c": 0.16075,
    "h": 259
  },
  "luminance": 0.1897
}

Semantic roles & 50–950 ramp

primary
#3977D7
secondary
#D8BD94
accent
#A63EE9
background
#F8F9FE
surface
#F0F2FC
border
#CBCCD5
text
#0C0E15
muted
#7D7E84

Preview Lab

Preview with #3977D7

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

Preview Lab → · Contrast checker → · Palette generator →

#3977D7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva