#4870CC#4870CC

#4870CC is a mid, vivid blue. Relative luminance 0.173; OKLCH L 56.3% C 0.149 H 264.4°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#4870CC
RGBrgb(72, 112, 204)
HSLhsl(222, 56%, 54%)
HSVhsv(222, 65%, 80%)
CMYKcmyk(64.7%, 45.1%, 0%, 20%)
CIE-LABlab(48.67, 15.47, -51.96)
CIE-LCHlch(48.67, 54.22, 286.58°)
OKLaboklab(56.27% -0.0144 -0.1485)
OKLCHoklch(56.27% 0.149 264.4)
XYZxyz(19.3619, 17.3239, 59.4385)
Luminance0.1733 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4870CC #CCA448
analogous
#48B2CC #4870CC #6248CC
triadic
#4870CC #CC4870 #70CC48
tetradic
#4870CC #CC48B2 #CCA448 #48CC62
square
#4870CC #CC48B2 #CCA448 #48CC62
split-complementary
#4870CC #CC6248 #B2CC48
monochromatic
#213C78 #2F54A8 #4870CC #7895D9 #A8BBE7

Accessibility & contrast

On white

4.70
#4870CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#4870CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4870CC
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4870CC#FFFFFF#000000##FFFFFF
##4870CC1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#437ACF
Deuteranopia (green-blind)
#2C6ECA
Tritanopia (blue-blind)
#008594
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4870cc;
/* rgb */ color: rgb(72, 112, 204);
/* oklch */ color: oklch(56.3% 0.149 264.4);
Tailwind
colors: {
  custom: {
    50: '#8898dc',
    500: '#4870cc',
    950: '#000000',
  },
}
SCSS
$custom: #4870cc;
$custom-light: #8898dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4870cc",
  "rgb": {
    "r": 72,
    "g": 112,
    "b": 204
  },
  "hsl": {
    "h": 221.818,
    "s": 56.41,
    "l": 54.118
  },
  "oklch": {
    "l": 0.56274,
    "c": 0.14919,
    "h": 264.4
  },
  "luminance": 0.17326
}

Semantic roles & 50–950 ramp

primary
#4870CC
secondary
#D4C39C
accent
#B248E0
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #4870CC

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

Preview Lab → · Contrast checker → · Palette generator →

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