#4D79D5#4D79D5

#4D79D5 is a mid, vivid blue. Relative luminance 0.201; OKLCH L 59.0% C 0.149 H 263.3°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#4D79D5
RGBrgb(77, 121, 213)
HSLhsl(221, 62%, 57%)
HSVhsv(221, 64%, 84%)
CMYKcmyk(63.8%, 43.2%, 0%, 16.5%)
CIE-LABlab(51.90, 13.88, -51.90)
CIE-LCHlch(51.90, 53.72, 284.97°)
OKLaboklab(58.99% -0.0174 -0.1481)
OKLCHoklch(58.99% 0.149 263.3)
XYZxyz(21.9040, 20.0546, 65.6545)
Luminance0.2006 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D79D5 #D5A94D
analogous
#4DBDD5 #4D79D5 #654DD5
triadic
#4D79D5 #D54D79 #79D54D
tetradic
#4D79D5 #D54DBD #D5A94D #4DD565
square
#4D79D5 #D54DBD #D5A94D #4DD565
split-complementary
#4D79D5 #D5654D #BDD54D
monochromatic
#204288 #2C59B9 #4D79D5 #7F9EE1 #B0C4EC

Accessibility & contrast

On white

4.19
#4D79D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#4D79D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D79D5
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D79D5#FFFFFF#000000##000000
##4D79D51.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E82D9
Deuteranopia (green-blind)
#3876D3
Tritanopia (blue-blind)
#008E9C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4d79d5;
/* rgb */ color: rgb(77, 121, 213);
/* oklch */ color: oklch(59.0% 0.149 263.3);
Tailwind
colors: {
  custom: {
    50: '#8b9fe2',
    500: '#4d79d5',
    950: '#000000',
  },
}
SCSS
$custom: #4d79d5;
$custom-light: #8b9fe2;
$custom-dark: #000000;
JSON
{
  "hex": "#4d79d5",
  "rgb": {
    "r": 77,
    "g": 121,
    "b": 213
  },
  "hsl": {
    "h": 220.588,
    "s": 61.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.58994,
    "c": 0.14911,
    "h": 263.3
  },
  "luminance": 0.20057
}

Semantic roles & 50–950 ramp

primary
#4D79D5
secondary
#DBC9A3
accent
#B043E5
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4D79D5

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

Preview Lab → · Contrast checker → · Palette generator →

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