#3978C8#3978C8

#3978C8 is a mid, vivid cyan. Relative luminance 0.185; OKLCH L 57.1% C 0.140 H 255.7°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#3978C8
RGBrgb(57, 120, 200)
HSLhsl(214, 57%, 50%)
HSVhsv(214, 72%, 78%)
CMYKcmyk(71.5%, 40%, 0%, 21.6%)
CIE-LABlab(50.06, 6.70, -47.48)
CIE-LCHlch(50.06, 47.95, 278.04°)
OKLaboklab(57.11% -0.0346 -0.1354)
OKLCHoklch(57.11% 0.14 255.7)
XYZxyz(18.8253, 18.4709, 57.2055)
Luminance0.1847 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3978C8 #C88939
analogous
#39C0C8 #3978C8 #4139C8
triadic
#3978C8 #C83978 #78C839
tetradic
#3978C8 #C839C0 #C88939 #39C841
square
#3978C8 #C839C0 #C88939 #39C841
split-complementary
#3978C8 #C84139 #C0C839
monochromatic
#1D3F69 #2B5B99 #3978C8 #6999D5 #99B9E3

Accessibility & contrast

On white

4.47
#3978C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#3978C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3978C8
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3978C8#FFFFFF#000000##000000
##3978C81.004.474.694.69
#FFFFFF4.471.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#537ECB
Deuteranopia (green-blind)
#3C71C6
Tritanopia (blue-blind)
#008B96
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #3978c8;
/* rgb */ color: rgb(57, 120, 200);
/* oklch */ color: oklch(57.1% 0.140 255.7);
Tailwind
colors: {
  custom: {
    50: '#819ed9',
    500: '#3978c8',
    950: '#000000',
  },
}
SCSS
$custom: #3978c8;
$custom-light: #819ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#3978c8",
  "rgb": {
    "r": 57,
    "g": 120,
    "b": 200
  },
  "hsl": {
    "h": 213.566,
    "s": 56.522,
    "l": 50.392
  },
  "oklch": {
    "l": 0.57108,
    "c": 0.1398,
    "h": 255.7
  },
  "luminance": 0.18473
}

Semantic roles & 50–950 ramp

primary
#3978C8
secondary
#CEB28F
accent
#9D48E0
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #3978C8

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

Preview Lab → · Contrast checker → · Palette generator →

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