#4D7FCD#4D7FCD

#4D7FCD is a mid, vivid blue. Relative luminance 0.212; OKLCH L 59.8% C 0.131 H 259.0°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#4D7FCD
RGBrgb(77, 127, 205)
HSLhsl(217, 56%, 55%)
HSVhsv(217, 62%, 80%)
CMYKcmyk(62.4%, 38%, 0%, 19.6%)
CIE-LABlab(53.13, 7.47, -45.41)
CIE-LCHlch(53.13, 46.02, 279.34°)
OKLaboklab(59.8% -0.0251 -0.129)
OKLCHoklch(59.8% 0.131 259)
XYZxyz(21.6655, 21.1623, 60.6887)
Luminance0.2116 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7FCD #CD9B4D
analogous
#4DBFCD #4D7FCD #5B4DCD
triadic
#4D7FCD #CD4D7F #7FCD4D
tetradic
#4D7FCD #CD4DBF #CD9B4D #4DCD5B
square
#4D7FCD #CD4DBF #CD9B4D #4DCD5B
split-complementary
#4D7FCD #CD5B4D #BFCD4D
monochromatic
#23467D #3061AC #4D7FCD #7DA1DA #ADC4E8

Accessibility & contrast

On white

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

On black

5.23
#4D7FCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D7FCD
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7FCD#FFFFFF#000000##000000
##4D7FCD1.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D85D0
Deuteranopia (green-blind)
#4B79CB
Tritanopia (blue-blind)
#00919C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4d7fcd;
/* rgb */ color: rgb(77, 127, 205);
/* oklch */ color: oklch(59.8% 0.131 259.0);
Tailwind
colors: {
  custom: {
    50: '#8aa3dc',
    500: '#4d7fcd',
    950: '#000000',
  },
}
SCSS
$custom: #4d7fcd;
$custom-light: #8aa3dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7fcd",
  "rgb": {
    "r": 77,
    "g": 127,
    "b": 205
  },
  "hsl": {
    "h": 216.563,
    "s": 56.14,
    "l": 55.294
  },
  "oklch": {
    "l": 0.59801,
    "c": 0.13141,
    "h": 259
  },
  "luminance": 0.21164
}

Semantic roles & 50–950 ramp

primary
#4D7FCD
secondary
#D6C1A0
accent
#A448DF
background
#F9FAFD
surface
#F1F3FB
border
#CBCDD4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #4D7FCD

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

Preview Lab → · Contrast checker → · Palette generator →

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