#3977D2#3977D2

#3977D2 is a mid, vivid blue. Relative luminance 0.187; OKLCH L 57.5% C 0.154 H 258.2°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#3977D2
RGBrgb(57, 119, 210)
HSLhsl(216, 63%, 52%)
HSVhsv(216, 73%, 82%)
CMYKcmyk(72.9%, 43.3%, 0%, 17.6%)
CIE-LABlab(50.35, 10.96, -52.72)
CIE-LCHlch(50.35, 53.85, 281.75°)
OKLaboklab(57.52% -0.0316 -0.1509)
OKLCHoklch(57.52% 0.154 258.2)
XYZxyz(19.9128, 18.7145, 63.5231)
Luminance0.1872 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3977D2 #D29439
analogous
#39C4D2 #3977D2 #4739D2
triadic
#3977D2 #D23977 #77D239
tetradic
#3977D2 #D239C4 #D29439 #39D247
square
#3977D2 #D239C4 #D29439 #39D247
split-complementary
#3977D2 #D24739 #C4D239
monochromatic
#1B4076 #265BA8 #3977D2 #6B99DD #9DBCE9

Accessibility & contrast

On white

4.43
#3977D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#3977D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3977D2
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3977D2#FFFFFF#000000##000000
##3977D21.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A7FD6
Deuteranopia (green-blind)
#2E71D0
Tritanopia (blue-blind)
#008C9A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #3977d2;
/* rgb */ color: rgb(57, 119, 210);
/* oklch */ color: oklch(57.5% 0.154 258.2);
Tailwind
colors: {
  custom: {
    50: '#829de0',
    500: '#3977d2',
    950: '#000000',
  },
}
SCSS
$custom: #3977d2;
$custom-light: #829de0;
$custom-dark: #000000;
JSON
{
  "hex": "#3977d2",
  "rgb": {
    "r": 57,
    "g": 119,
    "b": 210
  },
  "hsl": {
    "h": 215.686,
    "s": 62.963,
    "l": 52.353
  },
  "oklch": {
    "l": 0.57518,
    "c": 0.15413,
    "h": 258.2
  },
  "luminance": 0.18717
}

Semantic roles & 50–950 ramp

primary
#3977D2
secondary
#D5BA92
accent
#A342E6
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #3977D2

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

Preview Lab → · Contrast checker → · Palette generator →

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