#3A79D4#3A79D4

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

Color values

HEX#3A79D4
RGBrgb(58, 121, 212)
HSLhsl(215, 64%, 53%)
HSVhsv(215, 73%, 83%)
CMYKcmyk(72.6%, 42.9%, 0%, 16.9%)
CIE-LABlab(51.07, 10.59, -52.71)
CIE-LCHlch(51.07, 53.76, 281.36°)
OKLaboklab(58.12% -0.0323 -0.1508)
OKLCHoklch(58.12% 0.154 257.9)
XYZxyz(20.4616, 19.3255, 64.9264)
Luminance0.1933 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A79D4 #D4953A
analogous
#3AC6D4 #3A79D4 #483AD4
triadic
#3A79D4 #D43A79 #79D43A
tetradic
#3A79D4 #D43AC6 #D4953A #3AD448
square
#3A79D4 #D43AC6 #D4953A #3AD448
split-complementary
#3A79D4 #D4483A #C6D43A
monochromatic
#1A4179 #255CAB #3A79D4 #6C9BDF #9EBDEA

Accessibility & contrast

On white

4.32
#3A79D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#3A79D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A79D4
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A79D4#FFFFFF#000000##000000
##3A79D41.004.324.874.87
#FFFFFF4.321.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C81D8
Deuteranopia (green-blind)
#3073D2
Tritanopia (blue-blind)
#008E9C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #3a79d4;
/* rgb */ color: rgb(58, 121, 212);
/* oklch */ color: oklch(58.1% 0.154 257.9);
Tailwind
colors: {
  custom: {
    50: '#839fe2',
    500: '#3a79d4',
    950: '#000000',
  },
}
SCSS
$custom: #3a79d4;
$custom-light: #839fe2;
$custom-dark: #000000;
JSON
{
  "hex": "#3a79d4",
  "rgb": {
    "r": 58,
    "g": 121,
    "b": 212
  },
  "hsl": {
    "h": 215.455,
    "s": 64.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.58119,
    "c": 0.15419,
    "h": 257.9
  },
  "luminance": 0.19328
}

Semantic roles & 50–950 ramp

primary
#3A79D4
secondary
#D6BB94
accent
#A341E7
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #3A79D4

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

Preview Lab → · Contrast checker → · Palette generator →

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