#4E79C6#4E79C6

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

Color values

HEX#4E79C6
RGBrgb(78, 121, 198)
HSLhsl(219, 51%, 54%)
HSVhsv(219, 61%, 78%)
CMYKcmyk(60.6%, 38.9%, 0%, 22.4%)
CIE-LABlab(51.12, 8.93, -44.61)
CIE-LCHlch(51.12, 45.49, 281.32°)
OKLaboklab(58.13% -0.0195 -0.1267)
OKLCHoklch(58.13% 0.128 261.2)
XYZxyz(20.1687, 19.3699, 56.0910)
Luminance0.1937 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E79C6 #C69B4E
analogous
#4EB5C6 #4E79C6 #5F4EC6
triadic
#4E79C6 #C64E79 #79C64E
tetradic
#4E79C6 #C64EB5 #C69B4E #4EC65F
square
#4E79C6 #C64EB5 #C69B4E #4EC65F
split-complementary
#4E79C6 #C65F4E #B5C64E
monochromatic
#254274 #345CA2 #4E79C6 #7C9CD5 #ABBFE4

Accessibility & contrast

On white

4.31
#4E79C6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E79C6#FFFFFF#000000##000000
##4E79C61.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5880C9
Deuteranopia (green-blind)
#4775C4
Tritanopia (blue-blind)
#008A96
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4e79c6;
/* rgb */ color: rgb(78, 121, 198);
/* oklch */ color: oklch(58.1% 0.128 261.2);
Tailwind
colors: {
  custom: {
    50: '#8a9fd8',
    500: '#4e79c6',
    950: '#000000',
  },
}
SCSS
$custom: #4e79c6;
$custom-light: #8a9fd8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e79c6",
  "rgb": {
    "r": 78,
    "g": 121,
    "b": 198
  },
  "hsl": {
    "h": 218.5,
    "s": 51.282,
    "l": 54.118
  },
  "oklch": {
    "l": 0.58134,
    "c": 0.12819,
    "h": 261.2
  },
  "luminance": 0.19372
}

Semantic roles & 50–950 ramp

primary
#4E79C6
secondary
#D1BF9E
accent
#A84DDB
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #4E79C6

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

Preview Lab → · Contrast checker → · Palette generator →

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