#4D80CD#4D80CD

#4D80CD is a mid, vivid blue. Relative luminance 0.214; OKLCH L 60.0% C 0.130 H 258.4°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#4D80CD
RGBrgb(77, 128, 205)
HSLhsl(216, 56%, 55%)
HSVhsv(216, 62%, 80%)
CMYKcmyk(62.4%, 37.6%, 0%, 19.6%)
CIE-LABlab(53.41, 6.87, -44.96)
CIE-LCHlch(53.41, 45.48, 278.68°)
OKLaboklab(60.02% -0.0262 -0.1277)
OKLCHoklch(60.02% 0.13 258.4)
XYZxyz(21.7953, 21.4219, 60.7320)
Luminance0.2142 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D80CD #CD9A4D
analogous
#4DC0CD #4D80CD #5A4DCD
triadic
#4D80CD #CD4D80 #80CD4D
tetradic
#4D80CD #CD4DC0 #CD9A4D #4DCD5A
square
#4D80CD #CD4DC0 #CD9A4D #4DCD5A
split-complementary
#4D80CD #CD5A4D #C0CD4D
monochromatic
#23477D #3062AC #4D80CD #7DA2DA #ADC4E8

Accessibility & contrast

On white

3.97
#4D80CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#4D80CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D80CD
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D80CD#FFFFFF#000000##000000
##4D80CD1.003.975.285.28
#FFFFFF3.971.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F86D0
Deuteranopia (green-blind)
#4D7ACB
Tritanopia (blue-blind)
#00919D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4d80cd;
/* rgb */ color: rgb(77, 128, 205);
/* oklch */ color: oklch(60.0% 0.130 258.4);
Tailwind
colors: {
  custom: {
    50: '#8aa4dc',
    500: '#4d80cd',
    950: '#000000',
  },
}
SCSS
$custom: #4d80cd;
$custom-light: #8aa4dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4d80cd",
  "rgb": {
    "r": 77,
    "g": 128,
    "b": 205
  },
  "hsl": {
    "h": 216.094,
    "s": 56.14,
    "l": 55.294
  },
  "oklch": {
    "l": 0.6002,
    "c": 0.13032,
    "h": 258.4
  },
  "luminance": 0.21424
}

Semantic roles & 50–950 ramp

primary
#4D80CD
secondary
#D6C0A0
accent
#A348DF
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #4D80CD

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

Preview Lab → · Contrast checker → · Palette generator →

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