#3A79C5#3A79C5

#3A79C5 is a mid, vivid cyan. Relative luminance 0.186; OKLCH L 57.2% C 0.134 H 254.7°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#3A79C5
RGBrgb(58, 121, 197)
HSLhsl(213, 55%, 50%)
HSVhsv(213, 71%, 77%)
CMYKcmyk(70.6%, 38.6%, 0%, 22.7%)
CIE-LABlab(50.22, 5.15, -45.51)
CIE-LCHlch(50.22, 45.80, 276.46°)
OKLaboklab(57.19% -0.0355 -0.1296)
OKLCHoklch(57.19% 0.134 254.7)
XYZxyz(18.6566, 18.6035, 55.4201)
Luminance0.1861 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A79C5 #C5863A
analogous
#3ABEC5 #3A79C5 #413AC5
triadic
#3A79C5 #C53A79 #79C53A
tetradic
#3A79C5 #C53ABE #C5863A #3AC541
square
#3A79C5 #C53ABE #C5863A #3AC541
split-complementary
#3A79C5 #C5413A #BEC53A
monochromatic
#1E3F66 #2C5C96 #3A79C5 #6999D3 #99B9E1

Accessibility & contrast

On white

4.45
#3A79C5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#3A79C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A79C5
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A79C5#FFFFFF#000000##000000
##3A79C51.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#567FC8
Deuteranopia (green-blind)
#4172C3
Tritanopia (blue-blind)
#008B95
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #3a79c5;
/* rgb */ color: rgb(58, 121, 197);
/* oklch */ color: oklch(57.2% 0.134 254.7);
Tailwind
colors: {
  custom: {
    50: '#809fd7',
    500: '#3a79c5',
    950: '#000000',
  },
}
SCSS
$custom: #3a79c5;
$custom-light: #809fd7;
$custom-dark: #000000;
JSON
{
  "hex": "#3a79c5",
  "rgb": {
    "r": 58,
    "g": 121,
    "b": 197
  },
  "hsl": {
    "h": 212.806,
    "s": 54.51,
    "l": 50
  },
  "oklch": {
    "l": 0.57187,
    "c": 0.13444,
    "h": 254.7
  },
  "luminance": 0.18606
}

Semantic roles & 50–950 ramp

primary
#3A79C5
secondary
#CDB08E
accent
#9B4ADE
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0B0E14
muted
#7C7E83

Preview Lab

Preview with #3A79C5

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

Preview Lab → · Contrast checker → · Palette generator →

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