#4F80E4#4F80E4

#4F80E4 is a mid, vivid blue. Relative luminance 0.227; OKLCH L 61.5% C 0.161 H 262.9°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#4F80E4
RGBrgb(79, 128, 228)
HSLhsl(220, 73%, 60%)
HSVhsv(220, 65%, 89%)
CMYKcmyk(65.4%, 43.9%, 0%, 10.6%)
CIE-LABlab(54.76, 15.11, -55.76)
CIE-LCHlch(54.76, 57.77, 285.16°)
OKLaboklab(61.5% -0.0198 -0.1593)
OKLCHoklch(61.5% 0.161 262.9)
XYZxyz(24.9423, 22.6996, 76.4508)
Luminance0.2270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F80E4 #E4B34F
analogous
#4FCBE4 #4F80E4 #684FE4
triadic
#4F80E4 #E44F80 #80E44F
tetradic
#4F80E4 #E44FCB #E4B34F #4FE468
square
#4F80E4 #E44FCB #E4B34F #4FE468
split-complementary
#4F80E4 #E4684F #CBE44F
monochromatic
#1945A0 #215CD5 #4F80E4 #84A6EC #B9CDF4

Accessibility & contrast

On white

3.79
#4F80E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#4F80E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F80E4
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F80E4#FFFFFF#000000##000000
##4F80E41.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#508AE8
Deuteranopia (green-blind)
#377DE2
Tritanopia (blue-blind)
#0097A7
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #4f80e4;
/* rgb */ color: rgb(79, 128, 228);
/* oklch */ color: oklch(61.5% 0.161 262.9);
Tailwind
colors: {
  custom: {
    50: '#8fa4ed',
    500: '#4f80e4',
    950: '#000000',
  },
}
SCSS
$custom: #4f80e4;
$custom-light: #8fa4ed;
$custom-dark: #000000;
JSON
{
  "hex": "#4f80e4",
  "rgb": {
    "r": 79,
    "g": 128,
    "b": 228
  },
  "hsl": {
    "h": 220.268,
    "s": 73.399,
    "l": 60.196
  },
  "oklch": {
    "l": 0.61502,
    "c": 0.16053,
    "h": 262.9
  },
  "luminance": 0.22702
}

Semantic roles & 50–950 ramp

primary
#4F80E4
secondary
#E4D1AB
accent
#9510D6
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #4F80E4

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

Preview Lab → · Contrast checker → · Palette generator →

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