#4870BA#4870BA

#4870BA is a mid, vivid blue. Relative luminance 0.165; OKLCH L 55.1% C 0.124 H 261.7°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#4870BA
RGBrgb(72, 112, 186)
HSLhsl(219, 45%, 51%)
HSVhsv(219, 61%, 73%)
CMYKcmyk(61.3%, 39.8%, 0%, 27.1%)
CIE-LABlab(47.64, 9.21, -43.25)
CIE-LCHlch(47.64, 44.22, 282.02°)
OKLaboklab(55.15% -0.0179 -0.1229)
OKLCHoklch(55.15% 0.124 261.7)
XYZxyz(17.3265, 16.5097, 48.7185)
Luminance0.1651 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4870BA #BA9248
analogous
#48A9BA #4870BA #5948BA
triadic
#4870BA #BA4870 #70BA48
tetradic
#4870BA #BA48A9 #BA9248 #48BA59
square
#4870BA #BA48A9 #BA9248 #48BA59
split-complementary
#4870BA #BA5948 #A9BA48
monochromatic
#253B62 #36558F #4870BA #7493CB #A1B5DC

Accessibility & contrast

On white

4.88
#4870BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#4870BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4870BA#FFFFFF#000000##FFFFFF
##4870BA1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5077BD
Deuteranopia (green-blind)
#406CB8
Tritanopia (blue-blind)
#00818C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4870ba;
/* rgb */ color: rgb(72, 112, 186);
/* oklch */ color: oklch(55.1% 0.124 261.7);
Tailwind
colors: {
  custom: {
    50: '#8598cf',
    500: '#4870ba',
    950: '#000000',
  },
}
SCSS
$custom: #4870ba;
$custom-light: #8598cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4870ba",
  "rgb": {
    "r": 72,
    "g": 112,
    "b": 186
  },
  "hsl": {
    "h": 218.947,
    "s": 45.238,
    "l": 50.588
  },
  "oklch": {
    "l": 0.55147,
    "c": 0.12422,
    "h": 261.7
  },
  "luminance": 0.16511
}

Semantic roles & 50–950 ramp

primary
#4870BA
secondary
#C8B696
accent
#A753D5
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0D14
muted
#7D7E82

Preview Lab

Preview with #4870BA

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

Preview Lab → · Contrast checker → · Palette generator →

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