#4F80C8#4F80C8

#4F80C8 is a mid, vivid blue. Relative luminance 0.213; OKLCH L 59.8% C 0.123 H 257.9°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#4F80C8
RGBrgb(79, 128, 200)
HSLhsl(216, 52%, 55%)
HSVhsv(216, 61%, 78%)
CMYKcmyk(60.5%, 36%, 0%, 21.6%)
CIE-LABlab(53.24, 5.56, -42.38)
CIE-LCHlch(53.24, 42.74, 277.47°)
OKLaboklab(59.83% -0.0257 -0.1201)
OKLCHoklch(59.83% 0.123 257.9)
XYZxyz(21.3653, 21.2688, 57.6118)
Luminance0.2127 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F80C8 #C8974F
analogous
#4FBDC8 #4F80C8 #5A4FC8
triadic
#4F80C8 #C84F80 #80C84F
tetradic
#4F80C8 #C84FBD #C8974F #4FC85A
square
#4F80C8 #C84FBD #C8974F #4FC85A
split-complementary
#4F80C8 #C85A4F #BDC84F
monochromatic
#254777 #3462A6 #4F80C8 #7EA2D7 #ACC3E5

Accessibility & contrast

On white

4.00
#4F80C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#4F80C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F80C8
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F80C8#FFFFFF#000000##000000
##4F80C81.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6185CB
Deuteranopia (green-blind)
#517AC7
Tritanopia (blue-blind)
#00909A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4f80c8;
/* rgb */ color: rgb(79, 128, 200);
/* oklch */ color: oklch(59.8% 0.123 257.9);
Tailwind
colors: {
  custom: {
    50: '#8aa4d9',
    500: '#4f80c8',
    950: '#000000',
  },
}
SCSS
$custom: #4f80c8;
$custom-light: #8aa4d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4f80c8",
  "rgb": {
    "r": 79,
    "g": 128,
    "b": 200
  },
  "hsl": {
    "h": 215.702,
    "s": 52.381,
    "l": 54.706
  },
  "oklch": {
    "l": 0.59832,
    "c": 0.1228,
    "h": 257.9
  },
  "luminance": 0.21271
}

Semantic roles & 50–950 ramp

primary
#4F80C8
secondary
#D3BEA0
accent
#A24CDC
background
#F8FAFD
surface
#F0F4FA
border
#CBCED3
text
#0D0F14
muted
#7D7F83

Preview Lab

Preview with #4F80C8

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

Preview Lab → · Contrast checker → · Palette generator →

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