#4870ED#4870ED

#4870ED is a mid, vivid blue. Relative luminance 0.191; OKLCH L 58.6% C 0.194 H 266.9°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#4870ED
RGBrgb(72, 112, 237)
HSLhsl(225, 82%, 61%)
HSVhsv(225, 70%, 93%)
CMYKcmyk(69.6%, 52.7%, 0%, 7.1%)
CIE-LABlab(50.78, 27.08, -67.22)
CIE-LCHlch(50.78, 72.47, 291.94°)
OKLaboklab(58.56% -0.0105 -0.1934)
OKLCHoklch(58.56% 0.194 266.9)
XYZxyz(23.7474, 19.0781, 82.5353)
Luminance0.1908 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4870ED #EDC548
analogous
#48C2ED #4870ED #7348ED
triadic
#4870ED #ED4870 #70ED48
tetradic
#4870ED #ED48C2 #EDC548 #48ED73
square
#4870ED #ED48C2 #EDC548 #48ED73
split-complementary
#4870ED #ED7348 #C2ED48
monochromatic
#1136AA #1648E2 #4870ED #809CF2 #B7C7F8

Accessibility & contrast

On white

4.36
#4870ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#4870ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4870ED
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4870ED#FFFFFF#000000##000000
##4870ED1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1481F1
Deuteranopia (green-blind)
#0072EA
Tritanopia (blue-blind)
#008EA4
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4870ed;
/* rgb */ color: rgb(72, 112, 237);
/* oklch */ color: oklch(58.6% 0.194 266.9);
Tailwind
colors: {
  custom: {
    50: '#8e98f4',
    500: '#4870ed',
    950: '#000000',
  },
}
SCSS
$custom: #4870ed;
$custom-light: #8e98f4;
$custom-dark: #000000;
JSON
{
  "hex": "#4870ed",
  "rgb": {
    "r": 72,
    "g": 112,
    "b": 237
  },
  "hsl": {
    "h": 225.455,
    "s": 82.09,
    "l": 60.588
  },
  "oklch": {
    "l": 0.58559,
    "c": 0.19368,
    "h": 266.9
  },
  "luminance": 0.1908
}

Semantic roles & 50–950 ramp

primary
#4870ED
secondary
#E8D9A9
accent
#AA07DE
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #4870ED

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

Preview Lab → · Contrast checker → · Palette generator →

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