#3978B3#3978B3

#3978B3 is a mid, moderate cyan. Relative luminance 0.176; OKLCH L 55.9% C 0.113 H 249.2°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#3978B3
RGBrgb(57, 120, 179)
HSLhsl(209, 52%, 46%)
HSVhsv(209, 68%, 70%)
CMYKcmyk(68.2%, 33%, 0%, 29.8%)
CIE-LABlab(48.95, -0.83, -37.16)
CIE-LCHlch(48.95, 37.17, 268.71°)
OKLaboklab(55.88% -0.04 -0.1052)
OKLCHoklch(55.88% 0.113 249.2)
XYZxyz(16.5375, 17.5557, 45.1561)
Luminance0.1756 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3978B3 #B37439
analogous
#39B3B1 #3978B3 #393BB3
triadic
#3978B3 #B33978 #78B339
tetradic
#3978B3 #B139B3 #B37439 #3BB339
square
#3978B3 #B139B3 #B37439 #3BB339
split-complementary
#3978B3 #B3393B #B3B139
monochromatic
#1B3A56 #2A5985 #3978B3 #5E96CC #8CB4DA

Accessibility & contrast

On white

4.65
#3978B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#3978B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3978B3#FFFFFF#000000##FFFFFF
##3978B31.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3978b3;
/* rgb */ color: rgb(57, 120, 179);
/* oklch */ color: oklch(55.9% 0.113 249.2);
Tailwind
colors: {
  custom: {
    50: '#7d9eca',
    500: '#3978b3',
    950: '#000000',
  },
}
SCSS
$custom: #3978b3;
$custom-light: #7d9eca;
$custom-dark: #000000;
JSON
{
  "hex": "#3978b3",
  "rgb": {
    "r": 57,
    "g": 120,
    "b": 179
  },
  "hsl": {
    "h": 209.016,
    "s": 51.695,
    "l": 46.275
  },
  "oklch": {
    "l": 0.55879,
    "c": 0.11259,
    "h": 249.2
  },
  "luminance": 0.17557
}

Semantic roles & 50–950 ramp

primary
#3978B3
secondary
#C5A383
accent
#924DDB
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0E13
muted
#7C7E82

Preview Lab

Preview with #3978B3

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

Preview Lab → · Contrast checker → · Palette generator →

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