#4F80DC#4F80DC

#4F80DC is a mid, vivid blue. Relative luminance 0.223; OKLCH L 61.0% C 0.150 H 261.8°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#4F80DC
RGBrgb(79, 128, 220)
HSLhsl(219, 67%, 59%)
HSVhsv(219, 64%, 86%)
CMYKcmyk(64.1%, 41.8%, 0%, 13.7%)
CIE-LABlab(54.31, 12.35, -52.00)
CIE-LCHlch(54.31, 53.44, 283.36°)
OKLaboklab(61.01% -0.0213 -0.1482)
OKLCHoklch(61.01% 0.15 261.8)
XYZxyz(23.8573, 22.2657, 70.7367)
Luminance0.2227 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F80DC #DCAB4F
analogous
#4FC6DC #4F80DC #644FDC
triadic
#4F80DC #DC4F80 #80DC4F
tetradic
#4F80DC #DC4FC6 #DCAB4F #4FDC64
square
#4F80DC #DC4FC6 #DCAB4F #4FDC64
split-complementary
#4F80DC #DC644F #C6DC4F
monochromatic
#1D4693 #275FC6 #4F80DC #82A5E6 #B5CAF0

Accessibility & contrast

On white

3.85
#4F80DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#4F80DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F80DC
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F80DC#FFFFFF#000000##000000
##4F80DC1.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5689E0
Deuteranopia (green-blind)
#407CDA
Tritanopia (blue-blind)
#0095A3
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4f80dc;
/* rgb */ color: rgb(79, 128, 220);
/* oklch */ color: oklch(61.0% 0.150 261.8);
Tailwind
colors: {
  custom: {
    50: '#8da4e7',
    500: '#4f80dc',
    950: '#000000',
  },
}
SCSS
$custom: #4f80dc;
$custom-light: #8da4e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4f80dc",
  "rgb": {
    "r": 79,
    "g": 128,
    "b": 220
  },
  "hsl": {
    "h": 219.149,
    "s": 66.825,
    "l": 58.627
  },
  "oklch": {
    "l": 0.61005,
    "c": 0.14977,
    "h": 261.8
  },
  "luminance": 0.22268
}

Semantic roles & 50–950 ramp

primary
#4F80DC
secondary
#DFCCA8
accent
#AE3EEA
background
#F9FAFE
surface
#F2F3FC
border
#CCCDD5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4F80DC

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

Preview Lab → · Contrast checker → · Palette generator →

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