#3978B7#3978B7

#3978B7 is a mid, moderate cyan. Relative luminance 0.177; OKLCH L 56.1% C 0.118 H 250.7°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#3978B7
RGBrgb(57, 120, 183)
HSLhsl(210, 53%, 47%)
HSVhsv(210, 69%, 72%)
CMYKcmyk(68.9%, 34.4%, 0%, 28.2%)
CIE-LABlab(49.15, 0.59, -39.15)
CIE-LCHlch(49.15, 39.16, 270.86°)
OKLaboklab(56.1% -0.0389 -0.1111)
OKLCHoklch(56.1% 0.118 250.7)
XYZxyz(16.9479, 17.7199, 47.3177)
Luminance0.1772 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3978B7 #B77839
analogous
#39B7B7 #3978B7 #3939B7
triadic
#3978B7 #B73978 #78B739
tetradic
#3978B7 #B739B7 #B77839 #39B739
square
#3978B7 #B739B7 #B77839 #39B739
split-complementary
#3978B7 #B73939 #B7B739
monochromatic
#1C3B5A #2A5988 #3978B7 #6097CD #8EB5DC

Accessibility & contrast

On white

4.62
#3978B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#3978B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3978B7
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3978B7#FFFFFF#000000##FFFFFF
##3978B71.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C7BBA
Deuteranopia (green-blind)
#4A6FB6
Tritanopia (blue-blind)
#00878F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #3978b7;
/* rgb */ color: rgb(57, 120, 183);
/* oklch */ color: oklch(56.1% 0.118 250.7);
Tailwind
colors: {
  custom: {
    50: '#7e9ecd',
    500: '#3978b7',
    950: '#000000',
  },
}
SCSS
$custom: #3978b7;
$custom-light: #7e9ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#3978b7",
  "rgb": {
    "r": 57,
    "g": 120,
    "b": 183
  },
  "hsl": {
    "h": 210,
    "s": 52.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.56104,
    "c": 0.11767,
    "h": 250.7
  },
  "luminance": 0.17722
}

Semantic roles & 50–950 ramp

primary
#3978B7
secondary
#C7A685
accent
#944CDC
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E13
muted
#7C7E82

Preview Lab

Preview with #3978B7

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

Preview Lab → · Contrast checker → · Palette generator →

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