#4870CB#4870CB

#4870CB is a mid, vivid blue. Relative luminance 0.173; OKLCH L 56.2% C 0.148 H 264.3°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#4870CB
RGBrgb(72, 112, 203)
HSLhsl(222, 56%, 54%)
HSVhsv(222, 65%, 80%)
CMYKcmyk(64.5%, 44.8%, 0%, 20.4%)
CIE-LABlab(48.61, 15.12, -51.49)
CIE-LCHlch(48.61, 53.66, 286.36°)
OKLaboklab(56.21% -0.0146 -0.1471)
OKLCHoklch(56.21% 0.148 264.3)
XYZxyz(19.2424, 17.2761, 58.8089)
Luminance0.1728 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4870CB #CBA348
analogous
#48B2CB #4870CB #6248CB
triadic
#4870CB #CB4870 #70CB48
tetradic
#4870CB #CB48B2 #CBA348 #48CB62
square
#4870CB #CB48B2 #CBA348 #48CB62
split-complementary
#4870CB #CB6248 #B2CB48
monochromatic
#223C77 #2F54A6 #4870CB #7895D9 #A7BAE6

Accessibility & contrast

On white

4.71
#4870CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#4870CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4870CB
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4870CB#FFFFFF#000000##FFFFFF
##4870CB1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#447ACE
Deuteranopia (green-blind)
#2E6EC9
Tritanopia (blue-blind)
#008593
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4870cb;
/* rgb */ color: rgb(72, 112, 203);
/* oklch */ color: oklch(56.2% 0.148 264.3);
Tailwind
colors: {
  custom: {
    50: '#8898db',
    500: '#4870cb',
    950: '#000000',
  },
}
SCSS
$custom: #4870cb;
$custom-light: #8898db;
$custom-dark: #000000;
JSON
{
  "hex": "#4870cb",
  "rgb": {
    "r": 72,
    "g": 112,
    "b": 203
  },
  "hsl": {
    "h": 221.679,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.5621,
    "c": 0.14781,
    "h": 264.3
  },
  "luminance": 0.17278
}

Semantic roles & 50–950 ramp

primary
#4870CB
secondary
#D3C29B
accent
#B149DF
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #4870CB

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

Preview Lab → · Contrast checker → · Palette generator →

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