#4870CA#4870CA

#4870CA is a mid, vivid blue. Relative luminance 0.172; OKLCH L 56.1% C 0.146 H 264.2°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#4870CA
RGBrgb(72, 112, 202)
HSLhsl(222, 55%, 54%)
HSVhsv(222, 64%, 79%)
CMYKcmyk(64.4%, 44.6%, 0%, 20.8%)
CIE-LABlab(48.55, 14.77, -51.01)
CIE-LCHlch(48.55, 53.10, 286.15°)
OKLaboklab(56.15% -0.0148 -0.1457)
OKLCHoklch(56.15% 0.146 264.2)
XYZxyz(19.1236, 17.2285, 58.1833)
Luminance0.1723 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4870CA #CAA248
analogous
#48B1CA #4870CA #6148CA
triadic
#4870CA #CA4870 #70CA48
tetradic
#4870CA #CA48B1 #CAA248 #48CA61
square
#4870CA #CA48B1 #CAA248 #48CA61
split-complementary
#4870CA #CA6148 #B1CA48
monochromatic
#223C76 #3054A5 #4870CA #7795D8 #A7BAE5

Accessibility & contrast

On white

4.72
#4870CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#4870CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4870CA
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4870CA#FFFFFF#000000##FFFFFF
##4870CA1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#457ACD
Deuteranopia (green-blind)
#2F6EC8
Tritanopia (blue-blind)
#008593
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4870ca;
/* rgb */ color: rgb(72, 112, 202);
/* oklch */ color: oklch(56.1% 0.146 264.2);
Tailwind
colors: {
  custom: {
    50: '#8898db',
    500: '#4870ca',
    950: '#000000',
  },
}
SCSS
$custom: #4870ca;
$custom-light: #8898db;
$custom-dark: #000000;
JSON
{
  "hex": "#4870ca",
  "rgb": {
    "r": 72,
    "g": 112,
    "b": 202
  },
  "hsl": {
    "h": 221.538,
    "s": 55.085,
    "l": 53.725
  },
  "oklch": {
    "l": 0.56145,
    "c": 0.14644,
    "h": 264.2
  },
  "luminance": 0.1723
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4870CA

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

Preview Lab → · Contrast checker → · Palette generator →

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