#4F80CF#4F80CF

#4F80CF is a mid, vivid blue. Relative luminance 0.216; OKLCH L 60.2% C 0.132 H 259.5°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#4F80CF
RGBrgb(79, 128, 207)
HSLhsl(217, 57%, 56%)
HSVhsv(217, 62%, 81%)
CMYKcmyk(61.8%, 38.2%, 0%, 18.8%)
CIE-LABlab(53.60, 7.92, -45.78)
CIE-LCHlch(53.60, 46.46, 279.81°)
OKLaboklab(60.23% -0.024 -0.13)
OKLCHoklch(60.23% 0.132 259.5)
XYZxyz(22.2021, 21.6036, 62.0193)
Luminance0.2161 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F80CF #CF9E4F
analogous
#4FC0CF #4F80CF #5E4FCF
triadic
#4F80CF #CF4F80 #80CF4F
tetradic
#4F80CF #CF4FC0 #CF9E4F #4FCF5E
square
#4F80CF #CF4FC0 #CF9E4F #4FCF5E
split-complementary
#4F80CF #CF5E4F #C0CF4F
monochromatic
#234781 #3061B1 #4F80CF #7FA3DC #AFC5E9

Accessibility & contrast

On white

3.95
#4F80CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#4F80CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F80CF
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F80CF#FFFFFF#000000##000000
##4F80CF1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E87D2
Deuteranopia (green-blind)
#4C7BCD
Tritanopia (blue-blind)
#00929D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4f80cf;
/* rgb */ color: rgb(79, 128, 207);
/* oklch */ color: oklch(60.2% 0.132 259.5);
Tailwind
colors: {
  custom: {
    50: '#8ba4de',
    500: '#4f80cf',
    950: '#000000',
  },
}
SCSS
$custom: #4f80cf;
$custom-light: #8ba4de;
$custom-dark: #000000;
JSON
{
  "hex": "#4f80cf",
  "rgb": {
    "r": 79,
    "g": 128,
    "b": 207
  },
  "hsl": {
    "h": 217.031,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.60231,
    "c": 0.13223,
    "h": 259.5
  },
  "luminance": 0.21606
}

Semantic roles & 50–950 ramp

primary
#4F80CF
secondary
#D7C3A2
accent
#A647E0
background
#F9FAFD
surface
#F1F3FB
border
#CBCDD4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #4F80CF

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

Preview Lab → · Contrast checker → · Palette generator →

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