#4870BC#4870BC

#4870BC is a mid, vivid blue. Relative luminance 0.166; OKLCH L 55.3% C 0.127 H 262.1°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#4870BC
RGBrgb(72, 112, 188)
HSLhsl(219, 46%, 51%)
HSVhsv(219, 62%, 74%)
CMYKcmyk(61.7%, 40.4%, 0%, 26.3%)
CIE-LABlab(47.75, 9.90, -44.23)
CIE-LCHlch(47.75, 45.33, 282.62°)
OKLaboklab(55.27% -0.0175 -0.1258)
OKLCHoklch(55.27% 0.127 262.1)
XYZxyz(17.5406, 16.5953, 49.8461)
Luminance0.1660 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4870BC #BC9448
analogous
#48AABC #4870BC #5A48BC
triadic
#4870BC #BC4870 #70BC48
tetradic
#4870BC #BC48AA #BC9448 #48BC5A
square
#4870BC #BC48AA #BC9448 #48BC5A
split-complementary
#4870BC #BC5A48 #AABC48
monochromatic
#253B65 #355592 #4870BC #7593CC #A2B6DD

Accessibility & contrast

On white

4.86
#4870BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#4870BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4870BC
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4870BC#FFFFFF#000000##FFFFFF
##4870BC1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F77BF
Deuteranopia (green-blind)
#3E6CBA
Tritanopia (blue-blind)
#00818D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4870bc;
/* rgb */ color: rgb(72, 112, 188);
/* oklch */ color: oklch(55.3% 0.127 262.1);
Tailwind
colors: {
  custom: {
    50: '#8598d0',
    500: '#4870bc',
    950: '#000000',
  },
}
SCSS
$custom: #4870bc;
$custom-light: #8598d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4870bc",
  "rgb": {
    "r": 72,
    "g": 112,
    "b": 188
  },
  "hsl": {
    "h": 219.31,
    "s": 46.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.55268,
    "c": 0.12702,
    "h": 262.1
  },
  "luminance": 0.16597
}

Semantic roles & 50–950 ramp

primary
#4870BC
secondary
#CAB896
accent
#A852D6
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0D14
muted
#7D7E82

Preview Lab

Preview with #4870BC

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

Preview Lab → · Contrast checker → · Palette generator →

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