#4871CD#4871CD

#4871CD is a mid, vivid blue. Relative luminance 0.176; OKLCH L 56.5% C 0.149 H 264.1°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#4871CD
RGBrgb(72, 113, 205)
HSLhsl(222, 57%, 54%)
HSVhsv(222, 65%, 80%)
CMYKcmyk(64.9%, 44.9%, 0%, 19.6%)
CIE-LABlab(49.00, 15.19, -52.00)
CIE-LCHlch(49.00, 54.17, 286.29°)
OKLaboklab(56.55% -0.0153 -0.1486)
OKLCHoklch(56.55% 0.149 264.1)
XYZxyz(19.5932, 17.5939, 60.1092)
Luminance0.1760 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4871CD #CDA448
analogous
#48B4CD #4871CD #6248CD
triadic
#4871CD #CD4871 #71CD48
tetradic
#4871CD #CD48B4 #CDA448 #48CD62
square
#4871CD #CD48B4 #CDA448 #48CD62
split-complementary
#4871CD #CD6248 #B4CD48
monochromatic
#213C79 #2E54A9 #4871CD #7896DA #A8BCE7

Accessibility & contrast

On white

4.65
#4871CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#4871CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4871CD
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4871CD#FFFFFF#000000##FFFFFF
##4871CD1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#447BD0
Deuteranopia (green-blind)
#2D6FCB
Tritanopia (blue-blind)
#008695
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4871cd;
/* rgb */ color: rgb(72, 113, 205);
/* oklch */ color: oklch(56.5% 0.149 264.1);
Tailwind
colors: {
  custom: {
    50: '#8899dd',
    500: '#4871cd',
    950: '#000000',
  },
}
SCSS
$custom: #4871cd;
$custom-light: #8899dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4871cd",
  "rgb": {
    "r": 72,
    "g": 113,
    "b": 205
  },
  "hsl": {
    "h": 221.504,
    "s": 57.082,
    "l": 54.314
  },
  "oklch": {
    "l": 0.5655,
    "c": 0.14937,
    "h": 264.1
  },
  "luminance": 0.17596
}

Semantic roles & 50–950 ramp

primary
#4871CD
secondary
#D5C39C
accent
#B147E0
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0D0D15
muted
#7D7E83

Preview Lab

Preview with #4871CD

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

Preview Lab → · Contrast checker → · Palette generator →

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