#4E79C0#4E79C0

#4E79C0 is a mid, moderate blue. Relative luminance 0.191; OKLCH L 57.8% C 0.120 H 260.0°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#4E79C0
RGBrgb(78, 121, 192)
HSLhsl(217, 48%, 53%)
HSVhsv(217, 59%, 75%)
CMYKcmyk(59.4%, 37%, 0%, 24.7%)
CIE-LABlab(50.80, 6.91, -41.67)
CIE-LCHlch(50.80, 42.24, 279.41°)
OKLaboklab(57.79% -0.0209 -0.1181)
OKLCHoklch(57.79% 0.12 260)
XYZxyz(19.4904, 19.0985, 52.5182)
Luminance0.1910 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E79C0 #C0954E
analogous
#4EB2C0 #4E79C0 #5C4EC0
triadic
#4E79C0 #C04E79 #79C04E
tetradic
#4E79C0 #C04EB2 #C0954E #4EC05C
square
#4E79C0 #C04EB2 #C0954E #4EC05C
split-complementary
#4E79C0 #C05C4E #B2C04E
monochromatic
#27416D #375C9A #4E79C0 #7B9BD0 #A8BDE0

Accessibility & contrast

On white

4.36
#4E79C0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#4E79C0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E79C0
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E79C0#FFFFFF#000000##000000
##4E79C01.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B7FC3
Deuteranopia (green-blind)
#4C74BF
Tritanopia (blue-blind)
#008993
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4e79c0;
/* rgb */ color: rgb(78, 121, 192);
/* oklch */ color: oklch(57.8% 0.120 260.0);
Tailwind
colors: {
  custom: {
    50: '#899fd3',
    500: '#4e79c0',
    950: '#000000',
  },
}
SCSS
$custom: #4e79c0;
$custom-light: #899fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e79c0",
  "rgb": {
    "r": 78,
    "g": 121,
    "b": 192
  },
  "hsl": {
    "h": 217.368,
    "s": 47.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.57787,
    "c": 0.11994,
    "h": 260
  },
  "luminance": 0.191
}

Semantic roles & 50–950 ramp

primary
#4E79C0
secondary
#CEBB9C
accent
#A451D7
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #4E79C0

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

Preview Lab → · Contrast checker → · Palette generator →

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