#3979D9#3979D9

#3979D9 is a mid, vivid blue. Relative luminance 0.196; OKLCH L 58.4% C 0.161 H 258.5°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#3979D9
RGBrgb(57, 121, 217)
HSLhsl(216, 68%, 54%)
HSVhsv(216, 74%, 85%)
CMYKcmyk(73.7%, 44.2%, 0%, 14.9%)
CIE-LABlab(51.33, 12.28, -55.12)
CIE-LCHlch(51.33, 56.47, 282.56°)
OKLaboklab(58.41% -0.032 -0.1579)
OKLCHoklch(58.41% 0.161 258.5)
XYZxyz(21.0445, 19.5520, 68.2970)
Luminance0.1955 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3979D9 #D99939
analogous
#39C9D9 #3979D9 #4939D9
triadic
#3979D9 #D93979 #79D939
tetradic
#3979D9 #D939C9 #D99939 #39D949
square
#3979D9 #D939C9 #D99939 #39D949
split-complementary
#3979D9 #D94939 #C9D939
monochromatic
#18427F #225CB3 #3979D9 #6C9CE3 #A0BEED

Accessibility & contrast

On white

4.28
#3979D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#3979D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3979D9
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3979D9#FFFFFF#000000##000000
##3979D91.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4882DD
Deuteranopia (green-blind)
#2873D7
Tritanopia (blue-blind)
#00909E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #3979d9;
/* rgb */ color: rgb(57, 121, 217);
/* oklch */ color: oklch(58.4% 0.161 258.5);
Tailwind
colors: {
  custom: {
    50: '#849fe5',
    500: '#3979d9',
    950: '#000000',
  },
}
SCSS
$custom: #3979d9;
$custom-light: #849fe5;
$custom-dark: #000000;
JSON
{
  "hex": "#3979d9",
  "rgb": {
    "r": 57,
    "g": 121,
    "b": 217
  },
  "hsl": {
    "h": 216,
    "s": 67.797,
    "l": 53.725
  },
  "oklch": {
    "l": 0.58406,
    "c": 0.1611,
    "h": 258.5
  },
  "luminance": 0.19554
}

Semantic roles & 50–950 ramp

primary
#3979D9
secondary
#D9BE95
accent
#A53DEB
background
#F8F9FE
surface
#F0F2FC
border
#CBCCD5
text
#0C0E16
muted
#7D7E84

Preview Lab

Preview with #3979D9

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

Preview Lab → · Contrast checker → · Palette generator →

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