#4872C8#4872C8

#4872C8 is a mid, vivid blue. Relative luminance 0.176; OKLCH L 56.4% C 0.141 H 263.0°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#4872C8
RGBrgb(72, 114, 200)
HSLhsl(220, 54%, 53%)
HSVhsv(220, 64%, 78%)
CMYKcmyk(64%, 43%, 0%, 21.6%)
CIE-LABlab(48.98, 12.82, -49.17)
CIE-LCHlch(48.98, 50.81, 284.62°)
OKLaboklab(56.44% -0.0171 -0.1403)
OKLCHoklch(56.44% 0.141 263)
XYZxyz(19.1115, 17.5807, 57.0186)
Luminance0.1758 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4872C8 #C89E48
analogous
#48B2C8 #4872C8 #5E48C8
triadic
#4872C8 #C84872 #72C848
tetradic
#4872C8 #C848B2 #C89E48 #48C85E
square
#4872C8 #C848B2 #C89E48 #48C85E
split-complementary
#4872C8 #C85E48 #B2C848
monochromatic
#233D73 #3156A2 #4872C8 #7796D6 #A6BBE4

Accessibility & contrast

On white

4.65
#4872C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#4872C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4872C8
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4872C8#FFFFFF#000000##FFFFFF
##4872C81.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A7BCB
Deuteranopia (green-blind)
#366FC6
Tritanopia (blue-blind)
#008693
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4872c8;
/* rgb */ color: rgb(72, 114, 200);
/* oklch */ color: oklch(56.4% 0.141 263.0);
Tailwind
colors: {
  custom: {
    50: '#879ad9',
    500: '#4872c8',
    950: '#000000',
  },
}
SCSS
$custom: #4872c8;
$custom-light: #879ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#4872c8",
  "rgb": {
    "r": 72,
    "g": 114,
    "b": 200
  },
  "hsl": {
    "h": 220.313,
    "s": 53.782,
    "l": 53.333
  },
  "oklch": {
    "l": 0.56443,
    "c": 0.14129,
    "h": 263
  },
  "luminance": 0.17582
}

Semantic roles & 50–950 ramp

primary
#4872C8
secondary
#D1BF9A
accent
#AD4BDD
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4872C8

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

Preview Lab → · Contrast checker → · Palette generator →

#4872C8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva