#4879D3#4879D3

#4879D3 is a mid, vivid blue. Relative luminance 0.198; OKLCH L 58.6% C 0.148 H 261.5°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#4879D3
RGBrgb(72, 121, 211)
HSLhsl(219, 61%, 55%)
HSVhsv(219, 66%, 83%)
CMYKcmyk(65.9%, 42.7%, 0%, 17.3%)
CIE-LABlab(51.56, 12.34, -51.32)
CIE-LCHlch(51.56, 52.79, 283.51°)
OKLaboklab(58.63% -0.022 -0.1465)
OKLCHoklch(58.63% 0.148 261.5)
XYZxyz(21.2636, 19.7535, 64.3076)
Luminance0.1976 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4879D3 #D3A248
analogous
#48BED3 #4879D3 #5C48D3
triadic
#4879D3 #D34879 #79D348
tetradic
#4879D3 #D348BE #D3A248 #48D35C
square
#4879D3 #D348BE #D3A248 #48D35C
split-complementary
#4879D3 #D35C48 #BED348
monochromatic
#1F4281 #2B5BB3 #4879D3 #799DDF #ABC1EB

Accessibility & contrast

On white

4.24
#4879D3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#4879D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4879D3
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4879D3#FFFFFF#000000##000000
##4879D31.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F82D6
Deuteranopia (green-blind)
#3875D1
Tritanopia (blue-blind)
#008E9C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4879d3;
/* rgb */ color: rgb(72, 121, 211);
/* oklch */ color: oklch(58.6% 0.148 261.5);
Tailwind
colors: {
  custom: {
    50: '#899fe1',
    500: '#4879d3',
    950: '#000000',
  },
}
SCSS
$custom: #4879d3;
$custom-light: #899fe1;
$custom-dark: #000000;
JSON
{
  "hex": "#4879d3",
  "rgb": {
    "r": 72,
    "g": 121,
    "b": 211
  },
  "hsl": {
    "h": 218.849,
    "s": 61.233,
    "l": 55.49
  },
  "oklch": {
    "l": 0.58632,
    "c": 0.14813,
    "h": 261.5
  },
  "luminance": 0.19756
}

Semantic roles & 50–950 ramp

primary
#4879D3
secondary
#D8C49E
accent
#AC43E4
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4879D3

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

Preview Lab → · Contrast checker → · Palette generator →

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