#3979A2#3979A2

#3979A2 is a mid, moderate cyan. Relative luminance 0.172; OKLCH L 55.2% C 0.091 H 239.5°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#3979A2
RGBrgb(57, 121, 162)
HSLhsl(203, 48%, 43%)
HSVhsv(203, 65%, 64%)
CMYKcmyk(64.8%, 25.3%, 0%, 36.5%)
CIE-LABlab(48.45, -7.34, -28.06)
CIE-LCHlch(48.45, 29.00, 255.34°)
OKLaboklab(55.22% -0.0464 -0.0788)
OKLCHoklch(55.22% 0.092 239.5)
XYZxyz(15.0438, 17.1517, 36.6932)
Luminance0.1715 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3979A2 #A26239
analogous
#39A296 #3979A2 #3944A2
triadic
#3979A2 #A23979 #79A239
tetradic
#3979A2 #9639A2 #A26239 #44A239
square
#3979A2 #9639A2 #A26239 #44A239
split-complementary
#3979A2 #A23944 #A29639
monochromatic
#193547 #295775 #3979A2 #5598C3 #82B4D3

Accessibility & contrast

On white

4.74
#3979A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#3979A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3979A2
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3979A2#FFFFFF#000000##FFFFFF
##3979A21.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6679A4
Deuteranopia (green-blind)
#586EA1
Tritanopia (blue-blind)
#008387
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #3979a2;
/* rgb */ color: rgb(57, 121, 162);
/* oklch */ color: oklch(55.2% 0.091 239.5);
Tailwind
colors: {
  custom: {
    50: '#7a9fbd',
    500: '#3979a2',
    950: '#000000',
  },
}
SCSS
$custom: #3979a2;
$custom-light: #7a9fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#3979a2",
  "rgb": {
    "r": 57,
    "g": 121,
    "b": 162
  },
  "hsl": {
    "h": 203.429,
    "s": 47.945,
    "l": 42.941
  },
  "oklch": {
    "l": 0.55219,
    "c": 0.0915,
    "h": 239.5
  },
  "luminance": 0.17153
}

Semantic roles & 50–950 ramp

primary
#3979A2
secondary
#BD947A
accent
#8550D8
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #3979A2

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

Preview Lab → · Contrast checker → · Palette generator →

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