#4D79C8#4D79C8

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

Color values

HEX#4D79C8
RGBrgb(77, 121, 200)
HSLhsl(219, 53%, 54%)
HSVhsv(219, 62%, 78%)
CMYKcmyk(61.5%, 39.5%, 0%, 21.6%)
CIE-LABlab(51.18, 9.42, -45.66)
CIE-LCHlch(51.18, 46.62, 281.66°)
OKLaboklab(58.2% -0.02 -0.1298)
OKLCHoklch(58.2% 0.131 261.3)
XYZxyz(20.3196, 19.4208, 57.3102)
Luminance0.1942 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D79C8 #C89C4D
analogous
#4DB6C8 #4D79C8 #5F4DC8
triadic
#4D79C8 #C84D79 #79C84D
tetradic
#4D79C8 #C84DB6 #C89C4D #4DC85F
square
#4D79C8 #C84DB6 #C89C4D #4DC85F
split-complementary
#4D79C8 #C85F4D #B6C84D
monochromatic
#244276 #335CA5 #4D79C8 #7C9CD6 #ABBFE5

Accessibility & contrast

On white

4.30
#4D79C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D79C8#FFFFFF#000000##000000
##4D79C81.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5780CB
Deuteranopia (green-blind)
#4575C6
Tritanopia (blue-blind)
#008B97
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4d79c8;
/* rgb */ color: rgb(77, 121, 200);
/* oklch */ color: oklch(58.2% 0.131 261.3);
Tailwind
colors: {
  custom: {
    50: '#899fd9',
    500: '#4d79c8',
    950: '#000000',
  },
}
SCSS
$custom: #4d79c8;
$custom-light: #899fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d79c8",
  "rgb": {
    "r": 77,
    "g": 121,
    "b": 200
  },
  "hsl": {
    "h": 218.537,
    "s": 52.79,
    "l": 54.314
  },
  "oklch": {
    "l": 0.58202,
    "c": 0.13132,
    "h": 261.3
  },
  "luminance": 0.19423
}

Semantic roles & 50–950 ramp

primary
#4D79C8
secondary
#D2C09E
accent
#A84CDC
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0D0E14
muted
#7D7E83

Preview Lab

Preview with #4D79C8

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

Preview Lab → · Contrast checker → · Palette generator →

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