#3972D7#3972D7

#3972D7 is a mid, vivid blue. Relative luminance 0.178; OKLCH L 56.8% C 0.167 H 260.9°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#3972D7
RGBrgb(57, 114, 215)
HSLhsl(218, 66%, 53%)
HSVhsv(218, 73%, 84%)
CMYKcmyk(73.5%, 47%, 0%, 15.7%)
CIE-LABlab(49.26, 15.92, -57.30)
CIE-LCHlch(49.26, 59.47, 285.53°)
OKLaboklab(56.78% -0.0265 -0.1644)
OKLCHoklch(56.78% 0.167 260.9)
XYZxyz(19.9660, 17.8086, 66.6619)
Luminance0.1781 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3972D7 #D79E39
analogous
#39C1D7 #3972D7 #4F39D7
triadic
#3972D7 #D73972 #72D739
tetradic
#3972D7 #D739C1 #D79E39 #39D74F
square
#3972D7 #D739C1 #D79E39 #39D74F
split-complementary
#3972D7 #D74F39 #C1D739
monochromatic
#193D7C #2356AF #3972D7 #6C96E1 #9FBBEC

Accessibility & contrast

On white

4.60
#3972D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#3972D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3972D7
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3972D7#FFFFFF#000000##FFFFFF
##3972D71.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B7DDB
Deuteranopia (green-blind)
#0F6ED5
Tritanopia (blue-blind)
#008A9A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #3972d7;
/* rgb */ color: rgb(57, 114, 215);
/* oklch */ color: oklch(56.8% 0.167 260.9);
Tailwind
colors: {
  custom: {
    50: '#8499e4',
    500: '#3972d7',
    950: '#000000',
  },
}
SCSS
$custom: #3972d7;
$custom-light: #8499e4;
$custom-dark: #000000;
JSON
{
  "hex": "#3972d7",
  "rgb": {
    "r": 57,
    "g": 114,
    "b": 215
  },
  "hsl": {
    "h": 218.354,
    "s": 66.387,
    "l": 53.333
  },
  "oklch": {
    "l": 0.56777,
    "c": 0.16654,
    "h": 260.9
  },
  "luminance": 0.17811
}

Semantic roles & 50–950 ramp

primary
#3972D7
secondary
#D8BF94
accent
#AC3EE9
background
#F8F9FE
surface
#F0F2FC
border
#CBCCD5
text
#0C0D16
muted
#7D7E84

Preview Lab

Preview with #3972D7

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

Preview Lab → · Contrast checker → · Palette generator →

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