#3978AC#3978AC

#3978AC is a mid, moderate cyan. Relative luminance 0.173; OKLCH L 55.5% C 0.104 H 246.1°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#3978AC
RGBrgb(57, 120, 172)
HSLhsl(207, 50%, 45%)
HSVhsv(207, 67%, 67%)
CMYKcmyk(66.9%, 30.2%, 0%, 32.5%)
CIE-LABlab(48.61, -3.30, -33.64)
CIE-LCHlch(48.61, 33.80, 264.40°)
OKLaboklab(55.5% -0.0421 -0.095)
OKLCHoklch(55.5% 0.104 246.1)
XYZxyz(15.8474, 17.2797, 41.5219)
Luminance0.1728 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3978AC #AC6D39
analogous
#39ACA6 #3978AC #393FAC
triadic
#3978AC #AC3978 #78AC39
tetradic
#3978AC #A639AC #AC6D39 #3FAC39
square
#3978AC #A639AC #AC6D39 #3FAC39
split-complementary
#3978AC #AC393F #ACA639
monochromatic
#1B3850 #2A587E #3978AC #5A96C8 #88B4D8

Accessibility & contrast

On white

4.71
#3978AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#3978AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3978AC
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3978AC#FFFFFF#000000##FFFFFF
##3978AC1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#617AAE
Deuteranopia (green-blind)
#516EAB
Tritanopia (blue-blind)
#00848A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #3978ac;
/* rgb */ color: rgb(57, 120, 172);
/* oklch */ color: oklch(55.5% 0.104 246.1);
Tailwind
colors: {
  custom: {
    50: '#7c9ec5',
    500: '#3978ac',
    950: '#000000',
  },
}
SCSS
$custom: #3978ac;
$custom-light: #7c9ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#3978ac",
  "rgb": {
    "r": 57,
    "g": 120,
    "b": 172
  },
  "hsl": {
    "h": 207.13,
    "s": 50.218,
    "l": 44.902
  },
  "oklch": {
    "l": 0.55497,
    "c": 0.10391,
    "h": 246.1
  },
  "luminance": 0.17281
}

Semantic roles & 50–950 ramp

primary
#3978AC
secondary
#C29D7F
accent
#8D4EDA
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #3978AC

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

Preview Lab → · Contrast checker → · Palette generator →

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