#4F80D7#4F80D7

#4F80D7 is a mid, vivid blue. Relative luminance 0.220; OKLCH L 60.7% C 0.143 H 261.0°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#4F80D7
RGBrgb(79, 128, 215)
HSLhsl(218, 63%, 58%)
HSVhsv(218, 63%, 84%)
CMYKcmyk(63.3%, 40.5%, 0%, 15.7%)
CIE-LABlab(54.03, 10.64, -49.62)
CIE-LCHlch(54.03, 50.75, 282.10°)
OKLaboklab(60.7% -0.0223 -0.1413)
OKLCHoklch(60.7% 0.143 261)
XYZxyz(23.2050, 22.0047, 67.3013)
Luminance0.2201 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F80D7 #D7A64F
analogous
#4FC4D7 #4F80D7 #624FD7
triadic
#4F80D7 #D74F80 #80D74F
tetradic
#4F80D7 #D74FC4 #D7A64F #4FD762
square
#4F80D7 #D74FC4 #D7A64F #4FD762
split-complementary
#4F80D7 #D7624F #C4D74F
monochromatic
#20478C #2B60BE #4F80D7 #81A4E2 #B3C8EE

Accessibility & contrast

On white

3.89
#4F80D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#4F80D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F80D7
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F80D7#FFFFFF#000000##000000
##4F80D71.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5988DA
Deuteranopia (green-blind)
#457BD5
Tritanopia (blue-blind)
#0094A1
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4f80d7;
/* rgb */ color: rgb(79, 128, 215);
/* oklch */ color: oklch(60.7% 0.143 261.0);
Tailwind
colors: {
  custom: {
    50: '#8da4e4',
    500: '#4f80d7',
    950: '#000000',
  },
}
SCSS
$custom: #4f80d7;
$custom-light: #8da4e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4f80d7",
  "rgb": {
    "r": 79,
    "g": 128,
    "b": 215
  },
  "hsl": {
    "h": 218.382,
    "s": 62.963,
    "l": 57.647
  },
  "oklch": {
    "l": 0.60702,
    "c": 0.14303,
    "h": 261
  },
  "luminance": 0.22007
}

Semantic roles & 50–950 ramp

primary
#4F80D7
secondary
#DCC9A6
accent
#AB42E6
background
#F9FAFE
surface
#F1F3FC
border
#CBCDD5
text
#0D0F15
muted
#7E7F84

Preview Lab

Preview with #4F80D7

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

Preview Lab → · Contrast checker → · Palette generator →

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