#4F80E2#4F80E2

#4F80E2 is a mid, vivid blue. Relative luminance 0.226; OKLCH L 61.4% C 0.158 H 262.7°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#4F80E2
RGBrgb(79, 128, 226)
HSLhsl(220, 72%, 60%)
HSVhsv(220, 65%, 89%)
CMYKcmyk(65%, 43.4%, 0%, 11.4%)
CIE-LABlab(54.65, 14.42, -54.82)
CIE-LCHlch(54.65, 56.69, 284.73°)
OKLaboklab(61.38% -0.0202 -0.1565)
OKLCHoklch(61.38% 0.158 262.7)
XYZxyz(24.6663, 22.5892, 74.9970)
Luminance0.2259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F80E2 #E2B14F
analogous
#4FC9E2 #4F80E2 #684FE2
triadic
#4F80E2 #E24F80 #80E24F
tetradic
#4F80E2 #E24FC9 #E2B14F #4FE268
square
#4F80E2 #E24FC9 #E2B14F #4FE268
split-complementary
#4F80E2 #E2684F #C9E24F
monochromatic
#1A459D #225DD1 #4F80E2 #84A6EB #B8CCF3

Accessibility & contrast

On white

3.81
#4F80E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#4F80E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F80E2
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F80E2#FFFFFF#000000##000000
##4F80E21.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#518AE6
Deuteranopia (green-blind)
#397CE0
Tritanopia (blue-blind)
#0096A6
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #4f80e2;
/* rgb */ color: rgb(79, 128, 226);
/* oklch */ color: oklch(61.4% 0.158 262.7);
Tailwind
colors: {
  custom: {
    50: '#8ea4ec',
    500: '#4f80e2',
    950: '#000000',
  },
}
SCSS
$custom: #4f80e2;
$custom-light: #8ea4ec;
$custom-dark: #000000;
JSON
{
  "hex": "#4f80e2",
  "rgb": {
    "r": 79,
    "g": 128,
    "b": 226
  },
  "hsl": {
    "h": 220,
    "s": 71.707,
    "l": 59.804
  },
  "oklch": {
    "l": 0.61376,
    "c": 0.15785,
    "h": 262.7
  },
  "luminance": 0.22592
}

Semantic roles & 50–950 ramp

primary
#4F80E2
secondary
#E3D0AA
accent
#B239EE
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #4F80E2

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

Preview Lab → · Contrast checker → · Palette generator →

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