#4870BF#4870BF

#4870BF is a mid, vivid blue. Relative luminance 0.167; OKLCH L 55.5% C 0.131 H 262.6°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#4870BF
RGBrgb(72, 112, 191)
HSLhsl(220, 48%, 52%)
HSVhsv(220, 62%, 75%)
CMYKcmyk(62.3%, 41.4%, 0%, 25.1%)
CIE-LABlab(47.91, 10.94, -45.70)
CIE-LCHlch(47.91, 46.99, 283.46°)
OKLaboklab(55.45% -0.0168 -0.1301)
OKLCHoklch(55.45% 0.131 262.6)
XYZxyz(17.8673, 16.7260, 51.5670)
Luminance0.1673 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4870BF #BF9748
analogous
#48ACBF #4870BF #5C48BF
triadic
#4870BF #BF4870 #70BF48
tetradic
#4870BF #BF48AC #BF9748 #48BF5C
square
#4870BF #BF48AC #BF9748 #48BF5C
split-complementary
#4870BF #BF5C48 #ACBF48
monochromatic
#243B68 #345596 #4870BF #7593CF #A3B7DF

Accessibility & contrast

On white

4.83
#4870BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#4870BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4870BF#FFFFFF#000000##FFFFFF
##4870BF1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D78C2
Deuteranopia (green-blind)
#3C6DBD
Tritanopia (blue-blind)
#00828E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4870bf;
/* rgb */ color: rgb(72, 112, 191);
/* oklch */ color: oklch(55.5% 0.131 262.6);
Tailwind
colors: {
  custom: {
    50: '#8698d3',
    500: '#4870bf',
    950: '#000000',
  },
}
SCSS
$custom: #4870bf;
$custom-light: #8698d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4870bf",
  "rgb": {
    "r": 72,
    "g": 112,
    "b": 191
  },
  "hsl": {
    "h": 219.832,
    "s": 48.178,
    "l": 51.569
  },
  "oklch": {
    "l": 0.55451,
    "c": 0.13119,
    "h": 262.6
  },
  "luminance": 0.16728
}

Semantic roles & 50–950 ramp

primary
#4870BF
secondary
#CCBA97
accent
#AA50D8
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0D14
muted
#7D7E83

Preview Lab

Preview with #4870BF

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

Preview Lab → · Contrast checker → · Palette generator →

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