#3979B3#3979B3

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

Color values

HEX#3979B3
RGBrgb(57, 121, 179)
HSLhsl(209, 52%, 46%)
HSVhsv(209, 68%, 70%)
CMYKcmyk(68.2%, 32.4%, 0%, 29.8%)
CIE-LABlab(49.25, -1.43, -36.69)
CIE-LCHlch(49.25, 36.72, 267.76°)
OKLaboklab(56.11% -0.041 -0.1039)
OKLCHoklch(56.11% 0.112 248.5)
XYZxyz(16.6584, 17.7975, 45.1964)
Luminance0.1780 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3979B3 #B37339
analogous
#39B3B0 #3979B3 #393CB3
triadic
#3979B3 #B33979 #79B339
tetradic
#3979B3 #B039B3 #B37339 #3CB339
square
#3979B3 #B039B3 #B37339 #3CB339
split-complementary
#3979B3 #B3393C #B3B039
monochromatic
#1B3A56 #2A5A85 #3979B3 #5E97CC #8CB5DA

Accessibility & contrast

On white

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

On black

4.56
#3979B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3979B3#FFFFFF#000000##FFFFFF
##3979B31.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F7BB5
Deuteranopia (green-blind)
#4E70B2
Tritanopia (blue-blind)
#00878E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #3979b3;
/* rgb */ color: rgb(57, 121, 179);
/* oklch */ color: oklch(56.1% 0.112 248.5);
Tailwind
colors: {
  custom: {
    50: '#7d9fca',
    500: '#3979b3',
    950: '#000000',
  },
}
SCSS
$custom: #3979b3;
$custom-light: #7d9fca;
$custom-dark: #000000;
JSON
{
  "hex": "#3979b3",
  "rgb": {
    "r": 57,
    "g": 121,
    "b": 179
  },
  "hsl": {
    "h": 208.525,
    "s": 51.695,
    "l": 46.275
  },
  "oklch": {
    "l": 0.56112,
    "c": 0.11168,
    "h": 248.5
  },
  "luminance": 0.17799
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3979B3

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

Preview Lab → · Contrast checker → · Palette generator →

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