#4E79D1#4E79D1

#4E79D1 is a mid, vivid blue. Relative luminance 0.199; OKLCH L 58.8% C 0.143 H 263.1°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#4E79D1
RGBrgb(78, 121, 209)
HSLhsl(220, 59%, 56%)
HSVhsv(220, 63%, 82%)
CMYKcmyk(62.7%, 42.1%, 0%, 18%)
CIE-LABlab(51.72, 12.68, -49.91)
CIE-LCHlch(51.72, 51.50, 284.26°)
OKLaboklab(58.79% -0.0173 -0.1422)
OKLCHoklch(58.79% 0.143 263.1)
XYZxyz(21.4839, 19.8959, 63.0174)
Luminance0.1990 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E79D1 #D1A64E
analogous
#4EBBD1 #4E79D1 #654ED1
triadic
#4E79D1 #D14E79 #79D14E
tetradic
#4E79D1 #D14EBB #D1A64E #4ED165
square
#4E79D1 #D14EBB #D1A64E #4ED165
split-complementary
#4E79D1 #D1654E #BBD14E
monochromatic
#224283 #2F5AB3 #4E79D1 #7F9EDE #AFC3EA

Accessibility & contrast

On white

4.22
#4E79D1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#4E79D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E79D1
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E79D1#FFFFFF#000000##000000
##4E79D11.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5182D4
Deuteranopia (green-blind)
#3D76CF
Tritanopia (blue-blind)
#008D9B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4e79d1;
/* rgb */ color: rgb(78, 121, 209);
/* oklch */ color: oklch(58.8% 0.143 263.1);
Tailwind
colors: {
  custom: {
    50: '#8b9fdf',
    500: '#4e79d1',
    950: '#000000',
  },
}
SCSS
$custom: #4e79d1;
$custom-light: #8b9fdf;
$custom-dark: #000000;
JSON
{
  "hex": "#4e79d1",
  "rgb": {
    "r": 78,
    "g": 121,
    "b": 209
  },
  "hsl": {
    "h": 220.305,
    "s": 58.744,
    "l": 56.275
  },
  "oklch": {
    "l": 0.58795,
    "c": 0.14329,
    "h": 263.1
  },
  "luminance": 0.19898
}

Semantic roles & 50–950 ramp

primary
#4E79D1
secondary
#D8C7A2
accent
#AF46E2
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4E79D1

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

Preview Lab → · Contrast checker → · Palette generator →

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