#3978B4#3978B4

#3978B4 is a mid, moderate cyan. Relative luminance 0.176; OKLCH L 55.9% C 0.114 H 249.6°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#3978B4
RGBrgb(57, 120, 180)
HSLhsl(209, 52%, 46%)
HSVhsv(209, 68%, 71%)
CMYKcmyk(68.3%, 33.3%, 0%, 29.4%)
CIE-LABlab(49.00, -0.48, -37.66)
CIE-LCHlch(49.00, 37.66, 269.27°)
OKLaboklab(55.94% -0.0397 -0.1067)
OKLCHoklch(55.94% 0.114 249.6)
XYZxyz(16.6390, 17.5963, 45.6907)
Luminance0.1760 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3978B4 #B47539
analogous
#39B4B3 #3978B4 #393BB4
triadic
#3978B4 #B43978 #78B439
tetradic
#3978B4 #B339B4 #B47539 #3BB439
square
#3978B4 #B339B4 #B47539 #3BB439
split-complementary
#3978B4 #B4393B #B4B339
monochromatic
#1C3A57 #2A5986 #3978B4 #5E96CC #8DB5DB

Accessibility & contrast

On white

4.65
#3978B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#3978B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3978B4
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3978B4#FFFFFF#000000##FFFFFF
##3978B41.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D7BB7
Deuteranopia (green-blind)
#4C6FB3
Tritanopia (blue-blind)
#00868E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #3978b4;
/* rgb */ color: rgb(57, 120, 180);
/* oklch */ color: oklch(55.9% 0.114 249.6);
Tailwind
colors: {
  custom: {
    50: '#7d9ecb',
    500: '#3978b4',
    950: '#000000',
  },
}
SCSS
$custom: #3978b4;
$custom-light: #7d9ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#3978b4",
  "rgb": {
    "r": 57,
    "g": 120,
    "b": 180
  },
  "hsl": {
    "h": 209.268,
    "s": 51.899,
    "l": 46.471
  },
  "oklch": {
    "l": 0.55935,
    "c": 0.11386,
    "h": 249.6
  },
  "luminance": 0.17598
}

Semantic roles & 50–950 ramp

primary
#3978B4
secondary
#C5A483
accent
#924CDB
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0E13
muted
#7C7E82

Preview Lab

Preview with #3978B4

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

Preview Lab → · Contrast checker → · Palette generator →

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