#3979D2#3979D2

#3979D2 is a mid, vivid cyan. Relative luminance 0.192; OKLCH L 58.0% C 0.152 H 257.3°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#3979D2
RGBrgb(57, 121, 210)
HSLhsl(215, 63%, 52%)
HSVhsv(215, 73%, 82%)
CMYKcmyk(72.9%, 42.4%, 0%, 17.6%)
CIE-LABlab(50.92, 9.73, -51.82)
CIE-LCHlch(50.92, 52.72, 280.63°)
OKLaboklab(57.96% -0.0334 -0.1482)
OKLCHoklch(57.96% 0.152 257.3)
XYZxyz(20.1533, 19.1955, 63.6032)
Luminance0.1920 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3979D2 #D29239
analogous
#39C6D2 #3979D2 #4639D2
triadic
#3979D2 #D23979 #79D239
tetradic
#3979D2 #D239C6 #D29239 #39D246
square
#3979D2 #D239C6 #D29239 #39D246
split-complementary
#3979D2 #D24639 #C6D239
monochromatic
#1B4176 #265CA8 #3979D2 #6B9BDD #9DBCE9

Accessibility & contrast

On white

4.34
#3979D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#3979D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3979D2
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3979D2#FFFFFF#000000##000000
##3979D21.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E81D5
Deuteranopia (green-blind)
#3373D0
Tritanopia (blue-blind)
#008E9B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #3979d2;
/* rgb */ color: rgb(57, 121, 210);
/* oklch */ color: oklch(58.0% 0.152 257.3);
Tailwind
colors: {
  custom: {
    50: '#829fe0',
    500: '#3979d2',
    950: '#000000',
  },
}
SCSS
$custom: #3979d2;
$custom-light: #829fe0;
$custom-dark: #000000;
JSON
{
  "hex": "#3979d2",
  "rgb": {
    "r": 57,
    "g": 121,
    "b": 210
  },
  "hsl": {
    "h": 214.902,
    "s": 62.963,
    "l": 52.353
  },
  "oklch": {
    "l": 0.57955,
    "c": 0.15188,
    "h": 257.3
  },
  "luminance": 0.19198
}

Semantic roles & 50–950 ramp

primary
#3979D2
secondary
#D5B992
accent
#A142E6
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #3979D2

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

Preview Lab → · Contrast checker → · Palette generator →

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