#4F80DB#4F80DB

#4F80DB is a mid, vivid blue. Relative luminance 0.222; OKLCH L 60.9% C 0.148 H 261.7°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#4F80DB
RGBrgb(79, 128, 219)
HSLhsl(219, 66%, 58%)
HSVhsv(219, 64%, 86%)
CMYKcmyk(63.9%, 41.6%, 0%, 14.1%)
CIE-LABlab(54.25, 12.01, -51.52)
CIE-LCHlch(54.25, 52.90, 283.12°)
OKLaboklab(60.94% -0.0215 -0.1469)
OKLCHoklch(60.94% 0.148 261.7)
XYZxyz(23.7253, 22.2128, 70.0413)
Luminance0.2221 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F80DB #DBAA4F
analogous
#4FC6DB #4F80DB #644FDB
triadic
#4F80DB #DB4F80 #80DB4F
tetradic
#4F80DB #DB4FC6 #DBAA4F #4FDB64
square
#4F80DB #DB4FC6 #DBAA4F #4FDB64
split-complementary
#4F80DB #DB644F #C6DB4F
monochromatic
#1E4692 #285FC5 #4F80DB #82A5E5 #B5C9F0

Accessibility & contrast

On white

3.86
#4F80DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#4F80DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F80DB
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F80DB#FFFFFF#000000##000000
##4F80DB1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5689DF
Deuteranopia (green-blind)
#417CD9
Tritanopia (blue-blind)
#0095A3
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4f80db;
/* rgb */ color: rgb(79, 128, 219);
/* oklch */ color: oklch(60.9% 0.148 261.7);
Tailwind
colors: {
  custom: {
    50: '#8da4e7',
    500: '#4f80db',
    950: '#000000',
  },
}
SCSS
$custom: #4f80db;
$custom-light: #8da4e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4f80db",
  "rgb": {
    "r": 79,
    "g": 128,
    "b": 219
  },
  "hsl": {
    "h": 219,
    "s": 66.038,
    "l": 58.431
  },
  "oklch": {
    "l": 0.60944,
    "c": 0.14842,
    "h": 261.7
  },
  "luminance": 0.22215
}

Semantic roles & 50–950 ramp

primary
#4F80DB
secondary
#DFCBA7
accent
#AD3FE9
background
#F9FAFE
surface
#F2F3FC
border
#CCCDD5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4F80DB

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

Preview Lab → · Contrast checker → · Palette generator →

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