#4E79D7#4E79D7

#4E79D7 is a mid, vivid blue. Relative luminance 0.202; OKLCH L 59.2% C 0.151 H 263.9°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#4E79D7
RGBrgb(78, 121, 215)
HSLhsl(221, 63%, 57%)
HSVhsv(221, 64%, 84%)
CMYKcmyk(63.7%, 43.7%, 0%, 15.7%)
CIE-LABlab(52.06, 14.74, -52.77)
CIE-LCHlch(52.06, 54.79, 285.61°)
OKLaboklab(59.17% -0.0162 -0.1506)
OKLCHoklch(59.17% 0.151 263.9)
XYZxyz(22.2407, 20.1987, 67.0035)
Luminance0.2020 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E79D7 #D7AC4E
analogous
#4EBED7 #4E79D7 #684ED7
triadic
#4E79D7 #D74E79 #79D74E
tetradic
#4E79D7 #D74EBE #D7AC4E #4ED768
square
#4E79D7 #D74EBE #D7AC4E #4ED768
split-complementary
#4E79D7 #D7684E #BED74E
monochromatic
#1F418B #2B59BD #4E79D7 #809FE2 #B2C5EE

Accessibility & contrast

On white

4.17
#4E79D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#4E79D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E79D7
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E79D7#FFFFFF#000000##000000
##4E79D71.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D83DB
Deuteranopia (green-blind)
#3776D5
Tritanopia (blue-blind)
#008E9D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4e79d7;
/* rgb */ color: rgb(78, 121, 215);
/* oklch */ color: oklch(59.2% 0.151 263.9);
Tailwind
colors: {
  custom: {
    50: '#8c9fe4',
    500: '#4e79d7',
    950: '#000000',
  },
}
SCSS
$custom: #4e79d7;
$custom-light: #8c9fe4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e79d7",
  "rgb": {
    "r": 78,
    "g": 121,
    "b": 215
  },
  "hsl": {
    "h": 221.168,
    "s": 63.134,
    "l": 57.451
  },
  "oklch": {
    "l": 0.59169,
    "c": 0.15149,
    "h": 263.9
  },
  "luminance": 0.20201
}

Semantic roles & 50–950 ramp

primary
#4E79D7
secondary
#DCCBA5
accent
#B342E6
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E15
muted
#7E7E84

Preview Lab

Preview with #4E79D7

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

Preview Lab → · Contrast checker → · Palette generator →

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