#3979D7#3979D7

#3979D7 is a mid, vivid blue. Relative luminance 0.195; OKLCH L 58.3% C 0.158 H 258.2°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#3979D7
RGBrgb(57, 121, 215)
HSLhsl(216, 66%, 53%)
HSVhsv(216, 73%, 84%)
CMYKcmyk(73.5%, 43.7%, 0%, 15.7%)
CIE-LABlab(51.21, 11.55, -54.18)
CIE-LCHlch(51.21, 55.40, 282.04°)
OKLaboklab(58.28% -0.0324 -0.1551)
OKLCHoklch(58.28% 0.158 258.2)
XYZxyz(20.7860, 19.4486, 66.9353)
Luminance0.1945 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3979D7 #D79739
analogous
#39C8D7 #3979D7 #4839D7
triadic
#3979D7 #D73979 #79D739
tetradic
#3979D7 #D739C8 #D79739 #39D748
square
#3979D7 #D739C8 #D79739 #39D748
split-complementary
#3979D7 #D74839 #C8D739
monochromatic
#19417C #235CAF #3979D7 #6C9BE1 #9FBEEC

Accessibility & contrast

On white

4.29
#3979D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#3979D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3979D7
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3979D7#FFFFFF#000000##000000
##3979D71.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A82DB
Deuteranopia (green-blind)
#2C73D5
Tritanopia (blue-blind)
#008F9D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #3979d7;
/* rgb */ color: rgb(57, 121, 215);
/* oklch */ color: oklch(58.3% 0.158 258.2);
Tailwind
colors: {
  custom: {
    50: '#839fe4',
    500: '#3979d7',
    950: '#000000',
  },
}
SCSS
$custom: #3979d7;
$custom-light: #839fe4;
$custom-dark: #000000;
JSON
{
  "hex": "#3979d7",
  "rgb": {
    "r": 57,
    "g": 121,
    "b": 215
  },
  "hsl": {
    "h": 215.696,
    "s": 66.387,
    "l": 53.333
  },
  "oklch": {
    "l": 0.58276,
    "c": 0.15847,
    "h": 258.2
  },
  "luminance": 0.19451
}

Semantic roles & 50–950 ramp

primary
#3979D7
secondary
#D8BC94
accent
#A43EE9
background
#F8F9FE
surface
#F0F2FC
border
#CBCCD5
text
#0C0E15
muted
#7D7E84

Preview Lab

Preview with #3979D7

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

Preview Lab → · Contrast checker → · Palette generator →

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