#4879ED#4879ED

#4879ED is a mid, vivid blue. Relative luminance 0.212; OKLCH L 60.3% C 0.183 H 264.4°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#4879ED
RGBrgb(72, 121, 237)
HSLhsl(222, 82%, 61%)
HSVhsv(222, 70%, 93%)
CMYKcmyk(69.6%, 48.9%, 0%, 7.1%)
CIE-LABlab(53.13, 21.49, -63.43)
CIE-LCHlch(53.13, 66.97, 288.72°)
OKLaboklab(60.34% -0.018 -0.1821)
OKLCHoklch(60.34% 0.183 264.4)
XYZxyz(24.7905, 21.1643, 82.8830)
Luminance0.2117 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4879ED #EDBC48
analogous
#48CBED #4879ED #6948ED
triadic
#4879ED #ED4879 #79ED48
tetradic
#4879ED #ED48CB #EDBC48 #48ED69
square
#4879ED #ED48CB #EDBC48 #48ED69
split-complementary
#4879ED #ED6948 #CBED48
monochromatic
#113EAA #1653E2 #4879ED #80A2F2 #B7CBF8

Accessibility & contrast

On white

4.01
#4879ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#4879ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4879ED
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4879ED#FFFFFF#000000##000000
##4879ED1.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3787F1
Deuteranopia (green-blind)
#0078EB
Tritanopia (blue-blind)
#0094A8
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4879ed;
/* rgb */ color: rgb(72, 121, 237);
/* oklch */ color: oklch(60.3% 0.183 264.4);
Tailwind
colors: {
  custom: {
    50: '#8e9ff3',
    500: '#4879ed',
    950: '#000000',
  },
}
SCSS
$custom: #4879ed;
$custom-light: #8e9ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#4879ed",
  "rgb": {
    "r": 72,
    "g": 121,
    "b": 237
  },
  "hsl": {
    "h": 222.182,
    "s": 82.09,
    "l": 60.588
  },
  "oklch": {
    "l": 0.60343,
    "c": 0.18295,
    "h": 264.4
  },
  "luminance": 0.21167
}

Semantic roles & 50–950 ramp

primary
#4879ED
secondary
#E8D5A9
accent
#9E07DE
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4879ED

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

Preview Lab → · Contrast checker → · Palette generator →

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