#4E79D2#4E79D2

#4E79D2 is a mid, vivid blue. Relative luminance 0.199; OKLCH L 58.9% C 0.145 H 263.2°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#4E79D2
RGBrgb(78, 121, 210)
HSLhsl(220, 59%, 56%)
HSVhsv(220, 63%, 82%)
CMYKcmyk(62.9%, 42.4%, 0%, 17.6%)
CIE-LABlab(51.78, 13.02, -50.39)
CIE-LCHlch(51.78, 52.05, 284.49°)
OKLaboklab(58.86% -0.0171 -0.1436)
OKLCHoklch(58.86% 0.145 263.2)
XYZxyz(21.6081, 19.9456, 63.6714)
Luminance0.1995 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E79D2 #D2A74E
analogous
#4EBBD2 #4E79D2 #654ED2
triadic
#4E79D2 #D24E79 #79D24E
tetradic
#4E79D2 #D24EBB #D2A74E #4ED265
square
#4E79D2 #D24EBB #D2A74E #4ED265
split-complementary
#4E79D2 #D2654E #BBD24E
monochromatic
#224284 #2E5AB5 #4E79D2 #7F9EDE #B0C3EB

Accessibility & contrast

On white

4.21
#4E79D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#4E79D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E79D2
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E79D2#FFFFFF#000000##000000
##4E79D21.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5082D5
Deuteranopia (green-blind)
#3C76D0
Tritanopia (blue-blind)
#008D9B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4e79d2;
/* rgb */ color: rgb(78, 121, 210);
/* oklch */ color: oklch(58.9% 0.145 263.2);
Tailwind
colors: {
  custom: {
    50: '#8b9fe0',
    500: '#4e79d2',
    950: '#000000',
  },
}
SCSS
$custom: #4e79d2;
$custom-light: #8b9fe0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e79d2",
  "rgb": {
    "r": 78,
    "g": 121,
    "b": 210
  },
  "hsl": {
    "h": 220.455,
    "s": 59.459,
    "l": 56.471
  },
  "oklch": {
    "l": 0.58857,
    "c": 0.14466,
    "h": 263.2
  },
  "luminance": 0.19948
}

Semantic roles & 50–950 ramp

primary
#4E79D2
secondary
#D9C7A3
accent
#AF45E3
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4E79D2

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

Preview Lab → · Contrast checker → · Palette generator →

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