#4879EA#4879EA

#4879EA is a mid, vivid blue. Relative luminance 0.210; OKLCH L 60.1% C 0.179 H 264.1°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#4879EA
RGBrgb(72, 121, 234)
HSLhsl(222, 79%, 60%)
HSVhsv(222, 69%, 92%)
CMYKcmyk(69.2%, 48.3%, 0%, 8.2%)
CIE-LABlab(52.94, 20.43, -62.06)
CIE-LCHlch(52.94, 65.33, 288.22°)
OKLaboklab(60.14% -0.0183 -0.178)
OKLCHoklch(60.14% 0.179 264.1)
XYZxyz(24.3559, 20.9905, 80.5939)
Luminance0.2099 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4879EA #EAB948
analogous
#48CAEA #4879EA #6848EA
triadic
#4879EA #EA4879 #79EA48
tetradic
#4879EA #EA48CA #EAB948 #48EA68
square
#4879EA #EA48CA #EAB948 #48EA68
split-complementary
#4879EA #EA6848 #CAEA48
monochromatic
#133FA5 #1954DC #4879EA #7FA1F0 #B6C9F7

Accessibility & contrast

On white

4.04
#4879EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#4879EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4879EA
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4879EA#FFFFFF#000000##000000
##4879EA1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A86EE
Deuteranopia (green-blind)
#0377E8
Tritanopia (blue-blind)
#0094A6
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4879ea;
/* rgb */ color: rgb(72, 121, 234);
/* oklch */ color: oklch(60.1% 0.179 264.1);
Tailwind
colors: {
  custom: {
    50: '#8d9ff1',
    500: '#4879ea',
    950: '#000000',
  },
}
SCSS
$custom: #4879ea;
$custom-light: #8d9ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#4879ea",
  "rgb": {
    "r": 72,
    "g": 121,
    "b": 234
  },
  "hsl": {
    "h": 221.852,
    "s": 79.412,
    "l": 60
  },
  "oklch": {
    "l": 0.60138,
    "c": 0.17898,
    "h": 264.1
  },
  "luminance": 0.20993
}

Semantic roles & 50–950 ramp

primary
#4879EA
secondary
#E6D3A8
accent
#BB32F6
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4879EA

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

Preview Lab → · Contrast checker → · Palette generator →

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