#4879EB#4879EB

#4879EB is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.2% C 0.180 H 264.2°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#4879EB
RGBrgb(72, 121, 235)
HSLhsl(222, 80%, 60%)
HSVhsv(222, 69%, 92%)
CMYKcmyk(69.4%, 48.5%, 0%, 7.8%)
CIE-LABlab(53.00, 20.79, -62.51)
CIE-LCHlch(53.00, 65.88, 288.39°)
OKLaboklab(60.21% -0.0182 -0.1794)
OKLCHoklch(60.21% 0.18 264.2)
XYZxyz(24.5000, 21.0481, 81.3527)
Luminance0.2105 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4879EB #EBBA48
analogous
#48CBEB #4879EB #6848EB
triadic
#4879EB #EB4879 #79EB48
tetradic
#4879EB #EB48CB #EBBA48 #48EB68
square
#4879EB #EB48CB #EBBA48 #48EB68
split-complementary
#4879EB #EB6848 #CBEB48
monochromatic
#123FA6 #1854DE #4879EB #7FA1F1 #B6CAF7

Accessibility & contrast

On white

4.03
#4879EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#4879EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4879EB
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4879EB#FFFFFF#000000##000000
##4879EB1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3986EF
Deuteranopia (green-blind)
#0077E9
Tritanopia (blue-blind)
#0094A7
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4879eb;
/* rgb */ color: rgb(72, 121, 235);
/* oklch */ color: oklch(60.2% 0.180 264.2);
Tailwind
colors: {
  custom: {
    50: '#8d9ff2',
    500: '#4879eb',
    950: '#000000',
  },
}
SCSS
$custom: #4879eb;
$custom-light: #8d9ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#4879eb",
  "rgb": {
    "r": 72,
    "g": 121,
    "b": 235
  },
  "hsl": {
    "h": 221.963,
    "s": 80.296,
    "l": 60.196
  },
  "oklch": {
    "l": 0.60206,
    "c": 0.18031,
    "h": 264.2
  },
  "luminance": 0.21051
}

Semantic roles & 50–950 ramp

primary
#4879EB
secondary
#E7D4A8
accent
#9D09DD
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4879EB

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

Preview Lab → · Contrast checker → · Palette generator →

#4879EB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva