#4D79C7#4D79C7

#4D79C7 is a mid, vivid blue. Relative luminance 0.194; OKLCH L 58.1% C 0.130 H 261.1°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#4D79C7
RGBrgb(77, 121, 199)
HSLhsl(218, 52%, 54%)
HSVhsv(218, 61%, 78%)
CMYKcmyk(61.3%, 39.2%, 0%, 22%)
CIE-LABlab(51.12, 9.08, -45.17)
CIE-LCHlch(51.12, 46.08, 281.36°)
OKLaboklab(58.14% -0.0202 -0.1284)
OKLCHoklch(58.14% 0.13 261.1)
XYZxyz(20.2031, 19.3742, 56.6967)
Luminance0.1938 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D79C7 #C79B4D
analogous
#4DB6C7 #4D79C7 #5E4DC7
triadic
#4D79C7 #C74D79 #79C74D
tetradic
#4D79C7 #C74DB6 #C79B4D #4DC75E
square
#4D79C7 #C74DB6 #C79B4D #4DC75E
split-complementary
#4D79C7 #C75E4D #B6C74D
monochromatic
#254275 #335CA3 #4D79C7 #7C9CD6 #AABFE4

Accessibility & contrast

On white

4.31
#4D79C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#4D79C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D79C7
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D79C7#FFFFFF#000000##000000
##4D79C71.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5780CA
Deuteranopia (green-blind)
#4675C5
Tritanopia (blue-blind)
#008B96
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4d79c7;
/* rgb */ color: rgb(77, 121, 199);
/* oklch */ color: oklch(58.1% 0.130 261.1);
Tailwind
colors: {
  custom: {
    50: '#899fd8',
    500: '#4d79c7',
    950: '#000000',
  },
}
SCSS
$custom: #4d79c7;
$custom-light: #899fd8;
$custom-dark: #000000;
JSON
{
  "hex": "#4d79c7",
  "rgb": {
    "r": 77,
    "g": 121,
    "b": 199
  },
  "hsl": {
    "h": 218.361,
    "s": 52.137,
    "l": 54.118
  },
  "oklch": {
    "l": 0.58142,
    "c": 0.12995,
    "h": 261.1
  },
  "luminance": 0.19376
}

Semantic roles & 50–950 ramp

primary
#4D79C7
secondary
#D2BF9E
accent
#A84CDC
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #4D79C7

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

Preview Lab → · Contrast checker → · Palette generator →

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