#3979F2#3979F2

#3979F2 is a mid, vivid blue. Relative luminance 0.210; OKLCH L 60.1% C 0.194 H 261.6°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#3979F2
RGBrgb(57, 121, 242)
HSLhsl(219, 88%, 59%)
HSVhsv(219, 76%, 95%)
CMYKcmyk(76.4%, 50%, 0%, 5.1%)
CIE-LABlab(52.90, 21.44, -66.61)
CIE-LCHlch(52.90, 69.98, 287.84°)
OKLaboklab(60.12% -0.0283 -0.1917)
OKLCHoklch(60.12% 0.194 261.6)
XYZxyz(24.5460, 20.9526, 86.7378)
Luminance0.2095 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3979F2 #F2B239
analogous
#39D6F2 #3979F2 #5539F2
triadic
#3979F2 #F23979 #79F239
tetradic
#3979F2 #F239D6 #F2B239 #39F255
square
#3979F2 #F239D6 #F2B239 #39F255
split-complementary
#3979F2 #F25539 #D6F239
monochromatic
#0B40A6 #0F57DF #3979F2 #72A0F6 #ACC7FA

Accessibility & contrast

On white

4.05
#3979F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#3979F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3979F2
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3979F2#FFFFFF#000000##000000
##3979F21.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C87F6
Deuteranopia (green-blind)
#0076F0
Tritanopia (blue-blind)
#0096AA
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #3979f2;
/* rgb */ color: rgb(57, 121, 242);
/* oklch */ color: oklch(60.1% 0.194 261.6);
Tailwind
colors: {
  custom: {
    50: '#899ff7',
    500: '#3979f2',
    950: '#000000',
  },
}
SCSS
$custom: #3979f2;
$custom-light: #899ff7;
$custom-dark: #000000;
JSON
{
  "hex": "#3979f2",
  "rgb": {
    "r": 57,
    "g": 121,
    "b": 242
  },
  "hsl": {
    "h": 219.243,
    "s": 87.678,
    "l": 58.627
  },
  "oklch": {
    "l": 0.60116,
    "c": 0.19376,
    "h": 261.6
  },
  "luminance": 0.20955
}

Semantic roles & 50–950 ramp

primary
#3979F2
secondary
#E8CF9F
accent
#B52AFE
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0D0E17
muted
#7E7E85

Preview Lab

Preview with #3979F2

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

Preview Lab → · Contrast checker → · Palette generator →

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