#4D7FD2#4D7FD2

#4D7FD2 is a mid, vivid blue. Relative luminance 0.214; OKLCH L 60.1% C 0.138 H 260.0°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#4D7FD2
RGBrgb(77, 127, 210)
HSLhsl(217, 60%, 56%)
HSVhsv(217, 63%, 82%)
CMYKcmyk(63.3%, 39.5%, 0%, 17.6%)
CIE-LABlab(53.39, 9.18, -47.82)
CIE-LCHlch(53.39, 48.69, 280.87°)
OKLaboklab(60.09% -0.024 -0.136)
OKLCHoklch(60.09% 0.138 260)
XYZxyz(22.2787, 21.4076, 63.9183)
Luminance0.2141 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7FD2 #D2A04D
analogous
#4DC1D2 #4D7FD2 #5E4DD2
triadic
#4D7FD2 #D24D7F #7FD24D
tetradic
#4D7FD2 #D24DC1 #D2A04D #4DD25E
square
#4D7FD2 #D24DC1 #D2A04D #4DD25E
split-complementary
#4D7FD2 #D25E4D #C1D24D
monochromatic
#214683 #2E60B4 #4D7FD2 #7EA2DE #AFC5EB

Accessibility & contrast

On white

3.98
#4D7FD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#4D7FD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D7FD2
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7FD2#FFFFFF#000000##000000
##4D7FD21.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A86D5
Deuteranopia (green-blind)
#477AD0
Tritanopia (blue-blind)
#00929E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4d7fd2;
/* rgb */ color: rgb(77, 127, 210);
/* oklch */ color: oklch(60.1% 0.138 260.0);
Tailwind
colors: {
  custom: {
    50: '#8ba3e0',
    500: '#4d7fd2',
    950: '#000000',
  },
}
SCSS
$custom: #4d7fd2;
$custom-light: #8ba3e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7fd2",
  "rgb": {
    "r": 77,
    "g": 127,
    "b": 210
  },
  "hsl": {
    "h": 217.444,
    "s": 59.641,
    "l": 56.275
  },
  "oklch": {
    "l": 0.60094,
    "c": 0.13814,
    "h": 260
  },
  "luminance": 0.2141
}

Semantic roles & 50–950 ramp

primary
#4D7FD2
secondary
#D9C4A2
accent
#A745E3
background
#F9FAFD
surface
#F1F3FB
border
#CBCDD4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #4D7FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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