#4870D3#4870D3

#4870D3 is a mid, vivid blue. Relative luminance 0.177; OKLCH L 56.7% C 0.159 H 265.2°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#4870D3
RGBrgb(72, 112, 211)
HSLhsl(223, 61%, 55%)
HSVhsv(223, 66%, 83%)
CMYKcmyk(65.9%, 46.9%, 0%, 17.3%)
CIE-LABlab(49.09, 17.92, -55.27)
CIE-LCHlch(49.09, 58.11, 287.97°)
OKLaboklab(56.74% -0.0134 -0.1582)
OKLCHoklch(56.74% 0.159 265.2)
XYZxyz(20.2204, 17.6673, 63.9599)
Luminance0.1767 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4870D3 #D3AB48
analogous
#48B5D3 #4870D3 #6648D3
triadic
#4870D3 #D34870 #70D348
tetradic
#4870D3 #D348B5 #D3AB48 #48D366
square
#4870D3 #D348B5 #D3AB48 #48D366
split-complementary
#4870D3 #D36648 #B5D348
monochromatic
#1F3B81 #2B52B3 #4870D3 #7997DF #ABBDEB

Accessibility & contrast

On white

4.63
#4870D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#4870D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4870D3
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4870D3#FFFFFF#000000##FFFFFF
##4870D31.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D7BD7
Deuteranopia (green-blind)
#206FD1
Tritanopia (blue-blind)
#008797
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4870d3;
/* rgb */ color: rgb(72, 112, 211);
/* oklch */ color: oklch(56.7% 0.159 265.2);
Tailwind
colors: {
  custom: {
    50: '#8998e1',
    500: '#4870d3',
    950: '#000000',
  },
}
SCSS
$custom: #4870d3;
$custom-light: #8998e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4870d3",
  "rgb": {
    "r": 72,
    "g": 112,
    "b": 211
  },
  "hsl": {
    "h": 222.734,
    "s": 61.233,
    "l": 55.49
  },
  "oklch": {
    "l": 0.56736,
    "c": 0.15879,
    "h": 265.2
  },
  "luminance": 0.17669
}

Semantic roles & 50–950 ramp

primary
#4870D3
secondary
#D8C89E
accent
#B643E4
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #4870D3

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

Preview Lab → · Contrast checker → · Palette generator →

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