#4870E6#4870E6

#4870E6 is a mid, vivid blue. Relative luminance 0.187; OKLCH L 58.1% C 0.184 H 266.5°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#4870E6
RGBrgb(72, 112, 230)
HSLhsl(225, 76%, 59%)
HSVhsv(225, 69%, 90%)
CMYKcmyk(68.7%, 51.3%, 0%, 9.8%)
CIE-LABlab(50.31, 24.61, -64.06)
CIE-LCHlch(50.31, 68.63, 291.02°)
OKLaboklab(58.05% -0.0111 -0.1841)
OKLCHoklch(58.05% 0.184 266.5)
XYZxyz(22.7446, 18.6769, 77.2539)
Luminance0.1868 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4870E6 #E6BE48
analogous
#48BFE6 #4870E6 #6F48E6
triadic
#4870E6 #E64870 #70E648
tetradic
#4870E6 #E648BF #E6BE48 #48E66F
square
#4870E6 #E648BF #E6BE48 #48E66F
split-complementary
#4870E6 #E66F48 #BFE648
monochromatic
#16389E #1D4BD4 #4870E6 #7E9AED #B4C4F5

Accessibility & contrast

On white

4.43
#4870E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#4870E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4870E6
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4870E6#FFFFFF#000000##000000
##4870E61.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#257FEA
Deuteranopia (green-blind)
#0071E4
Tritanopia (blue-blind)
#008CA0
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4870e6;
/* rgb */ color: rgb(72, 112, 230);
/* oklch */ color: oklch(58.1% 0.184 266.5);
Tailwind
colors: {
  custom: {
    50: '#8d98ef',
    500: '#4870e6',
    950: '#000000',
  },
}
SCSS
$custom: #4870e6;
$custom-light: #8d98ef;
$custom-dark: #000000;
JSON
{
  "hex": "#4870e6",
  "rgb": {
    "r": 72,
    "g": 112,
    "b": 230
  },
  "hsl": {
    "h": 224.81,
    "s": 75.962,
    "l": 59.216
  },
  "oklch": {
    "l": 0.58053,
    "c": 0.18442,
    "h": 266.5
  },
  "luminance": 0.18679
}

Semantic roles & 50–950 ramp

primary
#4870E6
secondary
#E4D4A6
accent
#C335F3
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #4870E6

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

Preview Lab → · Contrast checker → · Palette generator →

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