#3A79D6#3A79D6

#3A79D6 is a mid, vivid blue. Relative luminance 0.194; OKLCH L 58.2% C 0.157 H 258.3°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#3A79D6
RGBrgb(58, 121, 214)
HSLhsl(216, 66%, 53%)
HSVhsv(216, 73%, 84%)
CMYKcmyk(72.9%, 43.5%, 0%, 16.1%)
CIE-LABlab(51.18, 11.32, -53.65)
CIE-LCHlch(51.18, 54.83, 281.91°)
OKLaboklab(58.25% -0.0319 -0.1535)
OKLCHoklch(58.25% 0.157 258.3)
XYZxyz(20.7155, 19.4270, 66.2633)
Luminance0.1943 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A79D6 #D6973A
analogous
#3AC7D6 #3A79D6 #493AD6
triadic
#3A79D6 #D63A79 #79D63A
tetradic
#3A79D6 #D63AC7 #D6973A #3AD649
square
#3A79D6 #D63AC7 #D6973A #3AD649
split-complementary
#3A79D6 #D6493A #C7D63A
monochromatic
#1A417C #245CAE #3A79D6 #6D9BE1 #9FBEEB

Accessibility & contrast

On white

4.30
#3A79D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#3A79D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A79D6
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A79D6#FFFFFF#000000##000000
##3A79D61.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B82DA
Deuteranopia (green-blind)
#2E73D4
Tritanopia (blue-blind)
#008F9D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #3a79d6;
/* rgb */ color: rgb(58, 121, 214);
/* oklch */ color: oklch(58.2% 0.157 258.3);
Tailwind
colors: {
  custom: {
    50: '#849fe3',
    500: '#3a79d6',
    950: '#000000',
  },
}
SCSS
$custom: #3a79d6;
$custom-light: #849fe3;
$custom-dark: #000000;
JSON
{
  "hex": "#3a79d6",
  "rgb": {
    "r": 58,
    "g": 121,
    "b": 214
  },
  "hsl": {
    "h": 215.769,
    "s": 65.546,
    "l": 53.333
  },
  "oklch": {
    "l": 0.58247,
    "c": 0.15683,
    "h": 258.3
  },
  "luminance": 0.19429
}

Semantic roles & 50–950 ramp

primary
#3A79D6
secondary
#D7BC94
accent
#A43FE8
background
#F8F9FE
surface
#F0F2FC
border
#CBCCD5
text
#0C0E15
muted
#7D7E84

Preview Lab

Preview with #3A79D6

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

Preview Lab → · Contrast checker → · Palette generator →

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