#3978B5#3978B5

#3978B5 is a mid, moderate cyan. Relative luminance 0.176; OKLCH L 56.0% C 0.115 H 250.0°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#3978B5
RGBrgb(57, 120, 181)
HSLhsl(210, 52%, 47%)
HSVhsv(210, 69%, 71%)
CMYKcmyk(68.5%, 33.7%, 0%, 29%)
CIE-LABlab(49.05, -0.13, -38.16)
CIE-LCHlch(49.05, 38.16, 269.81°)
OKLaboklab(55.99% -0.0394 -0.1082)
OKLCHoklch(55.99% 0.115 250)
XYZxyz(16.7412, 17.6372, 46.2291)
Luminance0.1764 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3978B5 #B57639
analogous
#39B5B4 #3978B5 #393AB5
triadic
#3978B5 #B53978 #78B539
tetradic
#3978B5 #B439B5 #B57639 #3AB539
square
#3978B5 #B439B5 #B57639 #3AB539
split-complementary
#3978B5 #B5393A #B5B439
monochromatic
#1C3A58 #2A5986 #3978B5 #5F96CD #8DB5DB

Accessibility & contrast

On white

4.64
#3978B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#3978B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3978B5#FFFFFF#000000##FFFFFF
##3978B51.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D7BB8
Deuteranopia (green-blind)
#4C6FB4
Tritanopia (blue-blind)
#00868E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #3978b5;
/* rgb */ color: rgb(57, 120, 181);
/* oklch */ color: oklch(56.0% 0.115 250.0);
Tailwind
colors: {
  custom: {
    50: '#7d9ecb',
    500: '#3978b5',
    950: '#000000',
  },
}
SCSS
$custom: #3978b5;
$custom-light: #7d9ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#3978b5",
  "rgb": {
    "r": 57,
    "g": 120,
    "b": 181
  },
  "hsl": {
    "h": 209.516,
    "s": 52.101,
    "l": 46.667
  },
  "oklch": {
    "l": 0.55991,
    "c": 0.11513,
    "h": 250
  },
  "luminance": 0.17639
}

Semantic roles & 50–950 ramp

primary
#3978B5
secondary
#C6A484
accent
#934CDC
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0E13
muted
#7C7E82

Preview Lab

Preview with #3978B5

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

Preview Lab → · Contrast checker → · Palette generator →

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