#4E79D0#4E79D0

#4E79D0 is a mid, vivid blue. Relative luminance 0.198; OKLCH L 58.7% C 0.142 H 262.9°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#4E79D0
RGBrgb(78, 121, 208)
HSLhsl(220, 58%, 56%)
HSVhsv(220, 63%, 82%)
CMYKcmyk(62.5%, 41.8%, 0%, 18.4%)
CIE-LABlab(51.66, 12.34, -49.44)
CIE-LCHlch(51.66, 50.95, 284.01°)
OKLaboklab(58.73% -0.0174 -0.1408)
OKLCHoklch(58.73% 0.142 262.9)
XYZxyz(21.3605, 19.8466, 62.3674)
Luminance0.1985 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E79D0 #D0A54E
analogous
#4EBAD0 #4E79D0 #644ED0
triadic
#4E79D0 #D04E79 #79D04E
tetradic
#4E79D0 #D04EBA #D0A54E #4ED064
square
#4E79D0 #D04EBA #D0A54E #4ED064
split-complementary
#4E79D0 #D0644E #BAD04E
monochromatic
#224281 #2F5AB2 #4E79D0 #7E9EDD #AFC2EA

Accessibility & contrast

On white

4.23
#4E79D0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#4E79D0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E79D0
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E79D0#FFFFFF#000000##000000
##4E79D01.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5282D3
Deuteranopia (green-blind)
#3E76CE
Tritanopia (blue-blind)
#008D9A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4e79d0;
/* rgb */ color: rgb(78, 121, 208);
/* oklch */ color: oklch(58.7% 0.142 262.9);
Tailwind
colors: {
  custom: {
    50: '#8b9fdf',
    500: '#4e79d0',
    950: '#000000',
  },
}
SCSS
$custom: #4e79d0;
$custom-light: #8b9fdf;
$custom-dark: #000000;
JSON
{
  "hex": "#4e79d0",
  "rgb": {
    "r": 78,
    "g": 121,
    "b": 208
  },
  "hsl": {
    "h": 220.154,
    "s": 58.036,
    "l": 56.078
  },
  "oklch": {
    "l": 0.58734,
    "c": 0.14192,
    "h": 262.9
  },
  "luminance": 0.19849
}

Semantic roles & 50–950 ramp

primary
#4E79D0
secondary
#D8C6A2
accent
#AE47E1
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4E79D0

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

Preview Lab → · Contrast checker → · Palette generator →

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