#4E79C5#4E79C5

#4E79C5 is a mid, vivid blue. Relative luminance 0.193; OKLCH L 58.1% C 0.127 H 261.0°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#4E79C5
RGBrgb(78, 121, 197)
HSLhsl(218, 51%, 54%)
HSVhsv(218, 60%, 77%)
CMYKcmyk(60.4%, 38.6%, 0%, 22.7%)
CIE-LABlab(51.06, 8.59, -44.12)
CIE-LCHlch(51.06, 44.95, 281.02°)
OKLaboklab(58.08% -0.0198 -0.1253)
OKLCHoklch(58.08% 0.127 261)
XYZxyz(20.0538, 19.3239, 55.4856)
Luminance0.1933 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E79C5 #C59A4E
analogous
#4EB5C5 #4E79C5 #5F4EC5
triadic
#4E79C5 #C54E79 #79C54E
tetradic
#4E79C5 #C54EB5 #C59A4E #4EC55F
square
#4E79C5 #C54EB5 #C59A4E #4EC55F
split-complementary
#4E79C5 #C55F4E #B5C54E
monochromatic
#264273 #355CA1 #4E79C5 #7C9CD4 #AABFE3

Accessibility & contrast

On white

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

On black

4.87
#4E79C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E79C5
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E79C5#FFFFFF#000000##000000
##4E79C51.004.324.874.87
#FFFFFF4.321.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5880C8
Deuteranopia (green-blind)
#4875C3
Tritanopia (blue-blind)
#008A95
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4e79c5;
/* rgb */ color: rgb(78, 121, 197);
/* oklch */ color: oklch(58.1% 0.127 261.0);
Tailwind
colors: {
  custom: {
    50: '#899fd7',
    500: '#4e79c5',
    950: '#000000',
  },
}
SCSS
$custom: #4e79c5;
$custom-light: #899fd7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e79c5",
  "rgb": {
    "r": 78,
    "g": 121,
    "b": 197
  },
  "hsl": {
    "h": 218.319,
    "s": 50.638,
    "l": 53.922
  },
  "oklch": {
    "l": 0.58076,
    "c": 0.12682,
    "h": 261
  },
  "luminance": 0.19326
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E79C5

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

Preview Lab → · Contrast checker → · Palette generator →

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