#3979DF#3979DF

#3979DF is a mid, vivid blue. Relative luminance 0.199; OKLCH L 58.8% C 0.169 H 259.4°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#3979DF
RGBrgb(57, 121, 223)
HSLhsl(217, 72%, 55%)
HSVhsv(217, 74%, 87%)
CMYKcmyk(74.4%, 45.7%, 0%, 12.5%)
CIE-LABlab(51.69, 14.48, -57.92)
CIE-LCHlch(51.69, 59.71, 284.03°)
OKLaboklab(58.8% -0.031 -0.1661)
OKLCHoklch(58.8% 0.169 259.4)
XYZxyz(21.8392, 19.8699, 72.4820)
Luminance0.1987 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3979DF #DF9F39
analogous
#39CCDF #3979DF #4C39DF
triadic
#3979DF #DF3979 #79DF39
tetradic
#3979DF #DF39CC #DF9F39 #39DF4C
square
#3979DF #DF39CC #DF9F39 #39DF4C
split-complementary
#3979DF #DF4C39 #CCDF39
monochromatic
#164288 #1E5BBC #3979DF #6E9DE8 #A2C0F0

Accessibility & contrast

On white

4.22
#3979DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#3979DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3979DF
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3979DF#FFFFFF#000000##000000
##3979DF1.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4383E3
Deuteranopia (green-blind)
#1C74DD
Tritanopia (blue-blind)
#0091A1
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #3979df;
/* rgb */ color: rgb(57, 121, 223);
/* oklch */ color: oklch(58.8% 0.169 259.4);
Tailwind
colors: {
  custom: {
    50: '#859fea',
    500: '#3979df',
    950: '#000000',
  },
}
SCSS
$custom: #3979df;
$custom-light: #859fea;
$custom-dark: #000000;
JSON
{
  "hex": "#3979df",
  "rgb": {
    "r": 57,
    "g": 121,
    "b": 223
  },
  "hsl": {
    "h": 216.867,
    "s": 72.174,
    "l": 54.902
  },
  "oklch": {
    "l": 0.58803,
    "c": 0.16899,
    "h": 259.4
  },
  "luminance": 0.19872
}

Semantic roles & 50–950 ramp

primary
#3979DF
secondary
#DDC297
accent
#A939EF
background
#F8F9FE
surface
#F0F2FD
border
#CBCCD5
text
#0D0E16
muted
#7D7E84

Preview Lab

Preview with #3979DF

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

Preview Lab → · Contrast checker → · Palette generator →

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