#4871CE#4871CE

#4871CE is a mid, vivid blue. Relative luminance 0.176; OKLCH L 56.6% C 0.151 H 264.3°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#4871CE
RGBrgb(72, 113, 206)
HSLhsl(222, 58%, 55%)
HSVhsv(222, 65%, 81%)
CMYKcmyk(65%, 45.1%, 0%, 19.2%)
CIE-LABlab(49.06, 15.54, -52.47)
CIE-LCHlch(49.06, 54.73, 286.50°)
OKLaboklab(56.62% -0.0151 -0.15)
OKLCHoklch(56.62% 0.151 264.3)
XYZxyz(19.7143, 17.6423, 60.7469)
Luminance0.1764 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4871CE #CEA548
analogous
#48B4CE #4871CE #6248CE
triadic
#4871CE #CE4871 #71CE48
tetradic
#4871CE #CE48B4 #CEA548 #48CE62
square
#4871CE #CE48B4 #CEA548 #48CE62
split-complementary
#4871CE #CE6248 #B4CE48
monochromatic
#213C7B #2E54AB #4871CE #7896DB #A9BCE8

Accessibility & contrast

On white

4.64
#4871CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#4871CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4871CE
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4871CE#FFFFFF#000000##FFFFFF
##4871CE1.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#447BD2
Deuteranopia (green-blind)
#2C6FCC
Tritanopia (blue-blind)
#008695
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4871ce;
/* rgb */ color: rgb(72, 113, 206);
/* oklch */ color: oklch(56.6% 0.151 264.3);
Tailwind
colors: {
  custom: {
    50: '#8899dd',
    500: '#4871ce',
    950: '#000000',
  },
}
SCSS
$custom: #4871ce;
$custom-light: #8899dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4871ce",
  "rgb": {
    "r": 72,
    "g": 113,
    "b": 206
  },
  "hsl": {
    "h": 221.642,
    "s": 57.759,
    "l": 54.51
  },
  "oklch": {
    "l": 0.56615,
    "c": 0.15074,
    "h": 264.3
  },
  "luminance": 0.17644
}

Semantic roles & 50–950 ramp

primary
#4871CE
secondary
#D5C49D
accent
#B247E1
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0D0D15
muted
#7D7E83

Preview Lab

Preview with #4871CE

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

Preview Lab → · Contrast checker → · Palette generator →

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