#4879CC#4879CC

#4879CC is a mid, vivid blue. Relative luminance 0.194; OKLCH L 58.2% C 0.139 H 260.3°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#4879CC
RGBrgb(72, 121, 204)
HSLhsl(218, 56%, 54%)
HSVhsv(218, 65%, 80%)
CMYKcmyk(64.7%, 40.7%, 0%, 20%)
CIE-LABlab(51.16, 9.89, -47.97)
CIE-LCHlch(51.16, 48.98, 281.65°)
OKLaboklab(58.2% -0.0234 -0.1367)
OKLCHoklch(58.2% 0.139 260.3)
XYZxyz(20.4051, 19.4101, 59.7862)
Luminance0.1941 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4879CC #CC9B48
analogous
#48BBCC #4879CC #5948CC
triadic
#4879CC #CC4879 #79CC48
tetradic
#4879CC #CC48BB #CC9B48 #48CC59
square
#4879CC #CC48BB #CC9B48 #48CC59
split-complementary
#4879CC #CC5948 #BBCC48
monochromatic
#214278 #2F5CA8 #4879CC #789CD9 #A8BFE7

Accessibility & contrast

On white

4.30
#4879CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#4879CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4879CC
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4879CC#FFFFFF#000000##000000
##4879CC1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5380CF
Deuteranopia (green-blind)
#4074CA
Tritanopia (blue-blind)
#008C98
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4879cc;
/* rgb */ color: rgb(72, 121, 204);
/* oklch */ color: oklch(58.2% 0.139 260.3);
Tailwind
colors: {
  custom: {
    50: '#889fdc',
    500: '#4879cc',
    950: '#000000',
  },
}
SCSS
$custom: #4879cc;
$custom-light: #889fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#4879cc",
  "rgb": {
    "r": 72,
    "g": 121,
    "b": 204
  },
  "hsl": {
    "h": 217.727,
    "s": 56.41,
    "l": 54.118
  },
  "oklch": {
    "l": 0.582,
    "c": 0.13864,
    "h": 260.3
  },
  "luminance": 0.19412
}

Semantic roles & 50–950 ramp

primary
#4879CC
secondary
#D4BF9C
accent
#A748E0
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4879CC

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

Preview Lab → · Contrast checker → · Palette generator →

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