#4872CD#4872CD

#4872CD is a mid, vivid blue. Relative luminance 0.178; OKLCH L 56.8% C 0.148 H 263.7°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#4872CD
RGBrgb(72, 114, 205)
HSLhsl(221, 57%, 54%)
HSVhsv(221, 65%, 80%)
CMYKcmyk(64.9%, 44.4%, 0%, 19.6%)
CIE-LABlab(49.27, 14.57, -51.56)
CIE-LCHlch(49.27, 53.58, 285.78°)
OKLaboklab(56.76% -0.0162 -0.1473)
OKLCHoklch(56.76% 0.148 263.7)
XYZxyz(19.7054, 17.8183, 60.1466)
Luminance0.1782 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4872CD #CDA348
analogous
#48B4CD #4872CD #6148CD
triadic
#4872CD #CD4872 #72CD48
tetradic
#4872CD #CD48B4 #CDA348 #48CD61
square
#4872CD #CD48B4 #CDA348 #48CD61
split-complementary
#4872CD #CD6148 #B4CD48
monochromatic
#213D79 #2E55A9 #4872CD #7897DA #A8BCE7

Accessibility & contrast

On white

4.60
#4872CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#4872CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4872CD
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4872CD#FFFFFF#000000##FFFFFF
##4872CD1.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#467CD0
Deuteranopia (green-blind)
#306FCB
Tritanopia (blue-blind)
#008795
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4872cd;
/* rgb */ color: rgb(72, 114, 205);
/* oklch */ color: oklch(56.8% 0.148 263.7);
Tailwind
colors: {
  custom: {
    50: '#889add',
    500: '#4872cd',
    950: '#000000',
  },
}
SCSS
$custom: #4872cd;
$custom-light: #889add;
$custom-dark: #000000;
JSON
{
  "hex": "#4872cd",
  "rgb": {
    "r": 72,
    "g": 114,
    "b": 205
  },
  "hsl": {
    "h": 221.053,
    "s": 57.082,
    "l": 54.314
  },
  "oklch": {
    "l": 0.56762,
    "c": 0.14817,
    "h": 263.7
  },
  "luminance": 0.1782
}

Semantic roles & 50–950 ramp

primary
#4872CD
secondary
#D5C39C
accent
#B047E0
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4872CD

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

Preview Lab → · Contrast checker → · Palette generator →

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