#4D7ED3#4D7ED3

#4D7ED3 is a mid, vivid blue. Relative luminance 0.212; OKLCH L 59.9% C 0.141 H 260.7°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#4D7ED3
RGBrgb(77, 126, 211)
HSLhsl(218, 60%, 56%)
HSVhsv(218, 64%, 83%)
CMYKcmyk(63.5%, 40.3%, 0%, 17.3%)
CIE-LABlab(53.17, 10.13, -48.74)
CIE-LCHlch(53.17, 49.78, 281.74°)
OKLaboklab(59.94% -0.0228 -0.1388)
OKLCHoklch(59.94% 0.141 260.7)
XYZxyz(22.2751, 21.2006, 64.5336)
Luminance0.2120 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7ED3 #D3A24D
analogous
#4DC1D3 #4D7ED3 #5F4DD3
triadic
#4D7ED3 #D34D7E #7ED34D
tetradic
#4D7ED3 #D34DC1 #D3A24D #4DD35F
square
#4D7ED3 #D34DC1 #D3A24D #4DD35F
split-complementary
#4D7ED3 #D35F4D #C1D34D
monochromatic
#214585 #2D5FB6 #4D7ED3 #7EA2DF #AFC5EB

Accessibility & contrast

On white

4.01
#4D7ED3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#4D7ED3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D7ED3
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7ED3#FFFFFF#000000##000000
##4D7ED31.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5886D6
Deuteranopia (green-blind)
#4479D1
Tritanopia (blue-blind)
#00919E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4d7ed3;
/* rgb */ color: rgb(77, 126, 211);
/* oklch */ color: oklch(59.9% 0.141 260.7);
Tailwind
colors: {
  custom: {
    50: '#8ba2e1',
    500: '#4d7ed3',
    950: '#000000',
  },
}
SCSS
$custom: #4d7ed3;
$custom-light: #8ba2e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7ed3",
  "rgb": {
    "r": 77,
    "g": 126,
    "b": 211
  },
  "hsl": {
    "h": 218.06,
    "s": 60.36,
    "l": 56.471
  },
  "oklch": {
    "l": 0.59938,
    "c": 0.14062,
    "h": 260.7
  },
  "luminance": 0.21203
}

Semantic roles & 50–950 ramp

primary
#4D7ED3
secondary
#D9C5A2
accent
#A944E4
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0F15
muted
#7E7E83

Preview Lab

Preview with #4D7ED3

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

Preview Lab → · Contrast checker → · Palette generator →

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