#4871BE#4871BE

#4871BE is a mid, vivid blue. Relative luminance 0.169; OKLCH L 55.6% C 0.129 H 261.9°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#4871BE
RGBrgb(72, 113, 190)
HSLhsl(219, 48%, 51%)
HSVhsv(219, 62%, 75%)
CMYKcmyk(62.1%, 40.5%, 0%, 25.5%)
CIE-LABlab(48.14, 9.97, -44.76)
CIE-LCHlch(48.14, 45.86, 282.56°)
OKLaboklab(55.61% -0.0181 -0.1273)
OKLCHoklch(55.61% 0.129 261.9)
XYZxyz(17.8686, 16.9041, 51.0264)
Luminance0.1691 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4871BE #BE9548
analogous
#48ACBE #4871BE #5A48BE
triadic
#4871BE #BE4871 #71BE48
tetradic
#4871BE #BE48AC #BE9548 #48BE5A
square
#4871BE #BE48AC #BE9548 #48BE5A
split-complementary
#4871BE #BE5A48 #ACBE48
monochromatic
#253C67 #355694 #4871BE #7594CE #A2B7DE

Accessibility & contrast

On white

4.79
#4871BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#4871BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4871BE
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4871BE#FFFFFF#000000##FFFFFF
##4871BE1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F78C1
Deuteranopia (green-blind)
#3E6DBC
Tritanopia (blue-blind)
#00828E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4871be;
/* rgb */ color: rgb(72, 113, 190);
/* oklch */ color: oklch(55.6% 0.129 261.9);
Tailwind
colors: {
  custom: {
    50: '#8599d2',
    500: '#4871be',
    950: '#000000',
  },
}
SCSS
$custom: #4871be;
$custom-light: #8599d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4871be",
  "rgb": {
    "r": 72,
    "g": 113,
    "b": 190
  },
  "hsl": {
    "h": 219.153,
    "s": 47.581,
    "l": 51.373
  },
  "oklch": {
    "l": 0.55608,
    "c": 0.12863,
    "h": 261.9
  },
  "luminance": 0.16906
}

Semantic roles & 50–950 ramp

primary
#4871BE
secondary
#CBB997
accent
#A851D7
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0D14
muted
#7D7E82

Preview Lab

Preview with #4871BE

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

Preview Lab → · Contrast checker → · Palette generator →

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