#4871DE#4871DE

#4871DE is a mid, vivid blue. Relative luminance 0.185; OKLCH L 57.7% C 0.173 H 265.7°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#4871DE
RGBrgb(72, 113, 222)
HSLhsl(224, 69%, 58%)
HSVhsv(224, 68%, 87%)
CMYKcmyk(67.6%, 49.1%, 0%, 12.9%)
CIE-LABlab(50.05, 21.17, -59.97)
CIE-LCHlch(50.05, 63.60, 289.44°)
OKLaboklab(57.69% -0.0128 -0.172)
OKLCHoklch(57.69% 0.173 265.7)
XYZxyz(21.7578, 18.4598, 71.5095)
Luminance0.1846 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4871DE #DEB548
analogous
#48BCDE #4871DE #6A48DE
triadic
#4871DE #DE4871 #71DE48
tetradic
#4871DE #DE48BC #DEB548 #48DE6A
square
#4871DE #DE48BC #DEB548 #48DE6A
split-complementary
#4871DE #DE6A48 #BCDE48
monochromatic
#1A3B91 #2450C5 #4871DE #7C99E7 #B0C1F1

Accessibility & contrast

On white

4.48
#4871DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#4871DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4871DE
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4871DE#FFFFFF#000000##000000
##4871DE1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#347EE2
Deuteranopia (green-blind)
#0071DC
Tritanopia (blue-blind)
#008B9D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4871de;
/* rgb */ color: rgb(72, 113, 222);
/* oklch */ color: oklch(57.7% 0.173 265.7);
Tailwind
colors: {
  custom: {
    50: '#8b99e9',
    500: '#4871de',
    950: '#000000',
  },
}
SCSS
$custom: #4871de;
$custom-light: #8b99e9;
$custom-dark: #000000;
JSON
{
  "hex": "#4871de",
  "rgb": {
    "r": 72,
    "g": 113,
    "b": 222
  },
  "hsl": {
    "h": 223.6,
    "s": 69.444,
    "l": 57.647
  },
  "oklch": {
    "l": 0.5769,
    "c": 0.17251,
    "h": 265.7
  },
  "luminance": 0.18462
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4871DE

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

Preview Lab → · Contrast checker → · Palette generator →

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