#4D79C5#4D79C5

#4D79C5 is a mid, vivid blue. Relative luminance 0.193; OKLCH L 58.0% C 0.127 H 260.7°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#4D79C5
RGBrgb(77, 121, 197)
HSLhsl(218, 51%, 54%)
HSVhsv(218, 61%, 77%)
CMYKcmyk(60.9%, 38.6%, 0%, 22.7%)
CIE-LABlab(51.02, 8.40, -44.20)
CIE-LCHlch(51.02, 44.99, 280.76°)
OKLaboklab(58.03% -0.0206 -0.1255)
OKLCHoklch(58.03% 0.127 260.7)
XYZxyz(19.9725, 19.2820, 55.4818)
Luminance0.1928 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D79C5 #C5994D
analogous
#4DB5C5 #4D79C5 #5D4DC5
triadic
#4D79C5 #C54D79 #79C54D
tetradic
#4D79C5 #C54DB5 #C5994D #4DC55D
square
#4D79C5 #C54DB5 #C5994D #4DC55D
split-complementary
#4D79C5 #C55D4D #B5C54D
monochromatic
#254272 #345CA0 #4D79C5 #7B9CD4 #A9BEE3

Accessibility & contrast

On white

4.32
#4D79C5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#4D79C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D79C5
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D79C5#FFFFFF#000000##000000
##4D79C51.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5880C8
Deuteranopia (green-blind)
#4874C3
Tritanopia (blue-blind)
#008A95
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4d79c5;
/* rgb */ color: rgb(77, 121, 197);
/* oklch */ color: oklch(58.0% 0.127 260.7);
Tailwind
colors: {
  custom: {
    50: '#899fd7',
    500: '#4d79c5',
    950: '#000000',
  },
}
SCSS
$custom: #4d79c5;
$custom-light: #899fd7;
$custom-dark: #000000;
JSON
{
  "hex": "#4d79c5",
  "rgb": {
    "r": 77,
    "g": 121,
    "b": 197
  },
  "hsl": {
    "h": 218,
    "s": 50.847,
    "l": 53.725
  },
  "oklch": {
    "l": 0.58025,
    "c": 0.1272,
    "h": 260.7
  },
  "luminance": 0.19284
}

Semantic roles & 50–950 ramp

primary
#4D79C5
secondary
#D1BE9D
accent
#A74DDA
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #4D79C5

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

Preview Lab → · Contrast checker → · Palette generator →

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