#4871DA#4871DA

#4871DA is a mid, vivid blue. Relative luminance 0.182; OKLCH L 57.4% C 0.167 H 265.4°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#4871DA
RGBrgb(72, 113, 218)
HSLhsl(223, 66%, 57%)
HSVhsv(223, 67%, 85%)
CMYKcmyk(67%, 48.2%, 0%, 14.5%)
CIE-LABlab(49.80, 19.76, -58.11)
CIE-LCHlch(49.80, 61.38, 288.78°)
OKLaboklab(57.42% -0.0133 -0.1666)
OKLCHoklch(57.42% 0.167 265.4)
XYZxyz(21.2281, 18.2479, 68.7195)
Luminance0.1825 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4871DA #DAB148
analogous
#48BADA #4871DA #6848DA
triadic
#4871DA #DA4871 #71DA48
tetradic
#4871DA #DA48BA #DAB148 #48DA68
square
#4871DA #DA48BA #DAB148 #48DA68
split-complementary
#4871DA #DA6848 #BADA48
monochromatic
#1C3B8B #2651BE #4871DA #7B99E4 #AEC0EF

Accessibility & contrast

On white

4.52
#4871DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#4871DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4871DA
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4871DA#FFFFFF#000000##000000
##4871DA1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#387DDE
Deuteranopia (green-blind)
#1270D8
Tritanopia (blue-blind)
#00899B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4871da;
/* rgb */ color: rgb(72, 113, 218);
/* oklch */ color: oklch(57.4% 0.167 265.4);
Tailwind
colors: {
  custom: {
    50: '#8a99e6',
    500: '#4871da',
    950: '#000000',
  },
}
SCSS
$custom: #4871da;
$custom-light: #8a99e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4871da",
  "rgb": {
    "r": 72,
    "g": 113,
    "b": 218
  },
  "hsl": {
    "h": 223.151,
    "s": 66.364,
    "l": 56.863
  },
  "oklch": {
    "l": 0.57415,
    "c": 0.1671,
    "h": 265.4
  },
  "luminance": 0.1825
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4871DA

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

Preview Lab → · Contrast checker → · Palette generator →

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