#4E79E4#4E79E4

#4E79E4 is a mid, vivid blue. Relative luminance 0.209; OKLCH L 60.0% C 0.169 H 265.2°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#4E79E4
RGBrgb(78, 121, 228)
HSLhsl(223, 74%, 60%)
HSVhsv(223, 66%, 89%)
CMYKcmyk(65.8%, 46.9%, 0%, 10.6%)
CIE-LABlab(52.83, 19.24, -58.85)
CIE-LCHlch(52.83, 61.92, 288.10°)
OKLaboklab(60.01% -0.0141 -0.1685)
OKLCHoklch(60.01% 0.169 265.2)
XYZxyz(23.9780, 20.8936, 76.1530)
Luminance0.2090 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E79E4 #E4B94E
analogous
#4EC4E4 #4E79E4 #6E4EE4
triadic
#4E79E4 #E44E79 #79E44E
tetradic
#4E79E4 #E44EC4 #E4B94E #4EE46E
square
#4E79E4 #E44EC4 #E4B94E #4EE46E
split-complementary
#4E79E4 #E46E4E #C4E44E
monochromatic
#183F9F #2054D4 #4E79E4 #83A1EC #B8C9F4

Accessibility & contrast

On white

4.05
#4E79E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#4E79E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E79E4
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E79E4#FFFFFF#000000##000000
##4E79E41.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4285E8
Deuteranopia (green-blind)
#2278E2
Tritanopia (blue-blind)
#0092A3
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4e79e4;
/* rgb */ color: rgb(78, 121, 228);
/* oklch */ color: oklch(60.0% 0.169 265.2);
Tailwind
colors: {
  custom: {
    50: '#8e9fed',
    500: '#4e79e4',
    950: '#000000',
  },
}
SCSS
$custom: #4e79e4;
$custom-light: #8e9fed;
$custom-dark: #000000;
JSON
{
  "hex": "#4e79e4",
  "rgb": {
    "r": 78,
    "g": 121,
    "b": 228
  },
  "hsl": {
    "h": 222.8,
    "s": 73.529,
    "l": 60
  },
  "oklch": {
    "l": 0.6001,
    "c": 0.1691,
    "h": 265.2
  },
  "luminance": 0.20896
}

Semantic roles & 50–950 ramp

primary
#4E79E4
secondary
#E4D3AA
accent
#BB38F0
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #4E79E4

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

Preview Lab → · Contrast checker → · Palette generator →

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