#4E79C8#4E79C8

#4E79C8 is a mid, vivid blue. Relative luminance 0.195; OKLCH L 58.3% C 0.131 H 261.6°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#4E79C8
RGBrgb(78, 121, 200)
HSLhsl(219, 53%, 55%)
HSVhsv(219, 61%, 78%)
CMYKcmyk(61%, 39.5%, 0%, 21.6%)
CIE-LABlab(51.22, 9.61, -45.58)
CIE-LCHlch(51.22, 46.58, 281.90°)
OKLaboklab(58.25% -0.0191 -0.1295)
OKLCHoklch(58.25% 0.131 261.6)
XYZxyz(20.4009, 19.4628, 57.3140)
Luminance0.1946 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E79C8 #C89D4E
analogous
#4EB6C8 #4E79C8 #604EC8
triadic
#4E79C8 #C84E79 #79C84E
tetradic
#4E79C8 #C84EB6 #C89D4E #4EC860
square
#4E79C8 #C84EB6 #C89D4E #4EC860
split-complementary
#4E79C8 #C8604E #B6C84E
monochromatic
#254277 #335CA5 #4E79C8 #7D9CD7 #ABC0E5

Accessibility & contrast

On white

4.29
#4E79C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#4E79C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E79C8
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E79C8#FFFFFF#000000##000000
##4E79C81.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5780CB
Deuteranopia (green-blind)
#4675C6
Tritanopia (blue-blind)
#008B97
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4e79c8;
/* rgb */ color: rgb(78, 121, 200);
/* oklch */ color: oklch(58.3% 0.131 261.6);
Tailwind
colors: {
  custom: {
    50: '#8a9fd9',
    500: '#4e79c8',
    950: '#000000',
  },
}
SCSS
$custom: #4e79c8;
$custom-light: #8a9fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e79c8",
  "rgb": {
    "r": 78,
    "g": 121,
    "b": 200
  },
  "hsl": {
    "h": 218.852,
    "s": 52.586,
    "l": 54.51
  },
  "oklch": {
    "l": 0.58252,
    "c": 0.13094,
    "h": 261.6
  },
  "luminance": 0.19465
}

Semantic roles & 50–950 ramp

primary
#4E79C8
secondary
#D3C19F
accent
#A94CDC
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0D0E14
muted
#7D7E83

Preview Lab

Preview with #4E79C8

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

Preview Lab → · Contrast checker → · Palette generator →

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