#3979DE#3979DE

#3979DE is a mid, vivid blue. Relative luminance 0.198; OKLCH L 58.7% C 0.168 H 259.3°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#3979DE
RGBrgb(57, 121, 222)
HSLhsl(217, 71%, 55%)
HSVhsv(217, 74%, 87%)
CMYKcmyk(74.3%, 45.5%, 0%, 12.9%)
CIE-LABlab(51.63, 14.11, -57.46)
CIE-LCHlch(51.63, 59.17, 283.80°)
OKLaboklab(58.74% -0.0312 -0.1648)
OKLCHoklch(58.74% 0.168 259.3)
XYZxyz(21.7047, 19.8161, 71.7741)
Luminance0.1982 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3979DE #DE9E39
analogous
#39CCDE #3979DE #4B39DE
triadic
#3979DE #DE3979 #79DE39
tetradic
#3979DE #DE39CC #DE9E39 #39DE4B
square
#3979DE #DE39CC #DE9E39 #39DE4B
split-complementary
#3979DE #DE4B39 #CCDE39
monochromatic
#164286 #1F5BBB #3979DE #6D9DE7 #A2C0EF

Accessibility & contrast

On white

4.23
#3979DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#3979DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3979DE
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3979DE#FFFFFF#000000##000000
##3979DE1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4483E2
Deuteranopia (green-blind)
#1E74DC
Tritanopia (blue-blind)
#0091A1
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #3979de;
/* rgb */ color: rgb(57, 121, 222);
/* oklch */ color: oklch(58.7% 0.168 259.3);
Tailwind
colors: {
  custom: {
    50: '#859fe9',
    500: '#3979de',
    950: '#000000',
  },
}
SCSS
$custom: #3979de;
$custom-light: #859fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#3979de",
  "rgb": {
    "r": 57,
    "g": 121,
    "b": 222
  },
  "hsl": {
    "h": 216.727,
    "s": 71.429,
    "l": 54.706
  },
  "oklch": {
    "l": 0.58736,
    "c": 0.16768,
    "h": 259.3
  },
  "luminance": 0.19819
}

Semantic roles & 50–950 ramp

primary
#3979DE
secondary
#DCC197
accent
#A83AEE
background
#F8F9FE
surface
#F0F2FD
border
#CBCCD5
text
#0D0E16
muted
#7D7E84

Preview Lab

Preview with #3979DE

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

Preview Lab → · Contrast checker → · Palette generator →

#3979DE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva