#3978C2#3978C2

#3978C2 is a mid, vivid cyan. Relative luminance 0.182; OKLCH L 56.7% C 0.132 H 254.2°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#3978C2
RGBrgb(57, 120, 194)
HSLhsl(212, 55%, 49%)
HSVhsv(212, 71%, 76%)
CMYKcmyk(70.6%, 38.1%, 0%, 23.9%)
CIE-LABlab(49.73, 4.53, -44.57)
CIE-LCHlch(49.73, 44.80, 275.81°)
OKLaboklab(56.75% -0.036 -0.1269)
OKLCHoklch(56.75% 0.132 254.2)
XYZxyz(18.1378, 18.1959, 53.5847)
Luminance0.1820 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3978C2 #C28339
analogous
#39BDC2 #3978C2 #3F39C2
triadic
#3978C2 #C23978 #78C239
tetradic
#3978C2 #C239BD #C28339 #39C23F
square
#3978C2 #C239BD #C28339 #39C23F
split-complementary
#3978C2 #C23F39 #BDC239
monochromatic
#1D3D63 #2B5B93 #3978C2 #6698D2 #95B8E0

Accessibility & contrast

On white

4.53
#3978C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#3978C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3978C2
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3978C2#FFFFFF#000000##000000
##3978C21.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#567DC5
Deuteranopia (green-blind)
#4270C1
Tritanopia (blue-blind)
#008994
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #3978c2;
/* rgb */ color: rgb(57, 120, 194);
/* oklch */ color: oklch(56.7% 0.132 254.2);
Tailwind
colors: {
  custom: {
    50: '#7f9ed5',
    500: '#3978c2',
    950: '#000000',
  },
}
SCSS
$custom: #3978c2;
$custom-light: #7f9ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#3978c2",
  "rgb": {
    "r": 57,
    "g": 120,
    "b": 194
  },
  "hsl": {
    "h": 212.409,
    "s": 54.582,
    "l": 49.216
  },
  "oklch": {
    "l": 0.56745,
    "c": 0.13193,
    "h": 254.2
  },
  "luminance": 0.18198
}

Semantic roles & 50–950 ramp

primary
#3978C2
secondary
#CBAE8B
accent
#9A4ADE
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0E14
muted
#7C7E83

Preview Lab

Preview with #3978C2

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

Preview Lab → · Contrast checker → · Palette generator →

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