#3978A2#3978A2

#3978A2 is a mid, moderate cyan. Relative luminance 0.169; OKLCH L 55.0% C 0.092 H 240.5°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#3978A2
RGBrgb(57, 120, 162)
HSLhsl(204, 48%, 43%)
HSVhsv(204, 65%, 64%)
CMYKcmyk(64.8%, 25.9%, 0%, 36.5%)
CIE-LABlab(48.15, -6.75, -28.53)
CIE-LCHlch(48.15, 29.32, 256.68°)
OKLaboklab(54.98% -0.0454 -0.0802)
OKLCHoklch(54.98% 0.092 240.5)
XYZxyz(14.9229, 16.9099, 36.6529)
Luminance0.1691 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3978A2 #A26339
analogous
#39A297 #3978A2 #3943A2
triadic
#3978A2 #A23978 #78A239
tetradic
#3978A2 #9739A2 #A26339 #43A239
square
#3978A2 #9739A2 #A26339 #43A239
split-complementary
#3978A2 #A23943 #A29739
monochromatic
#193547 #295675 #3978A2 #5597C3 #82B3D3

Accessibility & contrast

On white

4.79
#3978A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#3978A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3978A2
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3978A2#FFFFFF#000000##FFFFFF
##3978A21.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6578A4
Deuteranopia (green-blind)
#576EA1
Tritanopia (blue-blind)
#008286
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #3978a2;
/* rgb */ color: rgb(57, 120, 162);
/* oklch */ color: oklch(55.0% 0.092 240.5);
Tailwind
colors: {
  custom: {
    50: '#7a9ebd',
    500: '#3978a2',
    950: '#000000',
  },
}
SCSS
$custom: #3978a2;
$custom-light: #7a9ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#3978a2",
  "rgb": {
    "r": 57,
    "g": 120,
    "b": 162
  },
  "hsl": {
    "h": 204,
    "s": 47.945,
    "l": 42.941
  },
  "oklch": {
    "l": 0.54978,
    "c": 0.09215,
    "h": 240.5
  },
  "luminance": 0.16911
}

Semantic roles & 50–950 ramp

primary
#3978A2
secondary
#BD957A
accent
#8650D8
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #3978A2

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

Preview Lab → · Contrast checker → · Palette generator →

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