#4870CD#4870CD

#4870CD is a mid, vivid blue. Relative luminance 0.174; OKLCH L 56.3% C 0.151 H 264.6°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#4870CD
RGBrgb(72, 112, 205)
HSLhsl(222, 57%, 54%)
HSVhsv(222, 65%, 80%)
CMYKcmyk(64.9%, 45.4%, 0%, 19.6%)
CIE-LABlab(48.73, 15.82, -52.44)
CIE-LCHlch(48.73, 54.77, 286.79°)
OKLaboklab(56.34% -0.0143 -0.1499)
OKLCHoklch(56.34% 0.151 264.6)
XYZxyz(19.4823, 17.3720, 60.0722)
Luminance0.1737 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4870CD #CDA548
analogous
#48B3CD #4870CD #6348CD
triadic
#4870CD #CD4870 #70CD48
tetradic
#4870CD #CD48B3 #CDA548 #48CD63
square
#4870CD #CD48B3 #CDA548 #48CD63
split-complementary
#4870CD #CD6348 #B3CD48
monochromatic
#213C79 #2E53A9 #4870CD #7896DA #A8BBE7

Accessibility & contrast

On white

4.69
#4870CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4870CD
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4870CD#FFFFFF#000000##FFFFFF
##4870CD1.004.694.474.69
#FFFFFF4.691.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4870cd;
/* rgb */ color: rgb(72, 112, 205);
/* oklch */ color: oklch(56.3% 0.151 264.6);
Tailwind
colors: {
  custom: {
    50: '#8898dd',
    500: '#4870cd',
    950: '#000000',
  },
}
SCSS
$custom: #4870cd;
$custom-light: #8898dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4870cd",
  "rgb": {
    "r": 72,
    "g": 112,
    "b": 205
  },
  "hsl": {
    "h": 221.955,
    "s": 57.082,
    "l": 54.314
  },
  "oklch": {
    "l": 0.5634,
    "c": 0.15057,
    "h": 264.6
  },
  "luminance": 0.17374
}

Semantic roles & 50–950 ramp

primary
#4870CD
secondary
#D5C49C
accent
#B247E0
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0D0D15
muted
#7D7E83

Preview Lab

Preview with #4870CD

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

Preview Lab → · Contrast checker → · Palette generator →

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