#4D7DCD#4D7DCD

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

Color values

HEX#4D7DCD
RGBrgb(77, 125, 205)
HSLhsl(218, 56%, 55%)
HSVhsv(218, 62%, 80%)
CMYKcmyk(62.4%, 39%, 0%, 19.6%)
CIE-LABlab(52.57, 8.68, -46.30)
CIE-LCHlch(52.57, 47.11, 280.62°)
OKLaboklab(59.37% -0.023 -0.1316)
OKLCHoklch(59.37% 0.134 260.1)
XYZxyz(21.4097, 20.6508, 60.6035)
Luminance0.2065 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7DCD #CD9D4D
analogous
#4DBDCD #4D7DCD #5D4DCD
triadic
#4D7DCD #CD4D7D #7DCD4D
tetradic
#4D7DCD #CD4DBD #CD9D4D #4DCD5D
square
#4D7DCD #CD4DBD #CD9D4D #4DCD5D
split-complementary
#4D7DCD #CD5D4D #BDCD4D
monochromatic
#23457D #305FAC #4D7DCD #7DA0DA #ADC3E8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D7DCD#FFFFFF#000000##000000
##4D7DCD1.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)
#5A84D0
Deuteranopia (green-blind)
#4878CB
Tritanopia (blue-blind)
#008F9B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4d7dcd;
/* rgb */ color: rgb(77, 125, 205);
/* oklch */ color: oklch(59.4% 0.134 260.1);
Tailwind
colors: {
  custom: {
    50: '#8aa2dc',
    500: '#4d7dcd',
    950: '#000000',
  },
}
SCSS
$custom: #4d7dcd;
$custom-light: #8aa2dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7dcd",
  "rgb": {
    "r": 77,
    "g": 125,
    "b": 205
  },
  "hsl": {
    "h": 217.5,
    "s": 56.14,
    "l": 55.294
  },
  "oklch": {
    "l": 0.59366,
    "c": 0.13362,
    "h": 260.1
  },
  "luminance": 0.20653
}

Semantic roles & 50–950 ramp

primary
#4D7DCD
secondary
#D6C2A0
accent
#A748DF
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0F15
muted
#7E7E83

Preview Lab

Preview with #4D7DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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