#4871BD#4871BD

#4871BD is a mid, vivid blue. Relative luminance 0.169; OKLCH L 55.5% C 0.127 H 261.7°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#4871BD
RGBrgb(72, 113, 189)
HSLhsl(219, 47%, 51%)
HSVhsv(219, 62%, 74%)
CMYKcmyk(61.9%, 40.2%, 0%, 25.9%)
CIE-LABlab(48.08, 9.63, -44.28)
CIE-LCHlch(48.08, 45.31, 282.26°)
OKLaboklab(55.55% -0.0183 -0.1259)
OKLCHoklch(55.55% 0.127 261.7)
XYZxyz(17.7597, 16.8605, 50.4527)
Luminance0.1686 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4871BD #BD9448
analogous
#48ABBD #4871BD #5948BD
triadic
#4871BD #BD4871 #71BD48
tetradic
#4871BD #BD48AB #BD9448 #48BD59
square
#4871BD #BD48AB #BD9448 #48BD59
split-complementary
#4871BD #BD5948 #ABBD48
monochromatic
#253C66 #355693 #4871BD #7594CD #A2B7DD

Accessibility & contrast

On white

4.80
#4871BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#4871BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4871BD
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4871BD#FFFFFF#000000##FFFFFF
##4871BD1.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5078C0
Deuteranopia (green-blind)
#3F6DBB
Tritanopia (blue-blind)
#00828E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4871bd;
/* rgb */ color: rgb(72, 113, 189);
/* oklch */ color: oklch(55.5% 0.127 261.7);
Tailwind
colors: {
  custom: {
    50: '#8599d1',
    500: '#4871bd',
    950: '#000000',
  },
}
SCSS
$custom: #4871bd;
$custom-light: #8599d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4871bd",
  "rgb": {
    "r": 72,
    "g": 113,
    "b": 189
  },
  "hsl": {
    "h": 218.974,
    "s": 46.988,
    "l": 51.176
  },
  "oklch": {
    "l": 0.55547,
    "c": 0.12724,
    "h": 261.7
  },
  "luminance": 0.16862
}

Semantic roles & 50–950 ramp

primary
#4871BD
secondary
#CAB897
accent
#A851D7
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0D14
muted
#7D7E82

Preview Lab

Preview with #4871BD

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

Preview Lab → · Contrast checker → · Palette generator →

#4871BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva