#4F80CB#4F80CB

#4F80CB is a mid, vivid blue. Relative luminance 0.214; OKLCH L 60.0% C 0.127 H 258.7°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#4F80CB
RGBrgb(79, 128, 203)
HSLhsl(216, 54%, 55%)
HSVhsv(216, 61%, 80%)
CMYKcmyk(61.1%, 36.9%, 0%, 20.4%)
CIE-LABlab(53.40, 6.56, -43.84)
CIE-LCHlch(53.40, 44.33, 278.52°)
OKLaboklab(60% -0.025 -0.1244)
OKLCHoklch(60% 0.127 258.7)
XYZxyz(21.7193, 21.4104, 59.4764)
Luminance0.2141 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F80CB #CB9A4F
analogous
#4FBECB #4F80CB #5C4FCB
triadic
#4F80CB #CB4F80 #80CB4F
tetradic
#4F80CB #CB4FBE #CB9A4F #4FCB5C
square
#4F80CB #CB4FBE #CB9A4F #4FCB5C
split-complementary
#4F80CB #CB5C4F #BECB4F
monochromatic
#24477B #3262AA #4F80CB #7EA2D9 #ADC4E7

Accessibility & contrast

On white

3.98
#4F80CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#4F80CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F80CB
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F80CB#FFFFFF#000000##000000
##4F80CB1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6086CE
Deuteranopia (green-blind)
#4F7AC9
Tritanopia (blue-blind)
#00919C
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4f80cb;
/* rgb */ color: rgb(79, 128, 203);
/* oklch */ color: oklch(60.0% 0.127 258.7);
Tailwind
colors: {
  custom: {
    50: '#8ba4db',
    500: '#4f80cb',
    950: '#000000',
  },
}
SCSS
$custom: #4f80cb;
$custom-light: #8ba4db;
$custom-dark: #000000;
JSON
{
  "hex": "#4f80cb",
  "rgb": {
    "r": 79,
    "g": 128,
    "b": 203
  },
  "hsl": {
    "h": 216.29,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.60002,
    "c": 0.12684,
    "h": 258.7
  },
  "luminance": 0.21412
}

Semantic roles & 50–950 ramp

primary
#4F80CB
secondary
#D5C0A1
accent
#A34ADE
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #4F80CB

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

Preview Lab → · Contrast checker → · Palette generator →

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