#4871CF#4871CF

#4871CF is a mid, vivid blue. Relative luminance 0.177; OKLCH L 56.7% C 0.152 H 264.4°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#4871CF
RGBrgb(72, 113, 207)
HSLhsl(222, 58%, 55%)
HSVhsv(222, 65%, 81%)
CMYKcmyk(65.2%, 45.4%, 0%, 18.8%)
CIE-LABlab(49.12, 15.89, -52.95)
CIE-LCHlch(49.12, 55.28, 286.71°)
OKLaboklab(56.68% -0.0149 -0.1514)
OKLCHoklch(56.68% 0.152 264.4)
XYZxyz(19.8362, 17.6911, 61.3887)
Luminance0.1769 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4871CF #CFA648
analogous
#48B5CF #4871CF #6348CF
triadic
#4871CF #CF4871 #71CF48
tetradic
#4871CF #CF48B5 #CFA648 #48CF63
square
#4871CF #CF48B5 #CFA648 #48CF63
split-complementary
#4871CF #CF6348 #B5CF48
monochromatic
#213C7C #2D54AD #4871CF #7897DC #A9BCE8

Accessibility & contrast

On white

4.63
#4871CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#4871CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4871CF
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4871CF#FFFFFF#000000##FFFFFF
##4871CF1.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#437BD3
Deuteranopia (green-blind)
#2B6FCD
Tritanopia (blue-blind)
#008796
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4871cf;
/* rgb */ color: rgb(72, 113, 207);
/* oklch */ color: oklch(56.7% 0.152 264.4);
Tailwind
colors: {
  custom: {
    50: '#8899de',
    500: '#4871cf',
    950: '#000000',
  },
}
SCSS
$custom: #4871cf;
$custom-light: #8899de;
$custom-dark: #000000;
JSON
{
  "hex": "#4871cf",
  "rgb": {
    "r": 72,
    "g": 113,
    "b": 207
  },
  "hsl": {
    "h": 221.778,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.56681,
    "c": 0.15212,
    "h": 264.4
  },
  "luminance": 0.17693
}

Semantic roles & 50–950 ramp

primary
#4871CF
secondary
#D6C59D
accent
#B246E2
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0D0D15
muted
#7D7E83

Preview Lab

Preview with #4871CF

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

Preview Lab → · Contrast checker → · Palette generator →

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