#3979C5#3979C5

#3979C5 is a mid, vivid cyan. Relative luminance 0.186; OKLCH L 57.1% C 0.135 H 254.4°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#3979C5
RGBrgb(57, 121, 197)
HSLhsl(213, 55%, 50%)
HSVhsv(213, 71%, 77%)
CMYKcmyk(71.1%, 38.6%, 0%, 22.7%)
CIE-LABlab(50.18, 5.00, -45.57)
CIE-LCHlch(50.18, 45.85, 276.26°)
OKLaboklab(57.15% -0.0362 -0.1298)
OKLCHoklch(57.15% 0.135 254.4)
XYZxyz(18.5990, 18.5738, 55.4174)
Luminance0.1858 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3979C5 #C58539
analogous
#39BFC5 #3979C5 #3F39C5
triadic
#3979C5 #C53979 #79C539
tetradic
#3979C5 #C539BF #C58539 #39C53F
square
#3979C5 #C539BF #C58539 #39C53F
split-complementary
#3979C5 #C53F39 #BFC539
monochromatic
#1E3F66 #2B5C96 #3979C5 #6899D3 #97B9E1

Accessibility & contrast

On white

4.45
#3979C5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#3979C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3979C5
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3979C5#FFFFFF#000000##000000
##3979C51.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#567EC8
Deuteranopia (green-blind)
#4171C3
Tritanopia (blue-blind)
#008B95
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #3979c5;
/* rgb */ color: rgb(57, 121, 197);
/* oklch */ color: oklch(57.1% 0.135 254.4);
Tailwind
colors: {
  custom: {
    50: '#809fd7',
    500: '#3979c5',
    950: '#000000',
  },
}
SCSS
$custom: #3979c5;
$custom-light: #809fd7;
$custom-dark: #000000;
JSON
{
  "hex": "#3979c5",
  "rgb": {
    "r": 57,
    "g": 121,
    "b": 197
  },
  "hsl": {
    "h": 212.571,
    "s": 55.118,
    "l": 49.804
  },
  "oklch": {
    "l": 0.5715,
    "c": 0.1348,
    "h": 254.4
  },
  "luminance": 0.18576
}

Semantic roles & 50–950 ramp

primary
#3979C5
secondary
#CDB08D
accent
#9A49DE
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0B0E14
muted
#7C7E83

Preview Lab

Preview with #3979C5

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

Preview Lab → · Contrast checker → · Palette generator →

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