#4D7CD5#4D7CD5

#4D7CD5 is a mid, vivid blue. Relative luminance 0.208; OKLCH L 59.6% C 0.146 H 262.0°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#4D7CD5
RGBrgb(77, 124, 213)
HSLhsl(219, 62%, 57%)
HSVhsv(219, 64%, 84%)
CMYKcmyk(63.8%, 41.8%, 0%, 16.5%)
CIE-LABlab(52.72, 12.04, -50.58)
CIE-LCHlch(52.72, 51.99, 283.39°)
OKLaboklab(59.63% -0.0204 -0.1442)
OKLCHoklch(59.63% 0.146 262)
XYZxyz(22.2742, 20.7951, 65.7779)
Luminance0.2080 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7CD5 #D5A64D
analogous
#4DC0D5 #4D7CD5 #624DD5
triadic
#4D7CD5 #D54D7C #7CD54D
tetradic
#4D7CD5 #D54DC0 #D5A64D #4DD562
square
#4D7CD5 #D54DC0 #D5A64D #4DD562
split-complementary
#4D7CD5 #D5624D #C0D54D
monochromatic
#204488 #2C5DB9 #4D7CD5 #7FA0E1 #B0C5EC

Accessibility & contrast

On white

4.07
#4D7CD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#4D7CD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D7CD5
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7CD5#FFFFFF#000000##000000
##4D7CD51.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5385D8
Deuteranopia (green-blind)
#3F78D3
Tritanopia (blue-blind)
#00909E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4d7cd5;
/* rgb */ color: rgb(77, 124, 213);
/* oklch */ color: oklch(59.6% 0.146 262.0);
Tailwind
colors: {
  custom: {
    50: '#8ba1e2',
    500: '#4d7cd5',
    950: '#000000',
  },
}
SCSS
$custom: #4d7cd5;
$custom-light: #8ba1e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7cd5",
  "rgb": {
    "r": 77,
    "g": 124,
    "b": 213
  },
  "hsl": {
    "h": 219.265,
    "s": 61.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.59631,
    "c": 0.14561,
    "h": 262
  },
  "luminance": 0.20797
}

Semantic roles & 50–950 ramp

primary
#4D7CD5
secondary
#DBC7A3
accent
#AD43E5
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4D7CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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