#3978D3#3978D3

#3978D3 is a mid, vivid blue. Relative luminance 0.190; OKLCH L 57.8% C 0.154 H 257.9°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#3978D3
RGBrgb(57, 120, 211)
HSLhsl(215, 64%, 53%)
HSVhsv(215, 73%, 83%)
CMYKcmyk(73%, 43.1%, 0%, 17.3%)
CIE-LABlab(50.69, 10.71, -52.74)
CIE-LCHlch(50.69, 53.82, 281.48°)
OKLaboklab(57.8% -0.0323 -0.1509)
OKLCHoklch(57.8% 0.154 257.9)
XYZxyz(20.1574, 19.0037, 64.2211)
Luminance0.1901 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3978D3 #D39439
analogous
#39C5D3 #3978D3 #4739D3
triadic
#3978D3 #D33978 #78D339
tetradic
#3978D3 #D339C5 #D39439 #39D347
square
#3978D3 #D339C5 #D39439 #39D347
split-complementary
#3978D3 #D34739 #C5D339
monochromatic
#1A4077 #265BA9 #3978D3 #6B9ADE #9DBCE9

Accessibility & contrast

On white

4.37
#3978D3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#3978D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3978D3
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3978D3#FFFFFF#000000##000000
##3978D31.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B80D7
Deuteranopia (green-blind)
#2F72D1
Tritanopia (blue-blind)
#008D9B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #3978d3;
/* rgb */ color: rgb(57, 120, 211);
/* oklch */ color: oklch(57.8% 0.154 257.9);
Tailwind
colors: {
  custom: {
    50: '#839ee1',
    500: '#3978d3',
    950: '#000000',
  },
}
SCSS
$custom: #3978d3;
$custom-light: #839ee1;
$custom-dark: #000000;
JSON
{
  "hex": "#3978d3",
  "rgb": {
    "r": 57,
    "g": 120,
    "b": 211
  },
  "hsl": {
    "h": 215.455,
    "s": 63.636,
    "l": 52.549
  },
  "oklch": {
    "l": 0.57801,
    "c": 0.15432,
    "h": 257.9
  },
  "luminance": 0.19006
}

Semantic roles & 50–950 ramp

primary
#3978D3
secondary
#D5BA92
accent
#A341E7
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #3978D3

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

Preview Lab → · Contrast checker → · Palette generator →

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