#4D79E5#4D79E5

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

Color values

HEX#4D79E5
RGBrgb(77, 121, 229)
HSLhsl(223, 75%, 60%)
HSVhsv(223, 66%, 90%)
CMYKcmyk(66.4%, 47.2%, 0%, 10.2%)
CIE-LABlab(52.85, 19.43, -59.39)
CIE-LCHlch(52.85, 62.49, 288.11°)
OKLaboklab(60.03% -0.0148 -0.1701)
OKLCHoklch(60.03% 0.171 265)
XYZxyz(24.0359, 20.9073, 76.8824)
Luminance0.2091 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D79E5 #E5B94D
analogous
#4DC5E5 #4D79E5 #6D4DE5
triadic
#4D79E5 #E54D79 #79E54D
tetradic
#4D79E5 #E54DC5 #E5B94D #4DE56D
square
#4D79E5 #E54DC5 #E5B94D #4DE56D
split-complementary
#4D79E5 #E56D4D #C5E54D
monochromatic
#173FA0 #1F54D6 #4D79E5 #82A1ED #B8C9F5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D79E5#FFFFFF#000000##000000
##4D79E51.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)
#4086E9
Deuteranopia (green-blind)
#1E78E3
Tritanopia (blue-blind)
#0092A4
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4d79e5;
/* rgb */ color: rgb(77, 121, 229);
/* oklch */ color: oklch(60.0% 0.171 265.0);
Tailwind
colors: {
  custom: {
    50: '#8e9fee',
    500: '#4d79e5',
    950: '#000000',
  },
}
SCSS
$custom: #4d79e5;
$custom-light: #8e9fee;
$custom-dark: #000000;
JSON
{
  "hex": "#4d79e5",
  "rgb": {
    "r": 77,
    "g": 121,
    "b": 229
  },
  "hsl": {
    "h": 222.632,
    "s": 74.51,
    "l": 60
  },
  "oklch": {
    "l": 0.60029,
    "c": 0.17077,
    "h": 265
  },
  "luminance": 0.2091
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4D79E5

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

Preview Lab → · Contrast checker → · Palette generator →

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