#4871CB#4871CB

#4871CB is a mid, vivid blue. Relative luminance 0.175; OKLCH L 56.4% C 0.147 H 263.9°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#4871CB
RGBrgb(72, 113, 203)
HSLhsl(221, 56%, 54%)
HSVhsv(221, 65%, 80%)
CMYKcmyk(64.5%, 44.3%, 0%, 20.4%)
CIE-LABlab(48.88, 14.49, -51.05)
CIE-LCHlch(48.88, 53.06, 285.85°)
OKLaboklab(56.42% -0.0156 -0.1458)
OKLCHoklch(56.42% 0.147 263.9)
XYZxyz(19.3533, 17.4980, 58.8459)
Luminance0.1750 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4871CB #CBA248
analogous
#48B3CB #4871CB #6148CB
triadic
#4871CB #CB4871 #71CB48
tetradic
#4871CB #CB48B3 #CBA248 #48CB61
square
#4871CB #CB48B3 #CBA248 #48CB61
split-complementary
#4871CB #CB6148 #B3CB48
monochromatic
#223C77 #2F55A6 #4871CB #7896D9 #A7BBE6

Accessibility & contrast

On white

4.67
#4871CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#4871CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4871CB
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4871CB#FFFFFF#000000##FFFFFF
##4871CB1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#467BCE
Deuteranopia (green-blind)
#306FC9
Tritanopia (blue-blind)
#008694
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4871cb;
/* rgb */ color: rgb(72, 113, 203);
/* oklch */ color: oklch(56.4% 0.147 263.9);
Tailwind
colors: {
  custom: {
    50: '#8899db',
    500: '#4871cb',
    950: '#000000',
  },
}
SCSS
$custom: #4871cb;
$custom-light: #8899db;
$custom-dark: #000000;
JSON
{
  "hex": "#4871cb",
  "rgb": {
    "r": 72,
    "g": 113,
    "b": 203
  },
  "hsl": {
    "h": 221.221,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.56421,
    "c": 0.14662,
    "h": 263.9
  },
  "luminance": 0.175
}

Semantic roles & 50–950 ramp

primary
#4871CB
secondary
#D3C29B
accent
#B049DF
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #4871CB

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

Preview Lab → · Contrast checker → · Palette generator →

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