#4A79D5#4A79D5

#4A79D5 is a mid, vivid blue. Relative luminance 0.199; OKLCH L 58.9% C 0.150 H 262.4°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#4A79D5
RGBrgb(74, 121, 213)
HSLhsl(220, 62%, 56%)
HSVhsv(220, 65%, 84%)
CMYKcmyk(65.3%, 43.2%, 0%, 16.5%)
CIE-LABlab(51.76, 13.37, -52.13)
CIE-LCHlch(51.76, 53.81, 284.38°)
OKLaboklab(58.85% -0.0199 -0.1488)
OKLCHoklch(58.85% 0.15 262.4)
XYZxyz(21.6674, 19.9326, 65.6434)
Luminance0.1993 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A79D5 #D5A64A
analogous
#4ABFD5 #4A79D5 #614AD5
triadic
#4A79D5 #D54A79 #79D54A
tetradic
#4A79D5 #D54ABF #D5A64A #4AD561
square
#4A79D5 #D54ABF #D5A64A #4AD561
split-complementary
#4A79D5 #D5614A #BFD54A
monochromatic
#1F4286 #2B5AB7 #4A79D5 #7C9EE1 #ADC3EC

Accessibility & contrast

On white

4.21
#4A79D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#4A79D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A79D5
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A79D5#FFFFFF#000000##000000
##4A79D51.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E82D9
Deuteranopia (green-blind)
#3775D3
Tritanopia (blue-blind)
#008E9C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4a79d5;
/* rgb */ color: rgb(74, 121, 213);
/* oklch */ color: oklch(58.9% 0.150 262.4);
Tailwind
colors: {
  custom: {
    50: '#8a9fe2',
    500: '#4a79d5',
    950: '#000000',
  },
}
SCSS
$custom: #4a79d5;
$custom-light: #8a9fe2;
$custom-dark: #000000;
JSON
{
  "hex": "#4a79d5",
  "rgb": {
    "r": 74,
    "g": 121,
    "b": 213
  },
  "hsl": {
    "h": 219.712,
    "s": 62.332,
    "l": 56.275
  },
  "oklch": {
    "l": 0.58851,
    "c": 0.15014,
    "h": 262.4
  },
  "luminance": 0.19935
}

Semantic roles & 50–950 ramp

primary
#4A79D5
secondary
#DAC7A1
accent
#AE42E5
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4A79D5

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

Preview Lab → · Contrast checker → · Palette generator →

#4A79D5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva