#4872CC#4872CC

#4872CC is a mid, vivid blue. Relative luminance 0.178; OKLCH L 56.7% C 0.147 H 263.6°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#4872CC
RGBrgb(72, 114, 204)
HSLhsl(221, 56%, 54%)
HSVhsv(221, 65%, 80%)
CMYKcmyk(64.7%, 44.1%, 0%, 20%)
CIE-LABlab(49.22, 14.22, -51.08)
CIE-LCHlch(49.22, 53.02, 285.56°)
OKLaboklab(56.7% -0.0164 -0.1459)
OKLCHoklch(56.7% 0.147 263.6)
XYZxyz(19.5851, 17.7701, 59.5129)
Luminance0.1777 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4872CC #CCA248
analogous
#48B4CC #4872CC #6048CC
triadic
#4872CC #CC4872 #72CC48
tetradic
#4872CC #CC48B4 #CCA248 #48CC60
square
#4872CC #CC48B4 #CCA248 #48CC60
split-complementary
#4872CC #CC6048 #B4CC48
monochromatic
#213D78 #2F55A8 #4872CC #7897D9 #A8BCE7

Accessibility & contrast

On white

4.61
#4872CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#4872CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4872CC
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4872CC#FFFFFF#000000##FFFFFF
##4872CC1.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#477BCF
Deuteranopia (green-blind)
#316FCA
Tritanopia (blue-blind)
#008795
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4872cc;
/* rgb */ color: rgb(72, 114, 204);
/* oklch */ color: oklch(56.7% 0.147 263.6);
Tailwind
colors: {
  custom: {
    50: '#889adc',
    500: '#4872cc',
    950: '#000000',
  },
}
SCSS
$custom: #4872cc;
$custom-light: #889adc;
$custom-dark: #000000;
JSON
{
  "hex": "#4872cc",
  "rgb": {
    "r": 72,
    "g": 114,
    "b": 204
  },
  "hsl": {
    "h": 220.909,
    "s": 56.41,
    "l": 54.118
  },
  "oklch": {
    "l": 0.56697,
    "c": 0.1468,
    "h": 263.6
  },
  "luminance": 0.17772
}

Semantic roles & 50–950 ramp

primary
#4872CC
secondary
#D4C29C
accent
#AF48E0
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4872CC

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

Preview Lab → · Contrast checker → · Palette generator →

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