#3A79C4#3A79C4

#3A79C4 is a mid, vivid cyan. Relative luminance 0.186; OKLCH L 57.1% C 0.133 H 254.4°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#3A79C4
RGBrgb(58, 121, 196)
HSLhsl(213, 54%, 50%)
HSVhsv(213, 70%, 77%)
CMYKcmyk(70.4%, 38.3%, 0%, 23.1%)
CIE-LABlab(50.17, 4.79, -45.03)
CIE-LCHlch(50.17, 45.28, 276.07°)
OKLaboklab(57.13% -0.0358 -0.1282)
OKLCHoklch(57.13% 0.133 254.4)
XYZxyz(18.5424, 18.5578, 54.8186)
Luminance0.1856 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A79C4 #C4853A
analogous
#3ABEC4 #3A79C4 #403AC4
triadic
#3A79C4 #C43A79 #79C43A
tetradic
#3A79C4 #C43ABE #C4853A #3AC440
square
#3A79C4 #C43ABE #C4853A #3AC440
split-complementary
#3A79C4 #C4403A #BEC43A
monochromatic
#1E3F66 #2C5C95 #3A79C4 #6999D3 #98B9E0

Accessibility & contrast

On white

4.46
#3A79C4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#3A79C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A79C4
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A79C4#FFFFFF#000000##000000
##3A79C41.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#577EC7
Deuteranopia (green-blind)
#4271C2
Tritanopia (blue-blind)
#008A95
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #3a79c4;
/* rgb */ color: rgb(58, 121, 196);
/* oklch */ color: oklch(57.1% 0.133 254.4);
Tailwind
colors: {
  custom: {
    50: '#809fd6',
    500: '#3a79c4',
    950: '#000000',
  },
}
SCSS
$custom: #3a79c4;
$custom-light: #809fd6;
$custom-dark: #000000;
JSON
{
  "hex": "#3a79c4",
  "rgb": {
    "r": 58,
    "g": 121,
    "b": 196
  },
  "hsl": {
    "h": 212.609,
    "s": 54.331,
    "l": 49.804
  },
  "oklch": {
    "l": 0.57128,
    "c": 0.13313,
    "h": 254.4
  },
  "luminance": 0.1856
}

Semantic roles & 50–950 ramp

primary
#3A79C4
secondary
#CCB08E
accent
#9A4ADE
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0B0E14
muted
#7C7E83

Preview Lab

Preview with #3A79C4

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

Preview Lab → · Contrast checker → · Palette generator →

#3A79C4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva