#4D7DD5#4D7DD5

#4D7DD5 is a mid, vivid blue. Relative luminance 0.210; OKLCH L 59.8% C 0.144 H 261.5°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#4D7DD5
RGBrgb(77, 125, 213)
HSLhsl(219, 62%, 57%)
HSVhsv(219, 64%, 84%)
CMYKcmyk(63.8%, 41.3%, 0%, 16.5%)
CIE-LABlab(53.00, 11.43, -50.14)
CIE-LCHlch(53.00, 51.43, 282.84°)
OKLaboklab(59.85% -0.0214 -0.1429)
OKLCHoklch(59.85% 0.144 261.5)
XYZxyz(22.4002, 21.0470, 65.8199)
Luminance0.2105 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7DD5 #D5A54D
analogous
#4DC1D5 #4D7DD5 #614DD5
triadic
#4D7DD5 #D54D7D #7DD54D
tetradic
#4D7DD5 #D54DC1 #D5A54D #4DD561
square
#4D7DD5 #D54DC1 #D5A54D #4DD561
split-complementary
#4D7DD5 #D5614D #C1D54D
monochromatic
#204588 #2C5EB9 #4D7DD5 #7FA1E1 #B0C5EC

Accessibility & contrast

On white

4.03
#4D7DD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#4D7DD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D7DD5
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7DD5#FFFFFF#000000##000000
##4D7DD51.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5585D8
Deuteranopia (green-blind)
#4179D3
Tritanopia (blue-blind)
#00919F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4d7dd5;
/* rgb */ color: rgb(77, 125, 213);
/* oklch */ color: oklch(59.8% 0.144 261.5);
Tailwind
colors: {
  custom: {
    50: '#8ba2e2',
    500: '#4d7dd5',
    950: '#000000',
  },
}
SCSS
$custom: #4d7dd5;
$custom-light: #8ba2e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7dd5",
  "rgb": {
    "r": 77,
    "g": 125,
    "b": 213
  },
  "hsl": {
    "h": 218.824,
    "s": 61.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.59845,
    "c": 0.14446,
    "h": 261.5
  },
  "luminance": 0.21049
}

Semantic roles & 50–950 ramp

primary
#4D7DD5
secondary
#DBC7A3
accent
#AC43E5
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0F15
muted
#7E7E83

Preview Lab

Preview with #4D7DD5

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

Preview Lab → · Contrast checker → · Palette generator →

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