#4879CE#4879CE

#4879CE is a mid, vivid blue. Relative luminance 0.195; OKLCH L 58.3% C 0.141 H 260.7°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#4879CE
RGBrgb(72, 121, 206)
HSLhsl(218, 58%, 55%)
HSVhsv(218, 65%, 81%)
CMYKcmyk(65%, 41.3%, 0%, 19.2%)
CIE-LABlab(51.27, 10.59, -48.94)
CIE-LCHlch(51.27, 50.07, 282.21°)
OKLaboklab(58.32% -0.023 -0.1395)
OKLCHoklch(58.32% 0.141 260.7)
XYZxyz(20.6465, 19.5067, 61.0577)
Luminance0.1951 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4879CE #CE9D48
analogous
#48BCCE #4879CE #5A48CE
triadic
#4879CE #CE4879 #79CE48
tetradic
#4879CE #CE48BC #CE9D48 #48CE5A
square
#4879CE #CE48BC #CE9D48 #48CE5A
split-complementary
#4879CE #CE5A48 #BCCE48
monochromatic
#21427B #2E5CAB #4879CE #789CDB #A9C0E8

Accessibility & contrast

On white

4.28
#4879CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#4879CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4879CE
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4879CE#FFFFFF#000000##000000
##4879CE1.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5281D1
Deuteranopia (green-blind)
#3E74CC
Tritanopia (blue-blind)
#008C99
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4879ce;
/* rgb */ color: rgb(72, 121, 206);
/* oklch */ color: oklch(58.3% 0.141 260.7);
Tailwind
colors: {
  custom: {
    50: '#889fdd',
    500: '#4879ce',
    950: '#000000',
  },
}
SCSS
$custom: #4879ce;
$custom-light: #889fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#4879ce",
  "rgb": {
    "r": 72,
    "g": 121,
    "b": 206
  },
  "hsl": {
    "h": 218.06,
    "s": 57.759,
    "l": 54.51
  },
  "oklch": {
    "l": 0.58322,
    "c": 0.14136,
    "h": 260.7
  },
  "luminance": 0.19509
}

Semantic roles & 50–950 ramp

primary
#4879CE
secondary
#D5C19D
accent
#A947E1
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4879CE

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

Preview Lab → · Contrast checker → · Palette generator →

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