#4D7CD2#4D7CD2

#4D7CD2 is a mid, vivid blue. Relative luminance 0.206; OKLCH L 59.4% C 0.142 H 261.5°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#4D7CD2
RGBrgb(77, 124, 210)
HSLhsl(219, 60%, 56%)
HSVhsv(219, 63%, 82%)
CMYKcmyk(63.3%, 41%, 0%, 17.6%)
CIE-LABlab(52.56, 11.01, -49.15)
CIE-LCHlch(52.56, 50.37, 282.62°)
OKLaboklab(59.45% -0.021 -0.14)
OKLCHoklch(59.45% 0.142 261.5)
XYZxyz(21.8970, 20.6442, 63.7910)
Luminance0.2065 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7CD2 #D2A34D
analogous
#4DBFD2 #4D7CD2 #614DD2
triadic
#4D7CD2 #D24D7C #7CD24D
tetradic
#4D7CD2 #D24DBF #D2A34D #4DD261
square
#4D7CD2 #D24DBF #D2A34D #4DD261
split-complementary
#4D7CD2 #D2614D #BFD24D
monochromatic
#214483 #2E5DB4 #4D7CD2 #7EA0DE #AFC4EB

Accessibility & contrast

On white

4.09
#4D7CD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#4D7CD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D7CD2
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7CD2#FFFFFF#000000##000000
##4D7CD21.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5584D5
Deuteranopia (green-blind)
#4278D0
Tritanopia (blue-blind)
#00909D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4d7cd2;
/* rgb */ color: rgb(77, 124, 210);
/* oklch */ color: oklch(59.4% 0.142 261.5);
Tailwind
colors: {
  custom: {
    50: '#8ba1e0',
    500: '#4d7cd2',
    950: '#000000',
  },
}
SCSS
$custom: #4d7cd2;
$custom-light: #8ba1e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7cd2",
  "rgb": {
    "r": 77,
    "g": 124,
    "b": 210
  },
  "hsl": {
    "h": 218.797,
    "s": 59.641,
    "l": 56.275
  },
  "oklch": {
    "l": 0.59448,
    "c": 0.14154,
    "h": 261.5
  },
  "luminance": 0.20646
}

Semantic roles & 50–950 ramp

primary
#4D7CD2
secondary
#D9C5A2
accent
#AB45E3
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4D7CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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