#4871BC#4871BC

#4871BC is a mid, vivid blue. Relative luminance 0.168; OKLCH L 55.5% C 0.126 H 261.5°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#4871BC
RGBrgb(72, 113, 188)
HSLhsl(219, 46%, 51%)
HSVhsv(219, 62%, 74%)
CMYKcmyk(61.7%, 39.9%, 0%, 26.3%)
CIE-LABlab(48.03, 9.28, -43.79)
CIE-LCHlch(48.03, 44.76, 281.97°)
OKLaboklab(55.49% -0.0185 -0.1245)
OKLCHoklch(55.49% 0.126 261.5)
XYZxyz(17.6515, 16.8172, 49.8830)
Luminance0.1682 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4871BC #BC9348
analogous
#48ABBC #4871BC #5948BC
triadic
#4871BC #BC4871 #71BC48
tetradic
#4871BC #BC48AB #BC9348 #48BC59
square
#4871BC #BC48AB #BC9348 #48BC59
split-complementary
#4871BC #BC5948 #ABBC48
monochromatic
#253B65 #355692 #4871BC #7594CC #A2B7DD

Accessibility & contrast

On white

4.81
#4871BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#4871BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4871BC
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4871BC#FFFFFF#000000##FFFFFF
##4871BC1.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5078BF
Deuteranopia (green-blind)
#406DBA
Tritanopia (blue-blind)
#00828D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4871bc;
/* rgb */ color: rgb(72, 113, 188);
/* oklch */ color: oklch(55.5% 0.126 261.5);
Tailwind
colors: {
  custom: {
    50: '#8599d0',
    500: '#4871bc',
    950: '#000000',
  },
}
SCSS
$custom: #4871bc;
$custom-light: #8599d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4871bc",
  "rgb": {
    "r": 72,
    "g": 113,
    "b": 188
  },
  "hsl": {
    "h": 218.793,
    "s": 46.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.55487,
    "c": 0.12585,
    "h": 261.5
  },
  "luminance": 0.16819
}

Semantic roles & 50–950 ramp

primary
#4871BC
secondary
#CAB796
accent
#A752D6
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0D14
muted
#7D7E82

Preview Lab

Preview with #4871BC

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

Preview Lab → · Contrast checker → · Palette generator →

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