#4870D6#4870D6

#4870D6 is a mid, vivid blue. Relative luminance 0.178; OKLCH L 56.9% C 0.163 H 265.4°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#4870D6
RGBrgb(72, 112, 214)
HSLhsl(223, 63%, 56%)
HSVhsv(223, 66%, 84%)
CMYKcmyk(66.4%, 47.7%, 0%, 16.1%)
CIE-LABlab(49.28, 18.98, -56.68)
CIE-LCHlch(49.28, 59.77, 288.51°)
OKLaboklab(56.94% -0.013 -0.1624)
OKLCHoklch(56.94% 0.163 265.4)
XYZxyz(20.6000, 17.8191, 65.9591)
Luminance0.1782 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4870D6 #D6AE48
analogous
#48B7D6 #4870D6 #6748D6
triadic
#4870D6 #D64870 #70D648
tetradic
#4870D6 #D648B7 #D6AE48 #48D667
square
#4870D6 #D648B7 #D6AE48 #48D667
split-complementary
#4870D6 #D66748 #B7D648
monochromatic
#1E3B86 #2951B8 #4870D6 #7A97E1 #ACBEEC

Accessibility & contrast

On white

4.60
#4870D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#4870D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4870D6
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4870D6#FFFFFF#000000##FFFFFF
##4870D61.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A7CDA
Deuteranopia (green-blind)
#196FD4
Tritanopia (blue-blind)
#008899
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4870d6;
/* rgb */ color: rgb(72, 112, 214);
/* oklch */ color: oklch(56.9% 0.163 265.4);
Tailwind
colors: {
  custom: {
    50: '#8a98e3',
    500: '#4870d6',
    950: '#000000',
  },
}
SCSS
$custom: #4870d6;
$custom-light: #8a98e3;
$custom-dark: #000000;
JSON
{
  "hex": "#4870d6",
  "rgb": {
    "r": 72,
    "g": 112,
    "b": 214
  },
  "hsl": {
    "h": 223.099,
    "s": 63.393,
    "l": 56.078
  },
  "oklch": {
    "l": 0.56938,
    "c": 0.16289,
    "h": 265.4
  },
  "luminance": 0.17821
}

Semantic roles & 50–950 ramp

primary
#4870D6
secondary
#DACAA0
accent
#B841E6
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0D15
muted
#7E7E84

Preview Lab

Preview with #4870D6

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

Preview Lab → · Contrast checker → · Palette generator →

#4870D6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva