#4D7CD6#4D7CD6

#4D7CD6 is a mid, vivid blue. Relative luminance 0.208; OKLCH L 59.7% C 0.147 H 262.1°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#4D7CD6
RGBrgb(77, 124, 214)
HSLhsl(219, 63%, 57%)
HSVhsv(219, 64%, 84%)
CMYKcmyk(64%, 42.1%, 0%, 16.1%)
CIE-LABlab(52.78, 12.38, -51.06)
CIE-LCHlch(52.78, 52.54, 283.63°)
OKLaboklab(59.69% -0.0202 -0.1456)
OKLCHoklch(59.69% 0.147 262.1)
XYZxyz(22.4016, 20.8460, 66.4484)
Luminance0.2085 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7CD6 #D6A74D
analogous
#4DC1D6 #4D7CD6 #634DD6
triadic
#4D7CD6 #D64D7C #7CD64D
tetradic
#4D7CD6 #D64DC1 #D6A74D #4DD663
square
#4D7CD6 #D64DC1 #D6A74D #4DD663
split-complementary
#4D7CD6 #D6634D #C1D64D
monochromatic
#204489 #2B5CBB #4D7CD6 #7FA1E1 #B0C5ED

Accessibility & contrast

On white

4.06
#4D7CD6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#4D7CD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D7CD6
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7CD6#FFFFFF#000000##000000
##4D7CD61.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5385D9
Deuteranopia (green-blind)
#3E78D4
Tritanopia (blue-blind)
#00919E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4d7cd6;
/* rgb */ color: rgb(77, 124, 214);
/* oklch */ color: oklch(59.7% 0.147 262.1);
Tailwind
colors: {
  custom: {
    50: '#8ca1e3',
    500: '#4d7cd6',
    950: '#000000',
  },
}
SCSS
$custom: #4d7cd6;
$custom-light: #8ca1e3;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7cd6",
  "rgb": {
    "r": 77,
    "g": 124,
    "b": 214
  },
  "hsl": {
    "h": 219.416,
    "s": 62.557,
    "l": 57.059
  },
  "oklch": {
    "l": 0.59692,
    "c": 0.14697,
    "h": 262.1
  },
  "luminance": 0.20848
}

Semantic roles & 50–950 ramp

primary
#4D7CD6
secondary
#DBC8A4
accent
#AE42E6
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4D7CD6

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

Preview Lab → · Contrast checker → · Palette generator →

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