#3978C5#3978C5

#3978C5 is a mid, vivid cyan. Relative luminance 0.183; OKLCH L 56.9% C 0.136 H 254.9°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#3978C5
RGBrgb(57, 120, 197)
HSLhsl(213, 55%, 50%)
HSVhsv(213, 71%, 77%)
CMYKcmyk(71.1%, 39.1%, 0%, 22.7%)
CIE-LABlab(49.90, 5.62, -46.03)
CIE-LCHlch(49.90, 46.37, 276.96°)
OKLaboklab(56.93% -0.0353 -0.1312)
OKLCHoklch(56.93% 0.136 254.9)
XYZxyz(18.4781, 18.3320, 55.3771)
Luminance0.1833 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3978C5 #C58639
analogous
#39BEC5 #3978C5 #4039C5
triadic
#3978C5 #C53978 #78C539
tetradic
#3978C5 #C539BE #C58639 #39C540
square
#3978C5 #C539BE #C58639 #39C540
split-complementary
#3978C5 #C54039 #BEC539
monochromatic
#1E3E66 #2B5B96 #3978C5 #6898D3 #97B9E1

Accessibility & contrast

On white

4.50
#3978C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#3978C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3978C5
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3978C5#FFFFFF#000000##000000
##3978C51.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#547EC8
Deuteranopia (green-blind)
#3F71C3
Tritanopia (blue-blind)
#008A95
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #3978c5;
/* rgb */ color: rgb(57, 120, 197);
/* oklch */ color: oklch(56.9% 0.136 254.9);
Tailwind
colors: {
  custom: {
    50: '#809ed7',
    500: '#3978c5',
    950: '#000000',
  },
}
SCSS
$custom: #3978c5;
$custom-light: #809ed7;
$custom-dark: #000000;
JSON
{
  "hex": "#3978c5",
  "rgb": {
    "r": 57,
    "g": 120,
    "b": 197
  },
  "hsl": {
    "h": 213,
    "s": 55.118,
    "l": 49.804
  },
  "oklch": {
    "l": 0.56925,
    "c": 0.13586,
    "h": 254.9
  },
  "luminance": 0.18334
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3978C5

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

Preview Lab → · Contrast checker → · Palette generator →

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