#3A79D9#3A79D9

#3A79D9 is a mid, vivid blue. Relative luminance 0.196; OKLCH L 58.4% C 0.161 H 258.8°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#3A79D9
RGBrgb(58, 121, 217)
HSLhsl(216, 68%, 54%)
HSVhsv(216, 73%, 85%)
CMYKcmyk(73.3%, 44.2%, 0%, 14.9%)
CIE-LABlab(51.36, 12.41, -55.07)
CIE-LCHlch(51.36, 56.45, 282.70°)
OKLaboklab(58.44% -0.0314 -0.1577)
OKLCHoklch(58.44% 0.161 258.8)
XYZxyz(21.1021, 19.5817, 68.2997)
Luminance0.1958 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A79D9 #D99A3A
analogous
#3AC9D9 #3A79D9 #4B3AD9
triadic
#3A79D9 #D93A79 #79D93A
tetradic
#3A79D9 #D93AC9 #D99A3A #3AD94B
square
#3A79D9 #D93AC9 #D99A3A #3AD94B
split-complementary
#3A79D9 #D94B3A #C9D93A
monochromatic
#194280 #235CB3 #3A79D9 #6D9CE3 #A1BFED

Accessibility & contrast

On white

4.27
#3A79D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#3A79D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A79D9
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A79D9#FFFFFF#000000##000000
##3A79D91.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4882DD
Deuteranopia (green-blind)
#2974D7
Tritanopia (blue-blind)
#00909E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #3a79d9;
/* rgb */ color: rgb(58, 121, 217);
/* oklch */ color: oklch(58.4% 0.161 258.8);
Tailwind
colors: {
  custom: {
    50: '#849fe5',
    500: '#3a79d9',
    950: '#000000',
  },
}
SCSS
$custom: #3a79d9;
$custom-light: #849fe5;
$custom-dark: #000000;
JSON
{
  "hex": "#3a79d9",
  "rgb": {
    "r": 58,
    "g": 121,
    "b": 217
  },
  "hsl": {
    "h": 216.226,
    "s": 67.66,
    "l": 53.922
  },
  "oklch": {
    "l": 0.58442,
    "c": 0.16079,
    "h": 258.8
  },
  "luminance": 0.19584
}

Semantic roles & 50–950 ramp

primary
#3A79D9
secondary
#D9BE95
accent
#A63DEB
background
#F8F9FE
surface
#F0F2FC
border
#CBCCD5
text
#0C0E16
muted
#7D7E84

Preview Lab

Preview with #3A79D9

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

Preview Lab → · Contrast checker → · Palette generator →

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