#4879DC#4879DC

#4879DC is a mid, vivid blue. Relative luminance 0.202; OKLCH L 59.2% C 0.160 H 262.7°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#4879DC
RGBrgb(72, 121, 220)
HSLhsl(220, 68%, 57%)
HSVhsv(220, 67%, 86%)
CMYKcmyk(67.3%, 45%, 0%, 13.7%)
CIE-LABlab(52.08, 15.49, -55.57)
CIE-LCHlch(52.08, 57.69, 285.58°)
OKLaboklab(59.21% -0.0204 -0.159)
OKLCHoklch(59.21% 0.16 262.7)
XYZxyz(22.4236, 20.2175, 70.4169)
Luminance0.2022 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4879DC #DCAB48
analogous
#48C3DC #4879DC #6148DC
triadic
#4879DC #DC4879 #79DC48
tetradic
#4879DC #DC48C3 #DCAB48 #48DC61
square
#4879DC #DC48C3 #DCAB48 #48DC61
split-complementary
#4879DC #DC6148 #C3DC48
monochromatic
#1B418E #2559C2 #4879DC #7B9FE6 #AFC4F0

Accessibility & contrast

On white

4.16
#4879DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#4879DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4879DC
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4879DC#FFFFFF#000000##000000
##4879DC1.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4883E0
Deuteranopia (green-blind)
#2C76DA
Tritanopia (blue-blind)
#0090A0
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4879dc;
/* rgb */ color: rgb(72, 121, 220);
/* oklch */ color: oklch(59.2% 0.160 262.7);
Tailwind
colors: {
  custom: {
    50: '#8a9fe7',
    500: '#4879dc',
    950: '#000000',
  },
}
SCSS
$custom: #4879dc;
$custom-light: #8a9fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#4879dc",
  "rgb": {
    "r": 72,
    "g": 121,
    "b": 220
  },
  "hsl": {
    "h": 220.135,
    "s": 67.89,
    "l": 57.255
  },
  "oklch": {
    "l": 0.59206,
    "c": 0.16027,
    "h": 262.7
  },
  "luminance": 0.2022
}

Semantic roles & 50–950 ramp

primary
#4879DC
secondary
#DECAA2
accent
#B13DEB
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4879DC

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

Preview Lab → · Contrast checker → · Palette generator →

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