#4870B9#4870B9

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

Color values

HEX#4870B9
RGBrgb(72, 112, 185)
HSLhsl(219, 45%, 50%)
HSVhsv(219, 61%, 73%)
CMYKcmyk(61.1%, 39.5%, 0%, 27.5%)
CIE-LABlab(47.58, 8.87, -42.76)
CIE-LCHlch(47.58, 43.67, 281.72°)
OKLaboklab(55.09% -0.0181 -0.1215)
OKLCHoklch(55.09% 0.123 261.5)
XYZxyz(17.2206, 16.4673, 48.1605)
Luminance0.1647 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4870B9 #B99148
analogous
#48A8B9 #4870B9 #5848B9
triadic
#4870B9 #B94870 #70B948
tetradic
#4870B9 #B948A8 #B99148 #48B958
square
#4870B9 #B948A8 #B99148 #48B958
split-complementary
#4870B9 #B95848 #A8B948
monochromatic
#253B61 #36558E #4870B9 #7493CA #A1B5DB

Accessibility & contrast

On white

4.89
#4870B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#4870B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4870B9#FFFFFF#000000##FFFFFF
##4870B91.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5077BC
Deuteranopia (green-blind)
#416CB7
Tritanopia (blue-blind)
#00808B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4870b9;
/* rgb */ color: rgb(72, 112, 185);
/* oklch */ color: oklch(55.1% 0.123 261.5);
Tailwind
colors: {
  custom: {
    50: '#8598ce',
    500: '#4870b9',
    950: '#000000',
  },
}
SCSS
$custom: #4870b9;
$custom-light: #8598ce;
$custom-dark: #000000;
JSON
{
  "hex": "#4870b9",
  "rgb": {
    "r": 72,
    "g": 112,
    "b": 185
  },
  "hsl": {
    "h": 218.761,
    "s": 44.664,
    "l": 50.392
  },
  "oklch": {
    "l": 0.55088,
    "c": 0.12283,
    "h": 261.5
  },
  "luminance": 0.16469
}

Semantic roles & 50–950 ramp

primary
#4870B9
secondary
#C8B695
accent
#A753D4
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0D14
muted
#7D7E82

Preview Lab

Preview with #4870B9

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

Preview Lab → · Contrast checker → · Palette generator →

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