#3978BB#3978BB

#3978BB is a mid, vivid cyan. Relative luminance 0.179; OKLCH L 56.3% C 0.123 H 252.1°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#3978BB
RGBrgb(57, 120, 187)
HSLhsl(211, 53%, 48%)
HSVhsv(211, 70%, 73%)
CMYKcmyk(69.5%, 35.8%, 0%, 26.7%)
CIE-LABlab(49.36, 2.01, -41.14)
CIE-LCHlch(49.36, 41.19, 272.80°)
OKLaboklab(56.33% -0.0378 -0.1169)
OKLCHoklch(56.33% 0.123 252.1)
XYZxyz(17.3701, 17.8888, 49.5415)
Luminance0.1789 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3978BB #BB7C39
analogous
#39B9BB #3978BB #3B39BB
triadic
#3978BB #BB3978 #78BB39
tetradic
#3978BB #BB39B9 #BB7C39 #39BB3B
square
#3978BB #BB39B9 #BB7C39 #39BB3B
split-complementary
#3978BB #BB3B39 #B9BB39
monochromatic
#1C3C5D #2B5A8C #3978BB #6297CF #91B6DD

Accessibility & contrast

On white

4.59
#3978BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#3978BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3978BB#FFFFFF#000000##FFFFFF
##3978BB1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A7CBE
Deuteranopia (green-blind)
#4770BA
Tritanopia (blue-blind)
#008891
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #3978bb;
/* rgb */ color: rgb(57, 120, 187);
/* oklch */ color: oklch(56.3% 0.123 252.1);
Tailwind
colors: {
  custom: {
    50: '#7e9ed0',
    500: '#3978bb',
    950: '#000000',
  },
}
SCSS
$custom: #3978bb;
$custom-light: #7e9ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#3978bb",
  "rgb": {
    "r": 57,
    "g": 120,
    "b": 187
  },
  "hsl": {
    "h": 210.923,
    "s": 53.279,
    "l": 47.843
  },
  "oklch": {
    "l": 0.56333,
    "c": 0.12282,
    "h": 252.1
  },
  "luminance": 0.17891
}

Semantic roles & 50–950 ramp

primary
#3978BB
secondary
#C8A987
accent
#964BDD
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #3978BB

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

Preview Lab → · Contrast checker → · Palette generator →

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