#4871BB#4871BB

#4871BB is a mid, vivid blue. Relative luminance 0.168; OKLCH L 55.4% C 0.124 H 261.3°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#4871BB
RGBrgb(72, 113, 187)
HSLhsl(219, 46%, 51%)
HSVhsv(219, 61%, 73%)
CMYKcmyk(61.5%, 39.6%, 0%, 26.7%)
CIE-LABlab(47.97, 8.94, -43.29)
CIE-LCHlch(47.97, 44.21, 281.66°)
OKLaboklab(55.43% -0.0187 -0.123)
OKLCHoklch(55.43% 0.124 261.3)
XYZxyz(17.5441, 16.7743, 49.3173)
Luminance0.1678 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4871BB #BB9248
analogous
#48AABB #4871BB #5848BB
triadic
#4871BB #BB4871 #71BB48
tetradic
#4871BB #BB48AA #BB9248 #48BB58
square
#4871BB #BB48AA #BB9248 #48BB58
split-complementary
#4871BB #BB5848 #AABB48
monochromatic
#253B64 #365690 #4871BB #7594CC #A1B6DC

Accessibility & contrast

On white

4.82
#4871BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#4871BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4871BB
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4871BB#FFFFFF#000000##FFFFFF
##4871BB1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5178BE
Deuteranopia (green-blind)
#416DB9
Tritanopia (blue-blind)
#00828D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4871bb;
/* rgb */ color: rgb(72, 113, 187);
/* oklch */ color: oklch(55.4% 0.124 261.3);
Tailwind
colors: {
  custom: {
    50: '#8599d0',
    500: '#4871bb',
    950: '#000000',
  },
}
SCSS
$custom: #4871bb;
$custom-light: #8599d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4871bb",
  "rgb": {
    "r": 72,
    "g": 113,
    "b": 187
  },
  "hsl": {
    "h": 218.609,
    "s": 45.817,
    "l": 50.784
  },
  "oklch": {
    "l": 0.55427,
    "c": 0.12446,
    "h": 261.3
  },
  "luminance": 0.16776
}

Semantic roles & 50–950 ramp

primary
#4871BB
secondary
#C9B796
accent
#A752D5
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0D14
muted
#7D7E82

Preview Lab

Preview with #4871BB

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

Preview Lab → · Contrast checker → · Palette generator →

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