#4E79E8#4E79E8

#4E79E8 is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.3% C 0.174 H 265.5°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#4E79E8
RGBrgb(78, 121, 232)
HSLhsl(223, 77%, 61%)
HSVhsv(223, 66%, 91%)
CMYKcmyk(66.4%, 47.8%, 0%, 9%)
CIE-LABlab(53.08, 20.63, -60.70)
CIE-LCHlch(53.08, 64.11, 288.77°)
OKLaboklab(60.28% -0.0136 -0.1739)
OKLCHoklch(60.28% 0.174 265.5)
XYZxyz(24.5397, 21.1183, 79.1113)
Luminance0.2112 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E79E8 #E8BD4E
analogous
#4EC6E8 #4E79E8 #704EE8
triadic
#4E79E8 #E84E79 #79E84E
tetradic
#4E79E8 #E84EC6 #E8BD4E #4EE870
square
#4E79E8 #E84EC6 #E8BD4E #4EE870
split-complementary
#4E79E8 #E8704E #C6E84E
monochromatic
#163EA6 #1D52DC #4E79E8 #84A2EF #BACBF6

Accessibility & contrast

On white

4.02
#4E79E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#4E79E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E79E8
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E79E8#FFFFFF#000000##000000
##4E79E81.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E86EC
Deuteranopia (green-blind)
#1778E6
Tritanopia (blue-blind)
#0093A5
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4e79e8;
/* rgb */ color: rgb(78, 121, 232);
/* oklch */ color: oklch(60.3% 0.174 265.5);
Tailwind
colors: {
  custom: {
    50: '#8f9ff0',
    500: '#4e79e8',
    950: '#000000',
  },
}
SCSS
$custom: #4e79e8;
$custom-light: #8f9ff0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e79e8",
  "rgb": {
    "r": 78,
    "g": 121,
    "b": 232
  },
  "hsl": {
    "h": 223.247,
    "s": 77,
    "l": 60.784
  },
  "oklch": {
    "l": 0.60277,
    "c": 0.17447,
    "h": 265.5
  },
  "luminance": 0.21121
}

Semantic roles & 50–950 ramp

primary
#4E79E8
secondary
#E6D6AC
accent
#A00CD9
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4E79E8

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

Preview Lab → · Contrast checker → · Palette generator →

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