#3976D7#3976D7

#3976D7 is a mid, vivid blue. Relative luminance 0.187; OKLCH L 57.6% C 0.162 H 259.4°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#3976D7
RGBrgb(57, 118, 215)
HSLhsl(217, 66%, 53%)
HSVhsv(217, 73%, 84%)
CMYKcmyk(73.5%, 45.1%, 0%, 15.7%)
CIE-LABlab(50.37, 13.42, -55.52)
CIE-LCHlch(50.37, 57.12, 283.58°)
OKLaboklab(57.63% -0.0298 -0.1591)
OKLCHoklch(57.63% 0.162 259.4)
XYZxyz(20.4271, 18.7308, 66.8156)
Luminance0.1873 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3976D7 #D79A39
analogous
#39C5D7 #3976D7 #4B39D7
triadic
#3976D7 #D73976 #76D739
tetradic
#3976D7 #D739C5 #D79A39 #39D74B
square
#3976D7 #D739C5 #D79A39 #39D74B
split-complementary
#3976D7 #D74B39 #C5D739
monochromatic
#193F7C #2359AF #3976D7 #6C99E1 #9FBCEC

Accessibility & contrast

On white

4.42
#3976D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#3976D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3976D7
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3976D7#FFFFFF#000000##000000
##3976D71.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4480DB
Deuteranopia (green-blind)
#2271D5
Tritanopia (blue-blind)
#008D9C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #3976d7;
/* rgb */ color: rgb(57, 118, 215);
/* oklch */ color: oklch(57.6% 0.162 259.4);
Tailwind
colors: {
  custom: {
    50: '#849ce4',
    500: '#3976d7',
    950: '#000000',
  },
}
SCSS
$custom: #3976d7;
$custom-light: #849ce4;
$custom-dark: #000000;
JSON
{
  "hex": "#3976d7",
  "rgb": {
    "r": 57,
    "g": 118,
    "b": 215
  },
  "hsl": {
    "h": 216.835,
    "s": 66.387,
    "l": 53.333
  },
  "oklch": {
    "l": 0.5763,
    "c": 0.16189,
    "h": 259.4
  },
  "luminance": 0.18733
}

Semantic roles & 50–950 ramp

primary
#3976D7
secondary
#D8BE94
accent
#A73EE9
background
#F8F9FE
surface
#F0F2FC
border
#CBCCD5
text
#0C0E16
muted
#7D7E84

Preview Lab

Preview with #3976D7

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

Preview Lab → · Contrast checker → · Palette generator →

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