#4D7DC5#4D7DC5

#4D7DC5 is a mid, vivid blue. Relative luminance 0.203; OKLCH L 58.9% C 0.123 H 258.3°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#4D7DC5
RGBrgb(77, 125, 197)
HSLhsl(216, 51%, 54%)
HSVhsv(216, 61%, 77%)
CMYKcmyk(60.9%, 36.5%, 0%, 22.7%)
CIE-LABlab(52.15, 5.97, -42.41)
CIE-LCHlch(52.15, 42.83, 278.01°)
OKLaboklab(58.9% -0.0249 -0.1202)
OKLCHoklch(58.9% 0.123 258.3)
XYZxyz(20.4687, 20.2744, 55.6472)
Luminance0.2028 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7DC5 #C5954D
analogous
#4DB9C5 #4D7DC5 #594DC5
triadic
#4D7DC5 #C54D7D #7DC54D
tetradic
#4D7DC5 #C54DB9 #C5954D #4DC559
square
#4D7DC5 #C54DB9 #C5954D #4DC559
split-complementary
#4D7DC5 #C5594D #B9C54D
monochromatic
#254472 #3460A0 #4D7DC5 #7B9FD4 #A9C0E3

Accessibility & contrast

On white

4.15
#4D7DC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#4D7DC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D7DC5
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7DC5#FFFFFF#000000##000000
##4D7DC51.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E83C8
Deuteranopia (green-blind)
#4E77C4
Tritanopia (blue-blind)
#008D98
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4d7dc5;
/* rgb */ color: rgb(77, 125, 197);
/* oklch */ color: oklch(58.9% 0.123 258.3);
Tailwind
colors: {
  custom: {
    50: '#89a2d7',
    500: '#4d7dc5',
    950: '#000000',
  },
}
SCSS
$custom: #4d7dc5;
$custom-light: #89a2d7;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7dc5",
  "rgb": {
    "r": 77,
    "g": 125,
    "b": 197
  },
  "hsl": {
    "h": 216,
    "s": 50.847,
    "l": 53.725
  },
  "oklch": {
    "l": 0.58903,
    "c": 0.12279,
    "h": 258.3
  },
  "luminance": 0.20276
}

Semantic roles & 50–950 ramp

primary
#4D7DC5
secondary
#D1BC9D
accent
#A24DDA
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0F14
muted
#7D7E83

Preview Lab

Preview with #4D7DC5

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

Preview Lab → · Contrast checker → · Palette generator →

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