#4870B2#4870B2

#4870B2 is a mid, moderate blue. Relative luminance 0.162; OKLCH L 54.7% C 0.113 H 259.9°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#4870B2
RGBrgb(72, 112, 178)
HSLhsl(217, 42%, 49%)
HSVhsv(217, 60%, 70%)
CMYKcmyk(59.6%, 37.1%, 0%, 30.2%)
CIE-LABlab(47.21, 6.47, -39.29)
CIE-LCHlch(47.21, 39.82, 279.35°)
OKLaboklab(54.68% -0.0197 -0.1113)
OKLCHoklch(54.68% 0.113 259.9)
XYZxyz(16.4997, 16.1790, 44.3642)
Luminance0.1618 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4870B2 #B28A48
analogous
#48A5B2 #4870B2 #5548B2
triadic
#4870B2 #B24870 #70B248
tetradic
#4870B2 #B248A5 #B28A48 #48B255
square
#4870B2 #B248A5 #B28A48 #48B255
split-complementary
#4870B2 #B25548 #A5B248
monochromatic
#25395B #365586 #4870B2 #7191C6 #9DB3D7

Accessibility & contrast

On white

4.96
#4870B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#4870B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4870B2#FFFFFF#000000##FFFFFF
##4870B21.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5475B5
Deuteranopia (green-blind)
#466BB1
Tritanopia (blue-blind)
#007F88
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4870b2;
/* rgb */ color: rgb(72, 112, 178);
/* oklch */ color: oklch(54.7% 0.113 259.9);
Tailwind
colors: {
  custom: {
    50: '#8498c9',
    500: '#4870b2',
    950: '#000000',
  },
}
SCSS
$custom: #4870b2;
$custom-light: #8498c9;
$custom-dark: #000000;
JSON
{
  "hex": "#4870b2",
  "rgb": {
    "r": 72,
    "g": 112,
    "b": 178
  },
  "hsl": {
    "h": 217.358,
    "s": 42.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.54676,
    "c": 0.11308,
    "h": 259.9
  },
  "luminance": 0.1618
}

Semantic roles & 50–950 ramp

primary
#4870B2
secondary
#C4B192
accent
#A356D2
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0B0D13
muted
#7C7E82

Preview Lab

Preview with #4870B2

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

Preview Lab → · Contrast checker → · Palette generator →

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