#4870E1#4870E1

#4870E1 is a mid, vivid blue. Relative luminance 0.184; OKLCH L 57.7% C 0.178 H 266.2°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#4870E1
RGBrgb(72, 112, 225)
HSLhsl(224, 72%, 58%)
HSVhsv(224, 68%, 88%)
CMYKcmyk(68%, 50.2%, 0%, 11.8%)
CIE-LABlab(49.98, 22.85, -61.78)
CIE-LCHlch(49.98, 65.87, 290.30°)
OKLaboklab(57.7% -0.0116 -0.1774)
OKLCHoklch(57.7% 0.178 266.2)
XYZxyz(22.0525, 18.4001, 73.6090)
Luminance0.1840 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4870E1 #E1B948
analogous
#48BCE1 #4870E1 #6C48E1
triadic
#4870E1 #E14870 #70E148
tetradic
#4870E1 #E148BC #E1B948 #48E16C
square
#4870E1 #E148BC #E1B948 #48E16C
split-complementary
#4870E1 #E16C48 #BCE148
monochromatic
#193996 #214DCB #4870E1 #7D99EA #B1C2F2

Accessibility & contrast

On white

4.49
#4870E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#4870E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4870E1
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4870E1#FFFFFF#000000##000000
##4870E11.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D7EE5
Deuteranopia (green-blind)
#0070DF
Tritanopia (blue-blind)
#008B9E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4870e1;
/* rgb */ color: rgb(72, 112, 225);
/* oklch */ color: oklch(57.7% 0.178 266.2);
Tailwind
colors: {
  custom: {
    50: '#8c98eb',
    500: '#4870e1',
    950: '#000000',
  },
}
SCSS
$custom: #4870e1;
$custom-light: #8c98eb;
$custom-dark: #000000;
JSON
{
  "hex": "#4870e1",
  "rgb": {
    "r": 72,
    "g": 112,
    "b": 225
  },
  "hsl": {
    "h": 224.314,
    "s": 71.831,
    "l": 58.235
  },
  "oklch": {
    "l": 0.57698,
    "c": 0.17774,
    "h": 266.2
  },
  "luminance": 0.18402
}

Semantic roles & 50–950 ramp

primary
#4870E1
secondary
#E1D1A4
accent
#BF39EF
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #4870E1

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

Preview Lab → · Contrast checker → · Palette generator →

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