#4E79C4#4E79C4

#4E79C4 is a mid, vivid blue. Relative luminance 0.193; OKLCH L 58.0% C 0.125 H 260.8°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#4E79C4
RGBrgb(78, 121, 196)
HSLhsl(218, 50%, 54%)
HSVhsv(218, 60%, 77%)
CMYKcmyk(60.2%, 38.3%, 0%, 23.1%)
CIE-LABlab(51.01, 8.25, -43.63)
CIE-LCHlch(51.01, 44.41, 280.71°)
OKLaboklab(58.02% -0.02 -0.1238)
OKLCHoklch(58.02% 0.125 260.8)
XYZxyz(19.9396, 19.2782, 54.8841)
Luminance0.1928 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E79C4 #C4994E
analogous
#4EB4C4 #4E79C4 #5E4EC4
triadic
#4E79C4 #C44E79 #79C44E
tetradic
#4E79C4 #C44EB4 #C4994E #4EC45E
square
#4E79C4 #C44EB4 #C4994E #4EC45E
split-complementary
#4E79C4 #C45E4E #B4C44E
monochromatic
#264272 #355CA0 #4E79C4 #7C9CD3 #AABEE3

Accessibility & contrast

On white

4.32
#4E79C4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#4E79C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E79C4
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E79C4#FFFFFF#000000##000000
##4E79C41.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#597FC7
Deuteranopia (green-blind)
#4974C2
Tritanopia (blue-blind)
#008A95
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4e79c4;
/* rgb */ color: rgb(78, 121, 196);
/* oklch */ color: oklch(58.0% 0.125 260.8);
Tailwind
colors: {
  custom: {
    50: '#899fd6',
    500: '#4e79c4',
    950: '#000000',
  },
}
SCSS
$custom: #4e79c4;
$custom-light: #899fd6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e79c4",
  "rgb": {
    "r": 78,
    "g": 121,
    "b": 196
  },
  "hsl": {
    "h": 218.136,
    "s": 50,
    "l": 53.725
  },
  "oklch": {
    "l": 0.58017,
    "c": 0.12544,
    "h": 260.8
  },
  "luminance": 0.1928
}

Semantic roles & 50–950 ramp

primary
#4E79C4
secondary
#D0BE9E
accent
#A74EDA
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #4E79C4

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

Preview Lab → · Contrast checker → · Palette generator →

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