#3978AA#3978AA

#3978AA is a mid, moderate cyan. Relative luminance 0.172; OKLCH L 55.4% C 0.101 H 245.1°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#3978AA
RGBrgb(57, 120, 170)
HSLhsl(207, 50%, 45%)
HSVhsv(207, 66%, 67%)
CMYKcmyk(66.5%, 29.4%, 0%, 33.3%)
CIE-LABlab(48.52, -3.99, -32.62)
CIE-LCHlch(48.52, 32.87, 263.02°)
OKLaboklab(55.39% -0.0427 -0.0921)
OKLCHoklch(55.39% 0.101 245.1)
XYZxyz(15.6568, 17.2035, 40.5179)
Luminance0.1721 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3978AA #AA6B39
analogous
#39AAA4 #3978AA #393FAA
triadic
#3978AA #AA3978 #78AA39
tetradic
#3978AA #A439AA #AA6B39 #3FAA39
square
#3978AA #A439AA #AA6B39 #3FAA39
split-complementary
#3978AA #AA393F #AAA439
monochromatic
#1A374E #2A587C #3978AA #5996C7 #87B3D7

Accessibility & contrast

On white

4.73
#3978AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#3978AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3978AA#FFFFFF#000000##FFFFFF
##3978AA1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6279AC
Deuteranopia (green-blind)
#526EA9
Tritanopia (blue-blind)
#00848A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #3978aa;
/* rgb */ color: rgb(57, 120, 170);
/* oklch */ color: oklch(55.4% 0.101 245.1);
Tailwind
colors: {
  custom: {
    50: '#7b9ec3',
    500: '#3978aa',
    950: '#000000',
  },
}
SCSS
$custom: #3978aa;
$custom-light: #7b9ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#3978aa",
  "rgb": {
    "r": 57,
    "g": 120,
    "b": 170
  },
  "hsl": {
    "h": 206.549,
    "s": 49.78,
    "l": 44.51
  },
  "oklch": {
    "l": 0.55391,
    "c": 0.10148,
    "h": 245.1
  },
  "luminance": 0.17205
}

Semantic roles & 50–950 ramp

primary
#3978AA
secondary
#C19C7E
accent
#8C4ED9
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #3978AA

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

Preview Lab → · Contrast checker → · Palette generator →

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