#4D79EC#4D79EC

#4D79EC is a mid, vivid blue. Relative luminance 0.213; OKLCH L 60.5% C 0.180 H 265.6°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#4D79EC
RGBrgb(77, 121, 236)
HSLhsl(223, 81%, 61%)
HSVhsv(223, 67%, 93%)
CMYKcmyk(67.4%, 48.7%, 0%, 7.5%)
CIE-LABlab(53.28, 21.87, -62.61)
CIE-LCHlch(53.28, 66.32, 289.25°)
OKLaboklab(60.5% -0.0139 -0.1796)
OKLCHoklch(60.5% 0.18 265.6)
XYZxyz(25.0330, 21.3062, 82.1339)
Luminance0.2131 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D79EC #ECC04D
analogous
#4DC9EC #4D79EC #714DEC
triadic
#4D79EC #EC4D79 #79EC4D
tetradic
#4D79EC #EC4DC9 #ECC04D #4DEC71
square
#4D79EC #EC4DC9 #ECC04D #4DEC71
split-complementary
#4D79EC #EC714D #C9EC4D
monochromatic
#123DAC #1851E4 #4D79EC #84A3F2 #BCCCF8

Accessibility & contrast

On white

3.99
#4D79EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#4D79EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D79EC
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D79EC#FFFFFF#000000##000000
##4D79EC1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3987F0
Deuteranopia (green-blind)
#0278EA
Tritanopia (blue-blind)
#0094A7
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4d79ec;
/* rgb */ color: rgb(77, 121, 236);
/* oklch */ color: oklch(60.5% 0.180 265.6);
Tailwind
colors: {
  custom: {
    50: '#8f9ff3',
    500: '#4d79ec',
    950: '#000000',
  },
}
SCSS
$custom: #4d79ec;
$custom-light: #8f9ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#4d79ec",
  "rgb": {
    "r": 77,
    "g": 121,
    "b": 236
  },
  "hsl": {
    "h": 223.396,
    "s": 80.711,
    "l": 61.373
  },
  "oklch": {
    "l": 0.605,
    "c": 0.18012,
    "h": 265.6
  },
  "luminance": 0.21309
}

Semantic roles & 50–950 ramp

primary
#4D79EC
secondary
#E8D8AD
accent
#A208DD
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4D79EC

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

Preview Lab → · Contrast checker → · Palette generator →

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