#4D7CD8#4D7CD8

#4D7CD8 is a mid, vivid blue. Relative luminance 0.210; OKLCH L 59.8% C 0.150 H 262.4°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#4D7CD8
RGBrgb(77, 124, 216)
HSLhsl(220, 64%, 57%)
HSVhsv(220, 64%, 85%)
CMYKcmyk(64.4%, 42.6%, 0%, 15.3%)
CIE-LABlab(52.89, 13.07, -52.01)
CIE-LCHlch(52.89, 53.62, 284.11°)
OKLaboklab(59.82% -0.0198 -0.1484)
OKLCHoklch(59.82% 0.15 262.4)
XYZxyz(22.6585, 20.9488, 67.8019)
Luminance0.2095 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7CD8 #D8A94D
analogous
#4DC2D8 #4D7CD8 #634DD8
triadic
#4D7CD8 #D84D7C #7CD84D
tetradic
#4D7CD8 #D84DC2 #D8A94D #4DD863
square
#4D7CD8 #D84DC2 #D8A94D #4DD863
split-complementary
#4D7CD8 #D8634D #C2D84D
monochromatic
#1F448C #2A5CBE #4D7CD8 #7FA1E3 #B1C6EE

Accessibility & contrast

On white

4.05
#4D7CD8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#4D7CD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D7CD8
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7CD8#FFFFFF#000000##000000
##4D7CD81.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5185DC
Deuteranopia (green-blind)
#3B78D6
Tritanopia (blue-blind)
#00919F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4d7cd8;
/* rgb */ color: rgb(77, 124, 216);
/* oklch */ color: oklch(59.8% 0.150 262.4);
Tailwind
colors: {
  custom: {
    50: '#8ca1e4',
    500: '#4d7cd8',
    950: '#000000',
  },
}
SCSS
$custom: #4d7cd8;
$custom-light: #8ca1e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7cd8",
  "rgb": {
    "r": 77,
    "g": 124,
    "b": 216
  },
  "hsl": {
    "h": 219.712,
    "s": 64.055,
    "l": 57.451
  },
  "oklch": {
    "l": 0.59816,
    "c": 0.14967,
    "h": 262.4
  },
  "luminance": 0.20951
}

Semantic roles & 50–950 ramp

primary
#4D7CD8
secondary
#DCC9A4
accent
#AF41E7
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4D7CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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