#4D80E2#4D80E2

#4D80E2 is a mid, vivid blue. Relative luminance 0.225; OKLCH L 61.3% C 0.159 H 262.1°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#4D80E2
RGBrgb(77, 128, 226)
HSLhsl(219, 72%, 59%)
HSVhsv(219, 66%, 89%)
CMYKcmyk(65.9%, 43.4%, 0%, 11.4%)
CIE-LABlab(54.56, 14.09, -54.97)
CIE-LCHlch(54.56, 56.75, 284.38°)
OKLaboklab(61.28% -0.0218 -0.157)
OKLCHoklch(61.28% 0.159 262.1)
XYZxyz(24.5024, 22.5047, 74.9893)
Luminance0.2251 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D80E2 #E2AF4D
analogous
#4DCBE2 #4D80E2 #654DE2
triadic
#4D80E2 #E24D80 #80E24D
tetradic
#4D80E2 #E24DCB #E2AF4D #4DE265
square
#4D80E2 #E24DCB #E2AF4D #4DE265
split-complementary
#4D80E2 #E2654D #CBE24D
monochromatic
#19469B #225DD0 #4D80E2 #82A6EB #B6CBF3

Accessibility & contrast

On white

3.82
#4D80E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#4D80E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D80E2
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D80E2#FFFFFF#000000##000000
##4D80E21.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#518AE6
Deuteranopia (green-blind)
#387CE0
Tritanopia (blue-blind)
#0097A6
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4d80e2;
/* rgb */ color: rgb(77, 128, 226);
/* oklch */ color: oklch(61.3% 0.159 262.1);
Tailwind
colors: {
  custom: {
    50: '#8da4ec',
    500: '#4d80e2',
    950: '#000000',
  },
}
SCSS
$custom: #4d80e2;
$custom-light: #8da4ec;
$custom-dark: #000000;
JSON
{
  "hex": "#4d80e2",
  "rgb": {
    "r": 77,
    "g": 128,
    "b": 226
  },
  "hsl": {
    "h": 219.463,
    "s": 71.981,
    "l": 59.412
  },
  "oklch": {
    "l": 0.61284,
    "c": 0.15852,
    "h": 262.1
  },
  "luminance": 0.22507
}

Semantic roles & 50–950 ramp

primary
#4D80E2
secondary
#E2CFA8
accent
#B139EF
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4D80E2

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

Preview Lab → · Contrast checker → · Palette generator →

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