#4871CC#4871CC

#4871CC is a mid, vivid blue. Relative luminance 0.175; OKLCH L 56.5% C 0.148 H 264.0°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#4871CC
RGBrgb(72, 113, 204)
HSLhsl(221, 56%, 54%)
HSVhsv(221, 65%, 80%)
CMYKcmyk(64.7%, 44.6%, 0%, 20%)
CIE-LABlab(48.94, 14.84, -51.52)
CIE-LCHlch(48.94, 53.62, 286.07°)
OKLaboklab(56.49% -0.0154 -0.1472)
OKLCHoklch(56.49% 0.148 264)
XYZxyz(19.4729, 17.5458, 59.4755)
Luminance0.1755 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4871CC #CCA348
analogous
#48B3CC #4871CC #6148CC
triadic
#4871CC #CC4871 #71CC48
tetradic
#4871CC #CC48B3 #CCA348 #48CC61
square
#4871CC #CC48B3 #CCA348 #48CC61
split-complementary
#4871CC #CC6148 #B3CC48
monochromatic
#213C78 #2F54A8 #4871CC #7896D9 #A8BBE7

Accessibility & contrast

On white

4.66
#4871CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#4871CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4871CC
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4871CC#FFFFFF#000000##FFFFFF
##4871CC1.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#457BCF
Deuteranopia (green-blind)
#2F6FCA
Tritanopia (blue-blind)
#008694
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4871cc;
/* rgb */ color: rgb(72, 113, 204);
/* oklch */ color: oklch(56.5% 0.148 264.0);
Tailwind
colors: {
  custom: {
    50: '#8899dc',
    500: '#4871cc',
    950: '#000000',
  },
}
SCSS
$custom: #4871cc;
$custom-light: #8899dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4871cc",
  "rgb": {
    "r": 72,
    "g": 113,
    "b": 204
  },
  "hsl": {
    "h": 221.364,
    "s": 56.41,
    "l": 54.118
  },
  "oklch": {
    "l": 0.56486,
    "c": 0.148,
    "h": 264
  },
  "luminance": 0.17548
}

Semantic roles & 50–950 ramp

primary
#4871CC
secondary
#D4C39C
accent
#B148E0
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #4871CC

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

Preview Lab → · Contrast checker → · Palette generator →

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