#3979BF#3979BF

#3979BF is a mid, vivid cyan. Relative luminance 0.183; OKLCH L 56.8% C 0.127 H 252.7°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#3979BF
RGBrgb(57, 121, 191)
HSLhsl(211, 54%, 49%)
HSVhsv(211, 70%, 75%)
CMYKcmyk(70.2%, 36.6%, 0%, 25.1%)
CIE-LABlab(49.86, 2.84, -42.64)
CIE-LCHlch(49.86, 42.74, 273.81°)
OKLaboklab(56.79% -0.0377 -0.1213)
OKLCHoklch(56.79% 0.127 252.7)
XYZxyz(17.9252, 18.3043, 51.8685)
Luminance0.1831 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3979BF #BF7F39
analogous
#39BCBF #3979BF #3C39BF
triadic
#3979BF #BF3979 #79BF39
tetradic
#3979BF #BF39BC #BF7F39 #39BF3C
square
#3979BF #BF39BC #BF7F39 #39BF3C
split-complementary
#3979BF #BF3C39 #BCBF39
monochromatic
#1D3D61 #2B5B90 #3979BF #6498D1 #93B8DF

Accessibility & contrast

On white

4.51
#3979BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#3979BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3979BF
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3979BF#FFFFFF#000000##000000
##3979BF1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#597DC2
Deuteranopia (green-blind)
#4671BE
Tritanopia (blue-blind)
#008993
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #3979bf;
/* rgb */ color: rgb(57, 121, 191);
/* oklch */ color: oklch(56.8% 0.127 252.7);
Tailwind
colors: {
  custom: {
    50: '#7f9fd2',
    500: '#3979bf',
    950: '#000000',
  },
}
SCSS
$custom: #3979bf;
$custom-light: #7f9fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#3979bf",
  "rgb": {
    "r": 57,
    "g": 121,
    "b": 191
  },
  "hsl": {
    "h": 211.343,
    "s": 54.032,
    "l": 48.627
  },
  "oklch": {
    "l": 0.56794,
    "c": 0.12699,
    "h": 252.7
  },
  "luminance": 0.18306
}

Semantic roles & 50–950 ramp

primary
#3979BF
secondary
#CAAB8A
accent
#974ADD
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #3979BF

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

Preview Lab → · Contrast checker → · Palette generator →

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