#4D7ECF#4D7ECF

#4D7ECF is a mid, vivid blue. Relative luminance 0.210; OKLCH L 59.7% C 0.135 H 259.9°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#4D7ECF
RGBrgb(77, 126, 207)
HSLhsl(217, 58%, 56%)
HSVhsv(217, 63%, 81%)
CMYKcmyk(62.8%, 39.1%, 0%, 18.8%)
CIE-LABlab(52.95, 8.76, -46.82)
CIE-LCHlch(52.95, 47.63, 280.60°)
OKLaboklab(59.7% -0.0236 -0.1331)
OKLCHoklch(59.7% 0.135 259.9)
XYZxyz(21.7799, 21.0025, 61.9255)
Luminance0.2100 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7ECF #CF9E4D
analogous
#4DBFCF #4D7ECF #5D4DCF
triadic
#4D7ECF #CF4D7E #7ECF4D
tetradic
#4D7ECF #CF4DBF #CF9E4D #4DCF5D
square
#4D7ECF #CF4DBF #CF9E4D #4DCF5D
split-complementary
#4D7ECF #CF5D4D #BFCF4D
monochromatic
#22457F #2F60AF #4D7ECF #7DA1DC #ADC4E9

Accessibility & contrast

On white

4.04
#4D7ECF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#4D7ECF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D7ECF
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7ECF#FFFFFF#000000##000000
##4D7ECF1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A85D2
Deuteranopia (green-blind)
#4879CD
Tritanopia (blue-blind)
#00909C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4d7ecf;
/* rgb */ color: rgb(77, 126, 207);
/* oklch */ color: oklch(59.7% 0.135 259.9);
Tailwind
colors: {
  custom: {
    50: '#8aa2de',
    500: '#4d7ecf',
    950: '#000000',
  },
}
SCSS
$custom: #4d7ecf;
$custom-light: #8aa2de;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7ecf",
  "rgb": {
    "r": 77,
    "g": 126,
    "b": 207
  },
  "hsl": {
    "h": 217.385,
    "s": 57.522,
    "l": 55.686
  },
  "oklch": {
    "l": 0.59701,
    "c": 0.13521,
    "h": 259.9
  },
  "luminance": 0.21004
}

Semantic roles & 50–950 ramp

primary
#4D7ECF
secondary
#D7C3A1
accent
#A747E1
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0F15
muted
#7E7E83

Preview Lab

Preview with #4D7ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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