#3978C4#3978C4

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

Color values

HEX#3978C4
RGBrgb(57, 120, 196)
HSLhsl(213, 55%, 50%)
HSVhsv(213, 71%, 77%)
CMYKcmyk(70.9%, 38.8%, 0%, 23.1%)
CIE-LABlab(49.84, 5.25, -45.54)
CIE-LCHlch(49.84, 45.85, 276.58°)
OKLaboklab(56.87% -0.0355 -0.1298)
OKLCHoklch(56.87% 0.135 254.7)
XYZxyz(18.3640, 18.2863, 54.7756)
Luminance0.1829 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3978C4 #C48539
analogous
#39BEC4 #3978C4 #4039C4
triadic
#3978C4 #C43978 #78C439
tetradic
#3978C4 #C439BE #C48539 #39C440
square
#3978C4 #C439BE #C48539 #39C440
split-complementary
#3978C4 #C44039 #BEC439
monochromatic
#1D3E65 #2B5B95 #3978C4 #6798D3 #97B8E1

Accessibility & contrast

On white

4.51
#3978C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#3978C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3978C4
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3978C4#FFFFFF#000000##000000
##3978C41.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#557EC7
Deuteranopia (green-blind)
#4071C2
Tritanopia (blue-blind)
#008A94
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #3978c4;
/* rgb */ color: rgb(57, 120, 196);
/* oklch */ color: oklch(56.9% 0.135 254.7);
Tailwind
colors: {
  custom: {
    50: '#809ed6',
    500: '#3978c4',
    950: '#000000',
  },
}
SCSS
$custom: #3978c4;
$custom-light: #809ed6;
$custom-dark: #000000;
JSON
{
  "hex": "#3978c4",
  "rgb": {
    "r": 57,
    "g": 120,
    "b": 196
  },
  "hsl": {
    "h": 212.806,
    "s": 54.941,
    "l": 49.608
  },
  "oklch": {
    "l": 0.56865,
    "c": 0.13455,
    "h": 254.7
  },
  "luminance": 0.18288
}

Semantic roles & 50–950 ramp

primary
#3978C4
secondary
#CCAF8D
accent
#9B4ADE
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0B0E14
muted
#7C7E83

Preview Lab

Preview with #3978C4

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

Preview Lab → · Contrast checker → · Palette generator →

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