#4870AA#4870AA

#4870AA is a mid, moderate blue. Relative luminance 0.159; OKLCH L 54.2% C 0.102 H 257.6°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#4870AA
RGBrgb(72, 112, 170)
HSLhsl(216, 40%, 47%)
HSVhsv(216, 58%, 67%)
CMYKcmyk(57.6%, 34.1%, 0%, 33.3%)
CIE-LABlab(46.80, 3.77, -35.27)
CIE-LCHlch(46.80, 35.47, 276.10°)
OKLaboklab(54.22% -0.0218 -0.0996)
OKLCHoklch(54.22% 0.102 257.6)
XYZxyz(15.7198, 15.8670, 40.2567)
Luminance0.1587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4870AA #AA8248
analogous
#48A1AA #4870AA #5148AA
triadic
#4870AA #AA4870 #70AA48
tetradic
#4870AA #AA48A1 #AA8248 #48AA51
square
#4870AA #AA48A1 #AA8248 #48AA51
split-complementary
#4870AA #AA5148 #A1AA48
monochromatic
#243754 #36547F #4870AA #6E90C1 #99B1D4

Accessibility & contrast

On white

5.03
#4870AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#4870AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4870AA#FFFFFF#000000##FFFFFF
##4870AA1.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4870aa;
/* rgb */ color: rgb(72, 112, 170);
/* oklch */ color: oklch(54.2% 0.102 257.6);
Tailwind
colors: {
  custom: {
    50: '#8398c3',
    500: '#4870aa',
    950: '#000000',
  },
}
SCSS
$custom: #4870aa;
$custom-light: #8398c3;
$custom-dark: #000000;
JSON
{
  "hex": "#4870aa",
  "rgb": {
    "r": 72,
    "g": 112,
    "b": 170
  },
  "hsl": {
    "h": 215.51,
    "s": 40.496,
    "l": 47.451
  },
  "oklch": {
    "l": 0.54224,
    "c": 0.10197,
    "h": 257.6
  },
  "luminance": 0.15868
}

Semantic roles & 50–950 ramp

primary
#4870AA
secondary
#C0AB8E
accent
#9F57D0
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0D12
muted
#7C7E81

Preview Lab

Preview with #4870AA

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

Preview Lab → · Contrast checker → · Palette generator →

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