#4F80E7#4F80E7

#4F80E7 is a mid, vivid blue. Relative luminance 0.229; OKLCH L 61.7% C 0.165 H 263.3°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#4F80E7
RGBrgb(79, 128, 231)
HSLhsl(221, 76%, 61%)
HSVhsv(221, 66%, 91%)
CMYKcmyk(65.8%, 44.6%, 0%, 9.4%)
CIE-LABlab(54.94, 16.14, -57.16)
CIE-LCHlch(54.94, 59.39, 285.77°)
OKLaboklab(61.69% -0.0193 -0.1634)
OKLCHoklch(61.69% 0.165 263.3)
XYZxyz(25.3624, 22.8677, 78.6631)
Luminance0.2287 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F80E7 #E7B64F
analogous
#4FCCE7 #4F80E7 #6A4FE7
triadic
#4F80E7 #E74F80 #80E74F
tetradic
#4F80E7 #E74FCC #E7B64F #4FE76A
square
#4F80E7 #E74FCC #E7B64F #4FE76A
split-complementary
#4F80E7 #E76A4F #CCE74F
monochromatic
#1744A5 #1E5BDB #4F80E7 #85A7EE #BBCEF6

Accessibility & contrast

On white

3.77
#4F80E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#4F80E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F80E7
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F80E7#FFFFFF#000000##000000
##4F80E71.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E8BEB
Deuteranopia (green-blind)
#327DE5
Tritanopia (blue-blind)
#0098A8
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #4f80e7;
/* rgb */ color: rgb(79, 128, 231);
/* oklch */ color: oklch(61.7% 0.165 263.3);
Tailwind
colors: {
  custom: {
    50: '#8fa4ef',
    500: '#4f80e7',
    950: '#000000',
  },
}
SCSS
$custom: #4f80e7;
$custom-light: #8fa4ef;
$custom-dark: #000000;
JSON
{
  "hex": "#4f80e7",
  "rgb": {
    "r": 79,
    "g": 128,
    "b": 231
  },
  "hsl": {
    "h": 220.658,
    "s": 76,
    "l": 60.784
  },
  "oklch": {
    "l": 0.61692,
    "c": 0.16454,
    "h": 263.3
  },
  "luminance": 0.2287
}

Semantic roles & 50–950 ramp

primary
#4F80E7
secondary
#E6D3AC
accent
#970DD8
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #4F80E7

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

Preview Lab → · Contrast checker → · Palette generator →

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