#4D7ECA#4D7ECA

#4D7ECA is a mid, vivid blue. Relative luminance 0.208; OKLCH L 59.4% C 0.128 H 258.9°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#4D7ECA
RGBrgb(77, 126, 202)
HSLhsl(216, 54%, 55%)
HSVhsv(216, 62%, 79%)
CMYKcmyk(61.9%, 37.6%, 0%, 20.8%)
CIE-LABlab(52.69, 7.06, -44.40)
CIE-LCHlch(52.69, 44.96, 279.03°)
OKLaboklab(59.41% -0.0248 -0.126)
OKLCHoklch(59.41% 0.128 258.9)
XYZxyz(21.1783, 20.7618, 58.7570)
Luminance0.2076 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7ECA #CA994D
analogous
#4DBDCA #4D7ECA #5B4DCA
triadic
#4D7ECA #CA4D7E #7ECA4D
tetradic
#4D7ECA #CA4DBD #CA994D #4DCA5B
square
#4D7ECA #CA4DBD #CA994D #4DCA5B
split-complementary
#4D7ECA #CA5B4D #BDCA4D
monochromatic
#244579 #3260A8 #4D7ECA #7CA0D8 #ABC2E6

Accessibility & contrast

On white

4.08
#4D7ECA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#4D7ECA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D7ECA
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7ECA#FFFFFF#000000##000000
##4D7ECA1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D84CD
Deuteranopia (green-blind)
#4C78C8
Tritanopia (blue-blind)
#008F9A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4d7eca;
/* rgb */ color: rgb(77, 126, 202);
/* oklch */ color: oklch(59.4% 0.128 258.9);
Tailwind
colors: {
  custom: {
    50: '#8aa3da',
    500: '#4d7eca',
    950: '#000000',
  },
}
SCSS
$custom: #4d7eca;
$custom-light: #8aa3da;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7eca",
  "rgb": {
    "r": 77,
    "g": 126,
    "b": 202
  },
  "hsl": {
    "h": 216.48,
    "s": 54.113,
    "l": 54.706
  },
  "oklch": {
    "l": 0.59409,
    "c": 0.12846,
    "h": 258.9
  },
  "luminance": 0.20764
}

Semantic roles & 50–950 ramp

primary
#4D7ECA
secondary
#D4BF9F
accent
#A44ADD
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0D0F15
muted
#7D7E83

Preview Lab

Preview with #4D7ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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