#4D79E6#4D79E6

#4D79E6 is a mid, vivid blue. Relative luminance 0.210; OKLCH L 60.1% C 0.172 H 265.1°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#4D79E6
RGBrgb(77, 121, 230)
HSLhsl(223, 75%, 60%)
HSVhsv(223, 67%, 90%)
CMYKcmyk(66.5%, 47.4%, 0%, 9.8%)
CIE-LABlab(52.91, 19.78, -59.85)
CIE-LCHlch(52.91, 63.04, 288.28°)
OKLaboklab(60.1% -0.0147 -0.1715)
OKLCHoklch(60.1% 0.172 265.1)
XYZxyz(24.1759, 20.9633, 77.6198)
Luminance0.2097 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D79E6 #E6BA4D
analogous
#4DC5E6 #4D79E6 #6D4DE6
triadic
#4D79E6 #E64D79 #79E64D
tetradic
#4D79E6 #E64DC5 #E6BA4D #4DE66D
square
#4D79E6 #E64DC5 #E6BA4D #4DE66D
split-complementary
#4D79E6 #E66D4D #C5E64D
monochromatic
#173FA2 #1E54D8 #4D79E6 #83A1EE #B8CAF5

Accessibility & contrast

On white

4.04
#4D79E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#4D79E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D79E6
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D79E6#FFFFFF#000000##000000
##4D79E61.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F86EA
Deuteranopia (green-blind)
#1C78E4
Tritanopia (blue-blind)
#0092A4
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4d79e6;
/* rgb */ color: rgb(77, 121, 230);
/* oklch */ color: oklch(60.1% 0.172 265.1);
Tailwind
colors: {
  custom: {
    50: '#8e9fee',
    500: '#4d79e6',
    950: '#000000',
  },
}
SCSS
$custom: #4d79e6;
$custom-light: #8e9fee;
$custom-dark: #000000;
JSON
{
  "hex": "#4d79e6",
  "rgb": {
    "r": 77,
    "g": 121,
    "b": 230
  },
  "hsl": {
    "h": 222.745,
    "s": 75.369,
    "l": 60.196
  },
  "oklch": {
    "l": 0.60095,
    "c": 0.1721,
    "h": 265.1
  },
  "luminance": 0.20966
}

Semantic roles & 50–950 ramp

primary
#4D79E6
secondary
#E5D4AA
accent
#9E0ED8
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #4D79E6

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

Preview Lab → · Contrast checker → · Palette generator →

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