#4F80CD#4F80CD

#4F80CD is a mid, vivid blue. Relative luminance 0.215; OKLCH L 60.1% C 0.130 H 259.1°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#4F80CD
RGBrgb(79, 128, 205)
HSLhsl(217, 56%, 56%)
HSVhsv(217, 61%, 80%)
CMYKcmyk(61.5%, 37.6%, 0%, 19.6%)
CIE-LABlab(53.50, 7.24, -44.81)
CIE-LCHlch(53.50, 45.39, 279.18°)
OKLaboklab(60.12% -0.0245 -0.1272)
OKLCHoklch(60.12% 0.13 259.1)
XYZxyz(21.9592, 21.5064, 60.7397)
Luminance0.2151 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F80CD #CD9C4F
analogous
#4FBFCD #4F80CD #5D4FCD
triadic
#4F80CD #CD4F80 #80CD4F
tetradic
#4F80CD #CD4FBF #CD9C4F #4FCD5D
square
#4F80CD #CD4FBF #CD9C4F #4FCD5D
split-complementary
#4F80CD #CD5D4F #BFCD4F
monochromatic
#24477E #3162AE #4F80CD #7FA2DB #AEC5E8

Accessibility & contrast

On white

3.96
#4F80CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#4F80CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F80CD
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F80CD#FFFFFF#000000##000000
##4F80CD1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F86D0
Deuteranopia (green-blind)
#4E7ACB
Tritanopia (blue-blind)
#00919D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4f80cd;
/* rgb */ color: rgb(79, 128, 205);
/* oklch */ color: oklch(60.1% 0.130 259.1);
Tailwind
colors: {
  custom: {
    50: '#8ba4dc',
    500: '#4f80cd',
    950: '#000000',
  },
}
SCSS
$custom: #4f80cd;
$custom-light: #8ba4dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4f80cd",
  "rgb": {
    "r": 79,
    "g": 128,
    "b": 205
  },
  "hsl": {
    "h": 216.667,
    "s": 55.752,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60116,
    "c": 0.12953,
    "h": 259.1
  },
  "luminance": 0.21508
}

Semantic roles & 50–950 ramp

primary
#4F80CD
secondary
#D6C2A2
accent
#A549DF
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #4F80CD

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

Preview Lab → · Contrast checker → · Palette generator →

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