#3978BC#3978BC

#3978BC is a mid, vivid cyan. Relative luminance 0.179; OKLCH L 56.4% C 0.124 H 252.4°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#3978BC
RGBrgb(57, 120, 188)
HSLhsl(211, 53%, 48%)
HSVhsv(211, 70%, 74%)
CMYKcmyk(69.7%, 36.2%, 0%, 26.3%)
CIE-LABlab(49.41, 2.37, -41.63)
CIE-LCHlch(49.41, 41.70, 273.26°)
OKLaboklab(56.39% -0.0375 -0.1183)
OKLCHoklch(56.39% 0.124 252.4)
XYZxyz(17.4776, 17.9318, 50.1073)
Luminance0.1793 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3978BC #BC7D39
analogous
#39B9BC #3978BC #3C39BC
triadic
#3978BC #BC3978 #78BC39
tetradic
#3978BC #BC39B9 #BC7D39 #39BC3C
square
#3978BC #BC39B9 #BC7D39 #39BC3C
split-complementary
#3978BC #BC3C39 #B9BC39
monochromatic
#1D3C5E #2B5A8D #3978BC #6397D0 #92B6DE

Accessibility & contrast

On white

4.58
#3978BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#3978BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3978BC
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3978BC#FFFFFF#000000##000000
##3978BC1.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#597CBF
Deuteranopia (green-blind)
#4670BB
Tritanopia (blue-blind)
#008891
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #3978bc;
/* rgb */ color: rgb(57, 120, 188);
/* oklch */ color: oklch(56.4% 0.124 252.4);
Tailwind
colors: {
  custom: {
    50: '#7e9ed0',
    500: '#3978bc',
    950: '#000000',
  },
}
SCSS
$custom: #3978bc;
$custom-light: #7e9ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#3978bc",
  "rgb": {
    "r": 57,
    "g": 120,
    "b": 188
  },
  "hsl": {
    "h": 211.145,
    "s": 53.469,
    "l": 48.039
  },
  "oklch": {
    "l": 0.56391,
    "c": 0.12412,
    "h": 252.4
  },
  "luminance": 0.17934
}

Semantic roles & 50–950 ramp

primary
#3978BC
secondary
#C9AA88
accent
#974BDD
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #3978BC

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

Preview Lab → · Contrast checker → · Palette generator →

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