#4A79D6#4A79D6

#4A79D6 is a mid, vivid blue. Relative luminance 0.200; OKLCH L 58.9% C 0.151 H 262.5°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#4A79D6
RGBrgb(74, 121, 214)
HSLhsl(220, 63%, 56%)
HSVhsv(220, 65%, 84%)
CMYKcmyk(65.4%, 43.5%, 0%, 16.1%)
CIE-LABlab(51.82, 13.72, -52.60)
CIE-LCHlch(51.82, 54.36, 284.61°)
OKLaboklab(58.91% -0.0198 -0.1502)
OKLCHoklch(58.91% 0.151 262.5)
XYZxyz(21.7947, 19.9835, 66.3139)
Luminance0.1999 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A79D6 #D6A74A
analogous
#4ABFD6 #4A79D6 #614AD6
triadic
#4A79D6 #D64A79 #79D64A
tetradic
#4A79D6 #D64ABF #D6A74A #4AD661
square
#4A79D6 #D64ABF #D6A74A #4AD661
split-complementary
#4A79D6 #D6614A #BFD64A
monochromatic
#1F4287 #2A5AB9 #4A79D6 #7C9EE1 #AEC3ED

Accessibility & contrast

On white

4.20
#4A79D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#4A79D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A79D6
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A79D6#FFFFFF#000000##000000
##4A79D61.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D82DA
Deuteranopia (green-blind)
#3676D4
Tritanopia (blue-blind)
#008E9D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4a79d6;
/* rgb */ color: rgb(74, 121, 214);
/* oklch */ color: oklch(58.9% 0.151 262.5);
Tailwind
colors: {
  custom: {
    50: '#8a9fe3',
    500: '#4a79d6',
    950: '#000000',
  },
}
SCSS
$custom: #4a79d6;
$custom-light: #8a9fe3;
$custom-dark: #000000;
JSON
{
  "hex": "#4a79d6",
  "rgb": {
    "r": 74,
    "g": 121,
    "b": 214
  },
  "hsl": {
    "h": 219.857,
    "s": 63.063,
    "l": 56.471
  },
  "oklch": {
    "l": 0.58914,
    "c": 0.15149,
    "h": 262.5
  },
  "luminance": 0.19986
}

Semantic roles & 50–950 ramp

primary
#4A79D6
secondary
#DBC7A1
accent
#AF42E6
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4A79D6

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

Preview Lab → · Contrast checker → · Palette generator →

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