#4870D9#4870D9

#4870D9 is a mid, vivid blue. Relative luminance 0.180; OKLCH L 57.1% C 0.167 H 265.7°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#4870D9
RGBrgb(72, 112, 217)
HSLhsl(223, 66%, 57%)
HSVhsv(223, 67%, 85%)
CMYKcmyk(66.8%, 48.4%, 0%, 14.9%)
CIE-LABlab(49.46, 20.03, -58.08)
CIE-LCHlch(49.46, 61.44, 289.03°)
OKLaboklab(57.14% -0.0126 -0.1665)
OKLCHoklch(57.14% 0.167 265.7)
XYZxyz(20.9867, 17.9738, 67.9955)
Luminance0.1798 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4870D9 #D9B148
analogous
#48B9D9 #4870D9 #6948D9
triadic
#4870D9 #D94870 #70D948
tetradic
#4870D9 #D948B9 #D9B148 #48D969
square
#4870D9 #D948B9 #D9B148 #48D969
split-complementary
#4870D9 #D96948 #B9D948
monochromatic
#1D3B8A #2750BD #4870D9 #7B98E4 #ADBFEE

Accessibility & contrast

On white

4.57
#4870D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#4870D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4870D9
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4870D9#FFFFFF#000000##000000
##4870D91.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#377DDD
Deuteranopia (green-blind)
#106FD7
Tritanopia (blue-blind)
#00889A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4870d9;
/* rgb */ color: rgb(72, 112, 217);
/* oklch */ color: oklch(57.1% 0.167 265.7);
Tailwind
colors: {
  custom: {
    50: '#8a98e5',
    500: '#4870d9',
    950: '#000000',
  },
}
SCSS
$custom: #4870d9;
$custom-light: #8a98e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4870d9",
  "rgb": {
    "r": 72,
    "g": 112,
    "b": 217
  },
  "hsl": {
    "h": 223.448,
    "s": 65.611,
    "l": 56.667
  },
  "oklch": {
    "l": 0.57142,
    "c": 0.16696,
    "h": 265.7
  },
  "luminance": 0.17976
}

Semantic roles & 50–950 ramp

primary
#4870D9
secondary
#DCCCA1
accent
#BA3FE9
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #4870D9

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

Preview Lab → · Contrast checker → · Palette generator →

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