#3A79DF#3A79DF

#3A79DF is a mid, vivid blue. Relative luminance 0.199; OKLCH L 58.8% C 0.169 H 259.6°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#3A79DF
RGBrgb(58, 121, 223)
HSLhsl(217, 72%, 55%)
HSVhsv(217, 74%, 87%)
CMYKcmyk(74%, 45.7%, 0%, 12.5%)
CIE-LABlab(51.72, 14.60, -57.87)
CIE-LCHlch(51.72, 59.68, 284.16°)
OKLaboklab(58.84% -0.0303 -0.1659)
OKLCHoklch(58.84% 0.169 259.6)
XYZxyz(21.8967, 19.8995, 72.4847)
Luminance0.1990 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A79DF #DFA03A
analogous
#3ACBDF #3A79DF #4E3ADF
triadic
#3A79DF #DF3A79 #79DF3A
tetradic
#3A79DF #DF3ACB #DFA03A #3ADF4E
square
#3A79DF #DF3ACB #DFA03A #3ADF4E
split-complementary
#3A79DF #DF4E3A #CBDF3A
monochromatic
#164288 #1F5BBD #3A79DF #6F9DE8 #A3C1F0

Accessibility & contrast

On white

4.22
#3A79DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#3A79DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A79DF
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A79DF#FFFFFF#000000##000000
##3A79DF1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4383E3
Deuteranopia (green-blind)
#1C74DD
Tritanopia (blue-blind)
#0091A1
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #3a79df;
/* rgb */ color: rgb(58, 121, 223);
/* oklch */ color: oklch(58.8% 0.169 259.6);
Tailwind
colors: {
  custom: {
    50: '#859fea',
    500: '#3a79df',
    950: '#000000',
  },
}
SCSS
$custom: #3a79df;
$custom-light: #859fea;
$custom-dark: #000000;
JSON
{
  "hex": "#3a79df",
  "rgb": {
    "r": 58,
    "g": 121,
    "b": 223
  },
  "hsl": {
    "h": 217.091,
    "s": 72.052,
    "l": 55.098
  },
  "oklch": {
    "l": 0.58839,
    "c": 0.1687,
    "h": 259.6
  },
  "luminance": 0.19902
}

Semantic roles & 50–950 ramp

primary
#3A79DF
secondary
#DDC398
accent
#A939EF
background
#F8F9FE
surface
#F0F2FD
border
#CBCCD5
text
#0D0E16
muted
#7D7E84

Preview Lab

Preview with #3A79DF

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

Preview Lab → · Contrast checker → · Palette generator →

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