#4E80CF#4E80CF

#4E80CF is a mid, vivid blue. Relative luminance 0.216; OKLCH L 60.2% C 0.133 H 259.2°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#4E80CF
RGBrgb(78, 128, 207)
HSLhsl(217, 57%, 56%)
HSVhsv(217, 62%, 81%)
CMYKcmyk(62.3%, 38.2%, 0%, 18.8%)
CIE-LABlab(53.56, 7.73, -45.86)
CIE-LCHlch(53.56, 46.50, 279.57°)
OKLaboklab(60.18% -0.0249 -0.1303)
OKLCHoklch(60.18% 0.133 259.2)
XYZxyz(22.1196, 21.5610, 62.0154)
Luminance0.2156 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E80CF #CF9D4E
analogous
#4EC0CF #4E80CF #5C4ECF
triadic
#4E80CF #CF4E80 #80CF4E
tetradic
#4E80CF #CF4EC0 #CF9D4E #4ECF5C
square
#4E80CF #CF4EC0 #CF9D4E #4ECF5C
split-complementary
#4E80CF #CF5C4E #C0CF4E
monochromatic
#234780 #3061B0 #4E80CF #7EA3DC #AEC5E9

Accessibility & contrast

On white

3.95
#4E80CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#4E80CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E80CF
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E80CF#FFFFFF#000000##000000
##4E80CF1.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E87D2
Deuteranopia (green-blind)
#4C7ACD
Tritanopia (blue-blind)
#00929D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4e80cf;
/* rgb */ color: rgb(78, 128, 207);
/* oklch */ color: oklch(60.2% 0.133 259.2);
Tailwind
colors: {
  custom: {
    50: '#8ba4de',
    500: '#4e80cf',
    950: '#000000',
  },
}
SCSS
$custom: #4e80cf;
$custom-light: #8ba4de;
$custom-dark: #000000;
JSON
{
  "hex": "#4e80cf",
  "rgb": {
    "r": 78,
    "g": 128,
    "b": 207
  },
  "hsl": {
    "h": 216.744,
    "s": 57.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.60183,
    "c": 0.13261,
    "h": 259.2
  },
  "luminance": 0.21563
}

Semantic roles & 50–950 ramp

primary
#4E80CF
secondary
#D7C2A2
accent
#A547E1
background
#F9FAFD
surface
#F1F3FB
border
#CBCDD4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #4E80CF

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

Preview Lab → · Contrast checker → · Palette generator →

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