#4870AE#4870AE

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

Color values

HEX#4870AE
RGBrgb(72, 112, 174)
HSLhsl(216, 41%, 48%)
HSVhsv(216, 59%, 68%)
CMYKcmyk(58.6%, 35.6%, 0%, 31.8%)
CIE-LABlab(47.00, 5.12, -37.29)
CIE-LCHlch(47.00, 37.64, 277.81°)
OKLaboklab(54.45% -0.0207 -0.1055)
OKLCHoklch(54.45% 0.108 258.9)
XYZxyz(16.1040, 16.0207, 42.2799)
Luminance0.1602 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4870AE #AE8648
analogous
#48A3AE #4870AE #5348AE
triadic
#4870AE #AE4870 #70AE48
tetradic
#4870AE #AE48A3 #AE8648 #48AE53
square
#4870AE #AE48A3 #AE8648 #48AE53
split-complementary
#4870AE #AE5348 #A3AE48
monochromatic
#243857 #365483 #4870AE #7091C4 #9BB2D6

Accessibility & contrast

On white

4.99
#4870AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4870AE
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4870AE#FFFFFF#000000##FFFFFF
##4870AE1.004.994.204.99
#FFFFFF4.991.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5675B1
Deuteranopia (green-blind)
#496BAD
Tritanopia (blue-blind)
#007E87
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4870ae;
/* rgb */ color: rgb(72, 112, 174);
/* oklch */ color: oklch(54.4% 0.108 258.9);
Tailwind
colors: {
  custom: {
    50: '#8398c6',
    500: '#4870ae',
    950: '#000000',
  },
}
SCSS
$custom: #4870ae;
$custom-light: #8398c6;
$custom-dark: #000000;
JSON
{
  "hex": "#4870ae",
  "rgb": {
    "r": 72,
    "g": 112,
    "b": 174
  },
  "hsl": {
    "h": 216.471,
    "s": 41.463,
    "l": 48.235
  },
  "oklch": {
    "l": 0.54448,
    "c": 0.10751,
    "h": 258.9
  },
  "luminance": 0.16022
}

Semantic roles & 50–950 ramp

primary
#4870AE
secondary
#C2AE90
accent
#A157D1
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0B0D13
muted
#7C7E82

Preview Lab

Preview with #4870AE

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

Preview Lab → · Contrast checker → · Palette generator →

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