#4870DA#4870DA

#4870DA is a mid, vivid blue. Relative luminance 0.180; OKLCH L 57.2% C 0.168 H 265.8°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#4870DA
RGBrgb(72, 112, 218)
HSLhsl(224, 66%, 57%)
HSVhsv(224, 67%, 85%)
CMYKcmyk(67%, 48.6%, 0%, 14.5%)
CIE-LABlab(49.53, 20.39, -58.55)
CIE-LCHlch(49.53, 61.99, 289.20°)
OKLaboklab(57.21% -0.0124 -0.1678)
OKLCHoklch(57.21% 0.168 265.8)
XYZxyz(21.1171, 18.0260, 68.6826)
Luminance0.1803 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4870DA #DAB248
analogous
#48B9DA #4870DA #6948DA
triadic
#4870DA #DA4870 #70DA48
tetradic
#4870DA #DA48B9 #DAB248 #48DA69
square
#4870DA #DA48B9 #DAB248 #48DA69
split-complementary
#4870DA #DA6948 #B9DA48
monochromatic
#1C3B8B #2650BE #4870DA #7B98E4 #AEC0EF

Accessibility & contrast

On white

4.56
#4870DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#4870DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4870DA
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4870DA#FFFFFF#000000##000000
##4870DA1.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#367DDE
Deuteranopia (green-blind)
#0B6FD8
Tritanopia (blue-blind)
#00899A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4870da;
/* rgb */ color: rgb(72, 112, 218);
/* oklch */ color: oklch(57.2% 0.168 265.8);
Tailwind
colors: {
  custom: {
    50: '#8a98e6',
    500: '#4870da',
    950: '#000000',
  },
}
SCSS
$custom: #4870da;
$custom-light: #8a98e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4870da",
  "rgb": {
    "r": 72,
    "g": 112,
    "b": 218
  },
  "hsl": {
    "h": 223.562,
    "s": 66.364,
    "l": 56.863
  },
  "oklch": {
    "l": 0.57211,
    "c": 0.16831,
    "h": 265.8
  },
  "luminance": 0.18028
}

Semantic roles & 50–950 ramp

primary
#4870DA
secondary
#DDCCA1
accent
#BB3FE9
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #4870DA

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

Preview Lab → · Contrast checker → · Palette generator →

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