#3978D7#3978D7

#3978D7 is a mid, vivid blue. Relative luminance 0.192; OKLCH L 58.1% C 0.160 H 258.6°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#3978D7
RGBrgb(57, 120, 215)
HSLhsl(216, 66%, 53%)
HSVhsv(216, 73%, 84%)
CMYKcmyk(73.5%, 44.2%, 0%, 15.7%)
CIE-LABlab(50.93, 12.17, -54.63)
CIE-LCHlch(50.93, 55.97, 282.56°)
OKLaboklab(58.06% -0.0315 -0.1564)
OKLCHoklch(58.06% 0.16 258.6)
XYZxyz(20.6651, 19.2068, 66.8950)
Luminance0.1921 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3978D7 #D79839
analogous
#39C7D7 #3978D7 #4939D7
triadic
#3978D7 #D73978 #78D739
tetradic
#3978D7 #D739C7 #D79839 #39D749
square
#3978D7 #D739C7 #D79839 #39D749
split-complementary
#3978D7 #D74939 #C7D739
monochromatic
#19417C #235BAF #3978D7 #6C9BE1 #9FBDEC

Accessibility & contrast

On white

4.34
#3978D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#3978D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3978D7
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3978D7#FFFFFF#000000##000000
##3978D71.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4881DB
Deuteranopia (green-blind)
#2973D5
Tritanopia (blue-blind)
#008E9D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #3978d7;
/* rgb */ color: rgb(57, 120, 215);
/* oklch */ color: oklch(58.1% 0.160 258.6);
Tailwind
colors: {
  custom: {
    50: '#839ee4',
    500: '#3978d7',
    950: '#000000',
  },
}
SCSS
$custom: #3978d7;
$custom-light: #839ee4;
$custom-dark: #000000;
JSON
{
  "hex": "#3978d7",
  "rgb": {
    "r": 57,
    "g": 120,
    "b": 215
  },
  "hsl": {
    "h": 216.076,
    "s": 66.387,
    "l": 53.333
  },
  "oklch": {
    "l": 0.5806,
    "c": 0.1596,
    "h": 258.6
  },
  "luminance": 0.19209
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3978D7

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

Preview Lab → · Contrast checker → · Palette generator →

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