#4D79C2#4D79C2

#4D79C2 is a mid, vivid blue. Relative luminance 0.191; OKLCH L 57.9% C 0.123 H 260.0°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#4D79C2
RGBrgb(77, 121, 194)
HSLhsl(217, 49%, 53%)
HSVhsv(217, 60%, 76%)
CMYKcmyk(60.3%, 37.6%, 0%, 23.9%)
CIE-LABlab(50.86, 7.38, -42.73)
CIE-LCHlch(50.86, 43.37, 279.80°)
OKLaboklab(57.85% -0.0213 -0.1212)
OKLCHoklch(57.85% 0.123 260)
XYZxyz(19.6321, 19.1458, 53.6894)
Luminance0.1915 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D79C2 #C2964D
analogous
#4DB3C2 #4D79C2 #5B4DC2
triadic
#4D79C2 #C24D79 #79C24D
tetradic
#4D79C2 #C24DB3 #C2964D #4DC25B
square
#4D79C2 #C24DB3 #C2964D #4DC25B
split-complementary
#4D79C2 #C25B4D #B3C24D
monochromatic
#26416F #365C9C #4D79C2 #7B9BD2 #A8BEE1

Accessibility & contrast

On white

4.35
#4D79C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#4D79C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D79C2
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D79C2#FFFFFF#000000##000000
##4D79C21.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A7FC5
Deuteranopia (green-blind)
#4A74C0
Tritanopia (blue-blind)
#008994
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4d79c2;
/* rgb */ color: rgb(77, 121, 194);
/* oklch */ color: oklch(57.9% 0.123 260.0);
Tailwind
colors: {
  custom: {
    50: '#889fd5',
    500: '#4d79c2',
    950: '#000000',
  },
}
SCSS
$custom: #4d79c2;
$custom-light: #889fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#4d79c2",
  "rgb": {
    "r": 77,
    "g": 121,
    "b": 194
  },
  "hsl": {
    "h": 217.436,
    "s": 48.954,
    "l": 53.137
  },
  "oklch": {
    "l": 0.57851,
    "c": 0.12309,
    "h": 260
  },
  "luminance": 0.19148
}

Semantic roles & 50–950 ramp

primary
#4D79C2
secondary
#CFBC9C
accent
#A54FD9
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #4D79C2

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

Preview Lab → · Contrast checker → · Palette generator →

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