#4E79D4#4E79D4

#4E79D4 is a mid, vivid blue. Relative luminance 0.200; OKLCH L 59.0% C 0.147 H 263.5°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#4E79D4
RGBrgb(78, 121, 212)
HSLhsl(221, 61%, 57%)
HSVhsv(221, 63%, 83%)
CMYKcmyk(63.2%, 42.9%, 0%, 16.9%)
CIE-LABlab(51.89, 13.71, -51.35)
CIE-LCHlch(51.89, 53.14, 284.95°)
OKLaboklab(58.98% -0.0167 -0.1464)
OKLCHoklch(58.98% 0.147 263.5)
XYZxyz(21.8588, 20.0459, 64.9919)
Luminance0.2005 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E79D4 #D4A94E
analogous
#4EBCD4 #4E79D4 #664ED4
triadic
#4E79D4 #D44E79 #79D44E
tetradic
#4E79D4 #D44EBC #D4A94E #4ED466
square
#4E79D4 #D44EBC #D4A94E #4ED466
split-complementary
#4E79D4 #D4664E #BCD44E
monochromatic
#214287 #2D59B8 #4E79D4 #7F9EE0 #B0C4EC

Accessibility & contrast

On white

4.19
#4E79D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#4E79D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E79D4
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E79D4#FFFFFF#000000##000000
##4E79D41.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F82D8
Deuteranopia (green-blind)
#3A76D2
Tritanopia (blue-blind)
#008E9C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4e79d4;
/* rgb */ color: rgb(78, 121, 212);
/* oklch */ color: oklch(59.0% 0.147 263.5);
Tailwind
colors: {
  custom: {
    50: '#8c9fe2',
    500: '#4e79d4',
    950: '#000000',
  },
}
SCSS
$custom: #4e79d4;
$custom-light: #8c9fe2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e79d4",
  "rgb": {
    "r": 78,
    "g": 121,
    "b": 212
  },
  "hsl": {
    "h": 220.746,
    "s": 60.909,
    "l": 56.863
  },
  "oklch": {
    "l": 0.58981,
    "c": 0.1474,
    "h": 263.5
  },
  "luminance": 0.20048
}

Semantic roles & 50–950 ramp

primary
#4E79D4
secondary
#DAC9A4
accent
#B144E4
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4E79D4

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

Preview Lab → · Contrast checker → · Palette generator →

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