#3A79E6#3A79E6

#3A79E6 is a mid, vivid blue. Relative luminance 0.203; OKLCH L 59.3% C 0.178 H 260.5°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#3A79E6
RGBrgb(58, 121, 230)
HSLhsl(218, 77%, 56%)
HSVhsv(218, 75%, 90%)
CMYKcmyk(74.8%, 47.4%, 0%, 9.8%)
CIE-LABlab(52.16, 17.16, -61.10)
CIE-LCHlch(52.16, 63.47, 285.69°)
OKLaboklab(59.31% -0.0292 -0.1755)
OKLCHoklch(59.31% 0.178 260.5)
XYZxyz(22.8601, 20.2849, 77.5581)
Luminance0.2029 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A79E6 #E6A73A
analogous
#3ACFE6 #3A79E6 #513AE6
triadic
#3A79E6 #E63A79 #79E63A
tetradic
#3A79E6 #E63ACF #E6A73A #3AE651
square
#3A79E6 #E63ACF #E6A73A #3AE651
split-complementary
#3A79E6 #E6513A #CFE63A
monochromatic
#134293 #1A5AC9 #3A79E6 #709EED #A7C3F4

Accessibility & contrast

On white

4.15
#3A79E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#3A79E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A79E6
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A79E6#FFFFFF#000000##000000
##3A79E61.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C85EA
Deuteranopia (green-blind)
#0075E4
Tritanopia (blue-blind)
#0093A4
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #3a79e6;
/* rgb */ color: rgb(58, 121, 230);
/* oklch */ color: oklch(59.3% 0.178 260.5);
Tailwind
colors: {
  custom: {
    50: '#879fef',
    500: '#3a79e6',
    950: '#000000',
  },
}
SCSS
$custom: #3a79e6;
$custom-light: #879fef;
$custom-dark: #000000;
JSON
{
  "hex": "#3a79e6",
  "rgb": {
    "r": 58,
    "g": 121,
    "b": 230
  },
  "hsl": {
    "h": 218.023,
    "s": 77.477,
    "l": 56.471
  },
  "oklch": {
    "l": 0.59312,
    "c": 0.17788,
    "h": 260.5
  },
  "luminance": 0.20287
}

Semantic roles & 50–950 ramp

primary
#3A79E6
secondary
#E1C79B
accent
#AE34F4
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #3A79E6

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

Preview Lab → · Contrast checker → · Palette generator →

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