#3A79D3#3A79D3

#3A79D3 is a mid, vivid blue. Relative luminance 0.193; OKLCH L 58.1% C 0.153 H 257.7°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#3A79D3
RGBrgb(58, 121, 211)
HSLhsl(215, 63%, 53%)
HSVhsv(215, 73%, 83%)
CMYKcmyk(72.5%, 42.7%, 0%, 17.3%)
CIE-LABlab(51.01, 10.22, -52.23)
CIE-LCHlch(51.01, 53.23, 281.08°)
OKLaboklab(58.06% -0.0325 -0.1494)
OKLCHoklch(58.06% 0.153 257.7)
XYZxyz(20.3359, 19.2752, 64.2641)
Luminance0.1928 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A79D3 #D3943A
analogous
#3AC5D3 #3A79D3 #473AD3
triadic
#3A79D3 #D33A79 #79D33A
tetradic
#3A79D3 #D33AC5 #D3943A #3AD347
square
#3A79D3 #D33AC5 #D3943A #3AD347
split-complementary
#3A79D3 #D3473A #C5D33A
monochromatic
#1B4178 #265CAA #3A79D3 #6C9BDE #9EBDE9

Accessibility & contrast

On white

4.33
#3A79D3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#3A79D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A79D3
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A79D3#FFFFFF#000000##000000
##3A79D31.004.334.864.86
#FFFFFF4.331.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D81D6
Deuteranopia (green-blind)
#3273D1
Tritanopia (blue-blind)
#008E9C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #3a79d3;
/* rgb */ color: rgb(58, 121, 211);
/* oklch */ color: oklch(58.1% 0.153 257.7);
Tailwind
colors: {
  custom: {
    50: '#839fe1',
    500: '#3a79d3',
    950: '#000000',
  },
}
SCSS
$custom: #3a79d3;
$custom-light: #839fe1;
$custom-dark: #000000;
JSON
{
  "hex": "#3a79d3",
  "rgb": {
    "r": 58,
    "g": 121,
    "b": 211
  },
  "hsl": {
    "h": 215.294,
    "s": 63.485,
    "l": 52.745
  },
  "oklch": {
    "l": 0.58055,
    "c": 0.15287,
    "h": 257.7
  },
  "luminance": 0.19277
}

Semantic roles & 50–950 ramp

primary
#3A79D3
secondary
#D6BA93
accent
#A241E7
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #3A79D3

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

Preview Lab → · Contrast checker → · Palette generator →

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