#4872BC#4872BC

#4872BC is a mid, vivid blue. Relative luminance 0.170; OKLCH L 55.7% C 0.125 H 261.0°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#4872BC
RGBrgb(72, 114, 188)
HSLhsl(218, 46%, 51%)
HSVhsv(218, 62%, 74%)
CMYKcmyk(61.7%, 39.4%, 0%, 26.3%)
CIE-LABlab(48.31, 8.66, -43.33)
CIE-LCHlch(48.31, 44.19, 281.30°)
OKLaboklab(55.71% -0.0196 -0.1231)
OKLCHoklch(55.71% 0.125 261)
XYZxyz(17.7637, 17.0416, 49.9204)
Luminance0.1704 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4872BC #BC9248
analogous
#48ACBC #4872BC #5848BC
triadic
#4872BC #BC4872 #72BC48
tetradic
#4872BC #BC48AC #BC9248 #48BC58
square
#4872BC #BC48AC #BC9248 #48BC58
split-complementary
#4872BC #BC5848 #ACBC48
monochromatic
#253C65 #355792 #4872BC #7595CC #A2B7DD

Accessibility & contrast

On white

4.76
#4872BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#4872BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4872BC
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4872BC#FFFFFF#000000##FFFFFF
##4872BC1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5279BF
Deuteranopia (green-blind)
#426EBA
Tritanopia (blue-blind)
#00838E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4872bc;
/* rgb */ color: rgb(72, 114, 188);
/* oklch */ color: oklch(55.7% 0.125 261.0);
Tailwind
colors: {
  custom: {
    50: '#859ad0',
    500: '#4872bc',
    950: '#000000',
  },
}
SCSS
$custom: #4872bc;
$custom-light: #859ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#4872bc",
  "rgb": {
    "r": 72,
    "g": 114,
    "b": 188
  },
  "hsl": {
    "h": 218.276,
    "s": 46.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.55707,
    "c": 0.1247,
    "h": 261
  },
  "luminance": 0.17043
}

Semantic roles & 50–950 ramp

primary
#4872BC
secondary
#CAB796
accent
#A652D6
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #4872BC

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

Preview Lab → · Contrast checker → · Palette generator →

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