#4871C8#4871C8

#4871C8 is a mid, vivid blue. Relative luminance 0.174; OKLCH L 56.2% C 0.142 H 263.5°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#4871C8
RGBrgb(72, 113, 200)
HSLhsl(221, 54%, 53%)
HSVhsv(221, 64%, 78%)
CMYKcmyk(64%, 43.5%, 0%, 21.6%)
CIE-LABlab(48.71, 13.45, -49.61)
CIE-LCHlch(48.71, 51.40, 285.16°)
OKLaboklab(56.23% -0.0161 -0.1416)
OKLCHoklch(56.23% 0.142 263.5)
XYZxyz(18.9993, 17.3563, 56.9812)
Luminance0.1736 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4871C8 #C89F48
analogous
#48B1C8 #4871C8 #5F48C8
triadic
#4871C8 #C84871 #71C848
tetradic
#4871C8 #C848B1 #C89F48 #48C85F
square
#4871C8 #C848B1 #C89F48 #48C85F
split-complementary
#4871C8 #C85F48 #B1C848
monochromatic
#233C73 #3155A2 #4871C8 #7796D6 #A6BAE4

Accessibility & contrast

On white

4.70
#4871C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#4871C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4871C8
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4871C8#FFFFFF#000000##FFFFFF
##4871C81.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#487ACB
Deuteranopia (green-blind)
#346EC6
Tritanopia (blue-blind)
#008593
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4871c8;
/* rgb */ color: rgb(72, 113, 200);
/* oklch */ color: oklch(56.2% 0.142 263.5);
Tailwind
colors: {
  custom: {
    50: '#8799d9',
    500: '#4871c8',
    950: '#000000',
  },
}
SCSS
$custom: #4871c8;
$custom-light: #8799d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4871c8",
  "rgb": {
    "r": 72,
    "g": 113,
    "b": 200
  },
  "hsl": {
    "h": 220.781,
    "s": 53.782,
    "l": 53.333
  },
  "oklch": {
    "l": 0.56229,
    "c": 0.14248,
    "h": 263.5
  },
  "luminance": 0.17358
}

Semantic roles & 50–950 ramp

primary
#4871C8
secondary
#D1C09A
accent
#AE4BDD
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #4871C8

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

Preview Lab → · Contrast checker → · Palette generator →

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