#4870AD#4870AD

#4870AD is a mid, moderate blue. Relative luminance 0.160; OKLCH L 54.4% C 0.106 H 258.6°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#4870AD
RGBrgb(72, 112, 173)
HSLhsl(216, 41%, 48%)
HSVhsv(216, 58%, 68%)
CMYKcmyk(58.4%, 35.3%, 0%, 32.2%)
CIE-LABlab(46.95, 4.78, -36.78)
CIE-LCHlch(46.95, 37.09, 277.40°)
OKLaboklab(54.39% -0.021 -0.104)
OKLCHoklch(54.39% 0.106 258.6)
XYZxyz(16.0068, 15.9818, 41.7683)
Luminance0.1598 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4870AD #AD8548
analogous
#48A2AD #4870AD #5348AD
triadic
#4870AD #AD4870 #70AD48
tetradic
#4870AD #AD48A2 #AD8548 #48AD53
square
#4870AD #AD48A2 #AD8548 #48AD53
split-complementary
#4870AD #AD5348 #A2AD48
monochromatic
#243857 #365482 #4870AD #6F90C3 #9AB2D5

Accessibility & contrast

On white

5.00
#4870AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#4870AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4870AD
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4870AD#FFFFFF#000000##FFFFFF
##4870AD1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5775B0
Deuteranopia (green-blind)
#4A6BAC
Tritanopia (blue-blind)
#007E86
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4870ad;
/* rgb */ color: rgb(72, 112, 173);
/* oklch */ color: oklch(54.4% 0.106 258.6);
Tailwind
colors: {
  custom: {
    50: '#8398c6',
    500: '#4870ad',
    950: '#000000',
  },
}
SCSS
$custom: #4870ad;
$custom-light: #8398c6;
$custom-dark: #000000;
JSON
{
  "hex": "#4870ad",
  "rgb": {
    "r": 72,
    "g": 112,
    "b": 173
  },
  "hsl": {
    "h": 216.238,
    "s": 41.224,
    "l": 48.039
  },
  "oklch": {
    "l": 0.54391,
    "c": 0.10613,
    "h": 258.6
  },
  "luminance": 0.15983
}

Semantic roles & 50–950 ramp

primary
#4870AD
secondary
#C1AE8F
accent
#A157D1
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0D13
muted
#7C7E82

Preview Lab

Preview with #4870AD

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

Preview Lab → · Contrast checker → · Palette generator →

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