#4870AB#4870AB

#4870AB is a mid, moderate blue. Relative luminance 0.159; OKLCH L 54.3% C 0.103 H 258.0°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#4870AB
RGBrgb(72, 112, 171)
HSLhsl(216, 41%, 48%)
HSVhsv(216, 58%, 67%)
CMYKcmyk(57.9%, 34.5%, 0%, 32.9%)
CIE-LABlab(46.85, 4.10, -35.78)
CIE-LCHlch(46.85, 36.01, 276.54°)
OKLaboklab(54.28% -0.0215 -0.1011)
OKLCHoklch(54.28% 0.103 258)
XYZxyz(15.8148, 15.9050, 40.7568)
Luminance0.1591 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4870AB #AB8348
analogous
#48A1AB #4870AB #5248AB
triadic
#4870AB #AB4870 #70AB48
tetradic
#4870AB #AB48A1 #AB8348 #48AB52
square
#4870AB #AB48A1 #AB8348 #48AB52
split-complementary
#4870AB #AB5248 #A1AB48
monochromatic
#243855 #365480 #4870AB #6E90C2 #99B1D4

Accessibility & contrast

On white

5.02
#4870AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#4870AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4870AB
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4870AB#FFFFFF#000000##FFFFFF
##4870AB1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5874AD
Deuteranopia (green-blind)
#4B6BAA
Tritanopia (blue-blind)
#007D85
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4870ab;
/* rgb */ color: rgb(72, 112, 171);
/* oklch */ color: oklch(54.3% 0.103 258.0);
Tailwind
colors: {
  custom: {
    50: '#8398c4',
    500: '#4870ab',
    950: '#000000',
  },
}
SCSS
$custom: #4870ab;
$custom-light: #8398c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4870ab",
  "rgb": {
    "r": 72,
    "g": 112,
    "b": 171
  },
  "hsl": {
    "h": 215.758,
    "s": 40.741,
    "l": 47.647
  },
  "oklch": {
    "l": 0.5428,
    "c": 0.10336,
    "h": 258
  },
  "luminance": 0.15906
}

Semantic roles & 50–950 ramp

primary
#4870AB
secondary
#C0AC8E
accent
#A057D1
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0D12
muted
#7C7E81

Preview Lab

Preview with #4870AB

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

Preview Lab → · Contrast checker → · Palette generator →

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