#4D7ECC#4D7ECC

#4D7ECC is a mid, vivid blue. Relative luminance 0.209; OKLCH L 59.5% C 0.131 H 259.3°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#4D7ECC
RGBrgb(77, 126, 204)
HSLhsl(217, 55%, 55%)
HSVhsv(217, 62%, 80%)
CMYKcmyk(62.3%, 38.2%, 0%, 20%)
CIE-LABlab(52.79, 7.74, -45.37)
CIE-LCHlch(52.79, 46.03, 279.68°)
OKLaboklab(59.52% -0.0243 -0.1289)
OKLCHoklch(59.52% 0.131 259.3)
XYZxyz(21.4167, 20.8572, 60.0122)
Luminance0.2086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7ECC #CC9B4D
analogous
#4DBECC #4D7ECC #5B4DCC
triadic
#4D7ECC #CC4D7E #7ECC4D
tetradic
#4D7ECC #CC4DBE #CC9B4D #4DCC5B
square
#4D7ECC #CC4DBE #CC9B4D #4DCC5B
split-complementary
#4D7ECC #CC5B4D #BECC4D
monochromatic
#23457B #3160AB #4D7ECC #7DA0DA #ACC3E7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D7ECC#FFFFFF#000000##000000
##4D7ECC1.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)
#5C84CF
Deuteranopia (green-blind)
#4A79CA
Tritanopia (blue-blind)
#00909B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4d7ecc;
/* rgb */ color: rgb(77, 126, 204);
/* oklch */ color: oklch(59.5% 0.131 259.3);
Tailwind
colors: {
  custom: {
    50: '#8aa3dc',
    500: '#4d7ecc',
    950: '#000000',
  },
}
SCSS
$custom: #4d7ecc;
$custom-light: #8aa3dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7ecc",
  "rgb": {
    "r": 77,
    "g": 126,
    "b": 204
  },
  "hsl": {
    "h": 216.85,
    "s": 55.459,
    "l": 55.098
  },
  "oklch": {
    "l": 0.59525,
    "c": 0.13115,
    "h": 259.3
  },
  "luminance": 0.20859
}

Semantic roles & 50–950 ramp

primary
#4D7ECC
secondary
#D5C0A0
accent
#A549DF
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0F15
muted
#7E7E83

Preview Lab

Preview with #4D7ECC

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

Preview Lab → · Contrast checker → · Palette generator →

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