#4870BB#4870BB

#4870BB is a mid, vivid blue. Relative luminance 0.166; OKLCH L 55.2% C 0.126 H 261.9°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#4870BB
RGBrgb(72, 112, 187)
HSLhsl(219, 46%, 51%)
HSVhsv(219, 61%, 73%)
CMYKcmyk(61.5%, 40.1%, 0%, 26.7%)
CIE-LABlab(47.69, 9.56, -43.74)
CIE-LCHlch(47.69, 44.78, 282.32°)
OKLaboklab(55.21% -0.0177 -0.1244)
OKLCHoklch(55.21% 0.126 261.9)
XYZxyz(17.4332, 16.5524, 49.2803)
Luminance0.1655 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4870BB #BB9348
analogous
#48AABB #4870BB #5948BB
triadic
#4870BB #BB4870 #70BB48
tetradic
#4870BB #BB48AA #BB9348 #48BB59
square
#4870BB #BB48AA #BB9348 #48BB59
split-complementary
#4870BB #BB5948 #AABB48
monochromatic
#253B64 #365590 #4870BB #7593CC #A1B6DC

Accessibility & contrast

On white

4.87
#4870BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#4870BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4870BB#FFFFFF#000000##FFFFFF
##4870BB1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F77BE
Deuteranopia (green-blind)
#3F6CB9
Tritanopia (blue-blind)
#00818C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4870bb;
/* rgb */ color: rgb(72, 112, 187);
/* oklch */ color: oklch(55.2% 0.126 261.9);
Tailwind
colors: {
  custom: {
    50: '#8598d0',
    500: '#4870bb',
    950: '#000000',
  },
}
SCSS
$custom: #4870bb;
$custom-light: #8598d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4870bb",
  "rgb": {
    "r": 72,
    "g": 112,
    "b": 187
  },
  "hsl": {
    "h": 219.13,
    "s": 45.817,
    "l": 50.784
  },
  "oklch": {
    "l": 0.55208,
    "c": 0.12562,
    "h": 261.9
  },
  "luminance": 0.16554
}

Semantic roles & 50–950 ramp

primary
#4870BB
secondary
#C9B796
accent
#A852D5
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0D14
muted
#7D7E82

Preview Lab

Preview with #4870BB

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

Preview Lab → · Contrast checker → · Palette generator →

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