#3978B2#3978B2

#3978B2 is a mid, moderate cyan. Relative luminance 0.175; OKLCH L 55.8% C 0.111 H 248.8°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#3978B2
RGBrgb(57, 120, 178)
HSLhsl(209, 51%, 46%)
HSVhsv(209, 68%, 70%)
CMYKcmyk(68%, 32.6%, 0%, 30.2%)
CIE-LABlab(48.90, -1.19, -36.66)
CIE-LCHlch(48.90, 36.68, 268.14°)
OKLaboklab(55.82% -0.0403 -0.1038)
OKLCHoklch(55.82% 0.111 248.8)
XYZxyz(16.4367, 17.5154, 44.6254)
Luminance0.1752 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3978B2 #B27339
analogous
#39B2AF #3978B2 #393CB2
triadic
#3978B2 #B23978 #78B239
tetradic
#3978B2 #AF39B2 #B27339 #3CB239
square
#3978B2 #AF39B2 #B27339 #3CB239
split-complementary
#3978B2 #B2393C #B2AF39
monochromatic
#1B3955 #2A5984 #3978B2 #5D96CB #8BB4DA

Accessibility & contrast

On white

4.66
#3978B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#3978B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3978B2#FFFFFF#000000##FFFFFF
##3978B21.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E7BB4
Deuteranopia (green-blind)
#4D6FB1
Tritanopia (blue-blind)
#00868D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #3978b2;
/* rgb */ color: rgb(57, 120, 178);
/* oklch */ color: oklch(55.8% 0.111 248.8);
Tailwind
colors: {
  custom: {
    50: '#7d9ec9',
    500: '#3978b2',
    950: '#000000',
  },
}
SCSS
$custom: #3978b2;
$custom-light: #7d9ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#3978b2",
  "rgb": {
    "r": 57,
    "g": 120,
    "b": 178
  },
  "hsl": {
    "h": 208.76,
    "s": 51.489,
    "l": 46.078
  },
  "oklch": {
    "l": 0.55824,
    "c": 0.11133,
    "h": 248.8
  },
  "luminance": 0.17517
}

Semantic roles & 50–950 ramp

primary
#3978B2
secondary
#C4A282
accent
#914DDB
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0E13
muted
#7C7E82

Preview Lab

Preview with #3978B2

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

Preview Lab → · Contrast checker → · Palette generator →

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