#3977DA#3977DA

#3977DA is a mid, vivid blue. Relative luminance 0.191; OKLCH L 58.0% C 0.165 H 259.4°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#3977DA
RGBrgb(57, 119, 218)
HSLhsl(217, 69%, 54%)
HSVhsv(217, 74%, 85%)
CMYKcmyk(73.9%, 45.4%, 0%, 14.5%)
CIE-LABlab(50.83, 13.89, -56.48)
CIE-LCHlch(50.83, 58.17, 283.82°)
OKLaboklab(58.04% -0.0302 -0.1619)
OKLCHoklch(58.04% 0.165 259.4)
XYZxyz(20.9345, 19.1231, 68.9039)
Luminance0.1913 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3977DA #DA9C39
analogous
#39C8DA #3977DA #4C39DA
triadic
#3977DA #DA3977 #77DA39
tetradic
#3977DA #DA39C8 #DA9C39 #39DA4C
square
#3977DA #DA39C8 #DA9C39 #39DA4C
split-complementary
#3977DA #DA4C39 #C8DA39
monochromatic
#184081 #225AB4 #3977DA #6D9AE4 #A0BEED

Accessibility & contrast

On white

4.35
#3977DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#3977DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3977DA
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3977DA#FFFFFF#000000##000000
##3977DA1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4381DE
Deuteranopia (green-blind)
#1F72D8
Tritanopia (blue-blind)
#008E9E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #3977da;
/* rgb */ color: rgb(57, 119, 218);
/* oklch */ color: oklch(58.0% 0.165 259.4);
Tailwind
colors: {
  custom: {
    50: '#849de6',
    500: '#3977da',
    950: '#000000',
  },
}
SCSS
$custom: #3977da;
$custom-light: #849de6;
$custom-dark: #000000;
JSON
{
  "hex": "#3977da",
  "rgb": {
    "r": 57,
    "g": 119,
    "b": 218
  },
  "hsl": {
    "h": 216.894,
    "s": 68.511,
    "l": 53.922
  },
  "oklch": {
    "l": 0.58043,
    "c": 0.16471,
    "h": 259.4
  },
  "luminance": 0.19125
}

Semantic roles & 50–950 ramp

primary
#3977DA
secondary
#DABF95
accent
#A83CEB
background
#F8F9FE
surface
#F0F2FC
border
#CBCCD5
text
#0C0E16
muted
#7D7E84

Preview Lab

Preview with #3977DA

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

Preview Lab → · Contrast checker → · Palette generator →

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