#3979B2#3979B2

#3979B2 is a mid, moderate cyan. Relative luminance 0.178; OKLCH L 56.1% C 0.110 H 248.0°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#3979B2
RGBrgb(57, 121, 178)
HSLhsl(208, 51%, 46%)
HSVhsv(208, 68%, 70%)
CMYKcmyk(68%, 32%, 0%, 30.2%)
CIE-LABlab(49.20, -1.79, -36.19)
CIE-LCHlch(49.20, 36.24, 267.17°)
OKLaboklab(56.06% -0.0413 -0.1024)
OKLCHoklch(56.06% 0.11 248)
XYZxyz(16.5576, 17.7572, 44.6657)
Luminance0.1776 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3979B2 #B27239
analogous
#39B2AE #3979B2 #393DB2
triadic
#3979B2 #B23979 #79B239
tetradic
#3979B2 #AE39B2 #B27239 #3DB239
square
#3979B2 #AE39B2 #B27239 #3DB239
split-complementary
#3979B2 #B2393D #B2AE39
monochromatic
#1B3A55 #2A5984 #3979B2 #5D97CB #8BB5DA

Accessibility & contrast

On white

4.61
#3979B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#3979B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3979B2
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3979B2#FFFFFF#000000##FFFFFF
##3979B21.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)
#607BB4
Deuteranopia (green-blind)
#4F70B1
Tritanopia (blue-blind)
#00878D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #3979b2;
/* rgb */ color: rgb(57, 121, 178);
/* oklch */ color: oklch(56.1% 0.110 248.0);
Tailwind
colors: {
  custom: {
    50: '#7d9fc9',
    500: '#3979b2',
    950: '#000000',
  },
}
SCSS
$custom: #3979b2;
$custom-light: #7d9fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#3979b2",
  "rgb": {
    "r": 57,
    "g": 121,
    "b": 178
  },
  "hsl": {
    "h": 208.264,
    "s": 51.489,
    "l": 46.078
  },
  "oklch": {
    "l": 0.56057,
    "c": 0.11044,
    "h": 248
  },
  "luminance": 0.17759
}

Semantic roles & 50–950 ramp

primary
#3979B2
secondary
#C4A182
accent
#904DDB
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0E13
muted
#7C7E82

Preview Lab

Preview with #3979B2

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

Preview Lab → · Contrast checker → · Palette generator →

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