#4E79D6#4E79D6

#4E79D6 is a mid, vivid blue. Relative luminance 0.201; OKLCH L 59.1% C 0.150 H 263.8°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#4E79D6
RGBrgb(78, 121, 214)
HSLhsl(221, 62%, 57%)
HSVhsv(221, 64%, 84%)
CMYKcmyk(63.6%, 43.5%, 0%, 16.1%)
CIE-LABlab(52.00, 14.40, -52.29)
CIE-LCHlch(52.00, 54.24, 285.40°)
OKLaboklab(59.11% -0.0163 -0.1492)
OKLCHoklch(59.11% 0.15 263.8)
XYZxyz(22.1126, 20.1474, 66.3288)
Luminance0.2015 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E79D6 #D6AB4E
analogous
#4EBDD6 #4E79D6 #674ED6
triadic
#4E79D6 #D64E79 #79D64E
tetradic
#4E79D6 #D64EBD #D6AB4E #4ED667
square
#4E79D6 #D64EBD #D6AB4E #4ED667
split-complementary
#4E79D6 #D6674E #BDD64E
monochromatic
#20418A #2B59BB #4E79D6 #809FE2 #B1C4ED

Accessibility & contrast

On white

4.18
#4E79D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#4E79D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E79D6
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E79D6#FFFFFF#000000##000000
##4E79D61.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e79d6;
/* rgb */ color: rgb(78, 121, 214);
/* oklch */ color: oklch(59.1% 0.150 263.8);
Tailwind
colors: {
  custom: {
    50: '#8c9fe3',
    500: '#4e79d6',
    950: '#000000',
  },
}
SCSS
$custom: #4e79d6;
$custom-light: #8c9fe3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e79d6",
  "rgb": {
    "r": 78,
    "g": 121,
    "b": 214
  },
  "hsl": {
    "h": 221.029,
    "s": 62.385,
    "l": 57.255
  },
  "oklch": {
    "l": 0.59106,
    "c": 0.15012,
    "h": 263.8
  },
  "luminance": 0.20149
}

Semantic roles & 50–950 ramp

primary
#4E79D6
secondary
#DBCAA4
accent
#B242E5
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4E79D6

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

Preview Lab → · Contrast checker → · Palette generator →

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