#3978B8#3978B8

#3978B8 is a mid, moderate cyan. Relative luminance 0.178; OKLCH L 56.2% C 0.119 H 251.1°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#3978B8
RGBrgb(57, 120, 184)
HSLhsl(210, 53%, 47%)
HSVhsv(210, 69%, 72%)
CMYKcmyk(69%, 34.8%, 0%, 27.8%)
CIE-LABlab(49.21, 0.94, -39.65)
CIE-LCHlch(49.21, 39.66, 271.36°)
OKLaboklab(56.16% -0.0386 -0.1125)
OKLCHoklch(56.16% 0.119 251.1)
XYZxyz(17.0523, 17.7617, 47.8678)
Luminance0.1776 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3978B8 #B87939
analogous
#39B8B8 #3978B8 #3939B8
triadic
#3978B8 #B83978 #78B839
tetradic
#3978B8 #B839B8 #B87939 #39B839
square
#3978B8 #B839B8 #B87939 #39B839
split-complementary
#3978B8 #B83939 #B8B839
monochromatic
#1C3B5B #2B5A89 #3978B8 #6097CE #8FB5DC

Accessibility & contrast

On white

4.61
#3978B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#3978B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3978B8
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3978B8#FFFFFF#000000##FFFFFF
##3978B81.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B7CBB
Deuteranopia (green-blind)
#4970B7
Tritanopia (blue-blind)
#00878F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #3978b8;
/* rgb */ color: rgb(57, 120, 184);
/* oklch */ color: oklch(56.2% 0.119 251.1);
Tailwind
colors: {
  custom: {
    50: '#7e9ecd',
    500: '#3978b8',
    950: '#000000',
  },
}
SCSS
$custom: #3978b8;
$custom-light: #7e9ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#3978b8",
  "rgb": {
    "r": 57,
    "g": 120,
    "b": 184
  },
  "hsl": {
    "h": 210.236,
    "s": 52.697,
    "l": 47.255
  },
  "oklch": {
    "l": 0.5616,
    "c": 0.11895,
    "h": 251.1
  },
  "luminance": 0.17763
}

Semantic roles & 50–950 ramp

primary
#3978B8
secondary
#C7A786
accent
#944CDC
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E13
muted
#7C7E82

Preview Lab

Preview with #3978B8

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

Preview Lab → · Contrast checker → · Palette generator →

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