#4D80D5#4D80D5

#4D80D5 is a mid, vivid blue. Relative luminance 0.218; OKLCH L 60.5% C 0.141 H 260.1°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#4D80D5
RGBrgb(77, 128, 213)
HSLhsl(218, 62%, 57%)
HSVhsv(218, 64%, 84%)
CMYKcmyk(63.8%, 39.9%, 0%, 16.5%)
CIE-LABlab(53.83, 9.60, -48.81)
CIE-LCHlch(53.83, 49.75, 281.13°)
OKLaboklab(60.49% -0.0244 -0.1389)
OKLCHoklch(60.49% 0.141 260.1)
XYZxyz(22.7857, 21.8181, 65.9484)
Luminance0.2182 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D80D5 #D5A24D
analogous
#4DC4D5 #4D80D5 #5E4DD5
triadic
#4D80D5 #D54D80 #80D54D
tetradic
#4D80D5 #D54DC4 #D5A24D #4DD55E
square
#4D80D5 #D54DC4 #D5A24D #4DD55E
split-complementary
#4D80D5 #D55E4D #C4D54D
monochromatic
#204788 #2C61B9 #4D80D5 #7FA3E1 #B0C7EC

Accessibility & contrast

On white

3.91
#4D80D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#4D80D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D80D5
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D80D5#FFFFFF#000000##000000
##4D80D51.003.915.365.36
#FFFFFF3.911.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A88D8
Deuteranopia (green-blind)
#467BD3
Tritanopia (blue-blind)
#0093A0
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4d80d5;
/* rgb */ color: rgb(77, 128, 213);
/* oklch */ color: oklch(60.5% 0.141 260.1);
Tailwind
colors: {
  custom: {
    50: '#8ba4e2',
    500: '#4d80d5',
    950: '#000000',
  },
}
SCSS
$custom: #4d80d5;
$custom-light: #8ba4e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4d80d5",
  "rgb": {
    "r": 77,
    "g": 128,
    "b": 213
  },
  "hsl": {
    "h": 217.5,
    "s": 61.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.60489,
    "c": 0.14107,
    "h": 260.1
  },
  "luminance": 0.2182
}

Semantic roles & 50–950 ramp

primary
#4D80D5
secondary
#DBC6A3
accent
#A843E5
background
#F9FAFD
surface
#F1F3FB
border
#CBCDD4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #4D80D5

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

Preview Lab → · Contrast checker → · Palette generator →

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