#4871DF#4871DF

#4871DF is a mid, vivid blue. Relative luminance 0.185; OKLCH L 57.8% C 0.174 H 265.8°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#4871DF
RGBrgb(72, 113, 223)
HSLhsl(224, 70%, 58%)
HSVhsv(224, 68%, 87%)
CMYKcmyk(67.7%, 49.3%, 0%, 12.5%)
CIE-LABlab(50.11, 21.52, -60.43)
CIE-LCHlch(50.11, 64.15, 289.60°)
OKLaboklab(57.76% -0.0127 -0.1734)
OKLCHoklch(57.76% 0.174 265.8)
XYZxyz(21.8923, 18.5135, 72.2175)
Luminance0.1852 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4871DF #DFB648
analogous
#48BCDF #4871DF #6B48DF
triadic
#4871DF #DF4871 #71DF48
tetradic
#4871DF #DF48BC #DFB648 #48DF6B
square
#4871DF #DF48BC #DFB648 #48DF6B
split-complementary
#4871DF #DF6B48 #BCDF48
monochromatic
#1A3B93 #234FC7 #4871DF #7C99E8 #B0C2F1

Accessibility & contrast

On white

4.47
#4871DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#4871DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4871DF
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4871DF#FFFFFF#000000##000000
##4871DF1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#337FE3
Deuteranopia (green-blind)
#0071DD
Tritanopia (blue-blind)
#008B9D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4871df;
/* rgb */ color: rgb(72, 113, 223);
/* oklch */ color: oklch(57.8% 0.174 265.8);
Tailwind
colors: {
  custom: {
    50: '#8b99ea',
    500: '#4871df',
    950: '#000000',
  },
}
SCSS
$custom: #4871df;
$custom-light: #8b99ea;
$custom-dark: #000000;
JSON
{
  "hex": "#4871df",
  "rgb": {
    "r": 72,
    "g": 113,
    "b": 223
  },
  "hsl": {
    "h": 223.709,
    "s": 70.233,
    "l": 57.843
  },
  "oklch": {
    "l": 0.57759,
    "c": 0.17385,
    "h": 265.8
  },
  "luminance": 0.18516
}

Semantic roles & 50–950 ramp

primary
#4871DF
secondary
#E0CFA3
accent
#BD3BED
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #4871DF

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

Preview Lab → · Contrast checker → · Palette generator →

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