#4870DE#4870DE

#4870DE is a mid, vivid blue. Relative luminance 0.182; OKLCH L 57.5% C 0.174 H 266.1°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#4870DE
RGBrgb(72, 112, 222)
HSLhsl(224, 69%, 58%)
HSVhsv(224, 68%, 87%)
CMYKcmyk(67.6%, 49.5%, 0%, 12.9%)
CIE-LABlab(49.78, 21.79, -60.40)
CIE-LCHlch(49.78, 64.21, 289.84°)
OKLaboklab(57.49% -0.012 -0.1733)
OKLCHoklch(57.49% 0.174 266.1)
XYZxyz(21.6469, 18.2379, 71.4725)
Luminance0.1824 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4870DE #DEB648
analogous
#48BBDE #4870DE #6B48DE
triadic
#4870DE #DE4870 #70DE48
tetradic
#4870DE #DE48BB #DEB648 #48DE6B
square
#4870DE #DE48BB #DEB648 #48DE6B
split-complementary
#4870DE #DE6B48 #BBDE48
monochromatic
#1A3A91 #244FC5 #4870DE #7C99E7 #B0C1F1

Accessibility & contrast

On white

4.52
#4870DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#4870DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4870DE
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4870DE#FFFFFF#000000##000000
##4870DE1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#317EE2
Deuteranopia (green-blind)
#0070DC
Tritanopia (blue-blind)
#008A9C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4870de;
/* rgb */ color: rgb(72, 112, 222);
/* oklch */ color: oklch(57.5% 0.174 266.1);
Tailwind
colors: {
  custom: {
    50: '#8b98e9',
    500: '#4870de',
    950: '#000000',
  },
}
SCSS
$custom: #4870de;
$custom-light: #8b98e9;
$custom-dark: #000000;
JSON
{
  "hex": "#4870de",
  "rgb": {
    "r": 72,
    "g": 112,
    "b": 222
  },
  "hsl": {
    "h": 224,
    "s": 69.444,
    "l": 57.647
  },
  "oklch": {
    "l": 0.57488,
    "c": 0.17371,
    "h": 266.1
  },
  "luminance": 0.1824
}

Semantic roles & 50–950 ramp

primary
#4870DE
secondary
#DFCFA3
accent
#BD3CEC
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #4870DE

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

Preview Lab → · Contrast checker → · Palette generator →

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