#4879CA#4879CA

#4879CA is a mid, vivid blue. Relative luminance 0.193; OKLCH L 58.1% C 0.136 H 259.9°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#4879CA
RGBrgb(72, 121, 202)
HSLhsl(217, 55%, 54%)
HSVhsv(217, 64%, 79%)
CMYKcmyk(64.4%, 40.1%, 0%, 20.8%)
CIE-LABlab(51.05, 9.20, -47.01)
CIE-LCHlch(51.05, 47.90, 281.07°)
OKLaboklab(58.08% -0.0238 -0.1338)
OKLCHoklch(58.08% 0.136 259.9)
XYZxyz(20.1667, 19.3148, 58.5310)
Luminance0.1932 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4879CA #CA9948
analogous
#48BACA #4879CA #5848CA
triadic
#4879CA #CA4879 #79CA48
tetradic
#4879CA #CA48BA #CA9948 #48CA58
square
#4879CA #CA48BA #CA9948 #48CA58
split-complementary
#4879CA #CA5848 #BACA48
monochromatic
#224276 #305CA5 #4879CA #779CD8 #A7BEE5

Accessibility & contrast

On white

4.32
#4879CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#4879CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4879CA
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4879CA#FFFFFF#000000##000000
##4879CA1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5580CD
Deuteranopia (green-blind)
#4274C8
Tritanopia (blue-blind)
#008B98
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4879ca;
/* rgb */ color: rgb(72, 121, 202);
/* oklch */ color: oklch(58.1% 0.136 259.9);
Tailwind
colors: {
  custom: {
    50: '#879fda',
    500: '#4879ca',
    950: '#000000',
  },
}
SCSS
$custom: #4879ca;
$custom-light: #879fda;
$custom-dark: #000000;
JSON
{
  "hex": "#4879ca",
  "rgb": {
    "r": 72,
    "g": 121,
    "b": 202
  },
  "hsl": {
    "h": 217.385,
    "s": 55.085,
    "l": 53.725
  },
  "oklch": {
    "l": 0.58079,
    "c": 0.13593,
    "h": 259.9
  },
  "luminance": 0.19317
}

Semantic roles & 50–950 ramp

primary
#4879CA
secondary
#D3BE9B
accent
#A649DE
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4879CA

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

Preview Lab → · Contrast checker → · Palette generator →

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