#3978CA#3978CA

#3978CA is a mid, vivid cyan. Relative luminance 0.186; OKLCH L 57.2% C 0.142 H 256.1°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#3978CA
RGBrgb(57, 120, 202)
HSLhsl(214, 58%, 51%)
HSVhsv(214, 72%, 79%)
CMYKcmyk(71.8%, 40.6%, 0%, 20.8%)
CIE-LABlab(50.17, 7.43, -48.45)
CIE-LCHlch(50.17, 49.01, 278.72°)
OKLaboklab(57.23% -0.0342 -0.1383)
OKLCHoklch(57.23% 0.142 256.1)
XYZxyz(19.0606, 18.5650, 58.4445)
Luminance0.1857 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3978CA #CA8B39
analogous
#39C0CA #3978CA #4239CA
triadic
#3978CA #CA3978 #78CA39
tetradic
#3978CA #CA39C0 #CA8B39 #39CA42
square
#3978CA #CA39C0 #CA8B39 #39CA42
split-complementary
#3978CA #CA4239 #C0CA39
monochromatic
#1D3F6C #2A5B9C #3978CA #6999D7 #9ABAE4

Accessibility & contrast

On white

4.46
#3978CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#3978CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3978CA
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3978CA#FFFFFF#000000##000000
##3978CA1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#517FCD
Deuteranopia (green-blind)
#3A71C8
Tritanopia (blue-blind)
#008B97
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #3978ca;
/* rgb */ color: rgb(57, 120, 202);
/* oklch */ color: oklch(57.2% 0.142 256.1);
Tailwind
colors: {
  custom: {
    50: '#819eda',
    500: '#3978ca',
    950: '#000000',
  },
}
SCSS
$custom: #3978ca;
$custom-light: #819eda;
$custom-dark: #000000;
JSON
{
  "hex": "#3978ca",
  "rgb": {
    "r": 57,
    "g": 120,
    "b": 202
  },
  "hsl": {
    "h": 213.931,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.57232,
    "c": 0.14244,
    "h": 256.1
  },
  "luminance": 0.18567
}

Semantic roles & 50–950 ramp

primary
#3978CA
secondary
#D0B48F
accent
#9E47E1
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #3978CA

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

Preview Lab → · Contrast checker → · Palette generator →

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