#4872BF#4872BF

#4872BF is a mid, vivid blue. Relative luminance 0.172; OKLCH L 55.9% C 0.129 H 261.6°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#4872BF
RGBrgb(72, 114, 191)
HSLhsl(219, 48%, 52%)
HSVhsv(219, 62%, 75%)
CMYKcmyk(62.3%, 40.3%, 0%, 25.1%)
CIE-LABlab(48.48, 9.70, -44.80)
CIE-LCHlch(48.48, 45.84, 282.21°)
OKLaboklab(55.89% -0.0189 -0.1274)
OKLCHoklch(55.89% 0.129 261.6)
XYZxyz(18.0905, 17.1723, 51.6413)
Luminance0.1717 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4872BF #BF9548
analogous
#48ADBF #4872BF #5A48BF
triadic
#4872BF #BF4872 #72BF48
tetradic
#4872BF #BF48AD #BF9548 #48BF5A
square
#4872BF #BF48AD #BF9548 #48BF5A
split-complementary
#4872BF #BF5A48 #ADBF48
monochromatic
#243C68 #345796 #4872BF #7595CF #A3B8DF

Accessibility & contrast

On white

4.74
#4872BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#4872BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4872BF
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4872BF#FFFFFF#000000##FFFFFF
##4872BF1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5079C2
Deuteranopia (green-blind)
#3F6EBD
Tritanopia (blue-blind)
#00838F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4872bf;
/* rgb */ color: rgb(72, 114, 191);
/* oklch */ color: oklch(55.9% 0.129 261.6);
Tailwind
colors: {
  custom: {
    50: '#869ad3',
    500: '#4872bf',
    950: '#000000',
  },
}
SCSS
$custom: #4872bf;
$custom-light: #869ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#4872bf",
  "rgb": {
    "r": 72,
    "g": 114,
    "b": 191
  },
  "hsl": {
    "h": 218.824,
    "s": 48.178,
    "l": 51.569
  },
  "oklch": {
    "l": 0.55887,
    "c": 0.12885,
    "h": 261.6
  },
  "luminance": 0.17174
}

Semantic roles & 50–950 ramp

primary
#4872BF
secondary
#CCB997
accent
#A850D8
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #4872BF

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

Preview Lab → · Contrast checker → · Palette generator →

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