#4872DC#4872DC

#4872DC is a mid, vivid blue. Relative luminance 0.186; OKLCH L 57.8% C 0.169 H 265.2°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#4872DC
RGBrgb(72, 114, 220)
HSLhsl(223, 68%, 57%)
HSVhsv(223, 67%, 86%)
CMYKcmyk(67.3%, 48.2%, 0%, 13.7%)
CIE-LABlab(50.19, 19.84, -58.61)
CIE-LCHlch(50.19, 61.88, 288.70°)
OKLaboklab(57.76% -0.014 -0.168)
OKLCHoklch(57.76% 0.169 265.2)
XYZxyz(21.6036, 18.5775, 70.1436)
Luminance0.1858 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4872DC #DCB248
analogous
#48BCDC #4872DC #6848DC
triadic
#4872DC #DC4872 #72DC48
tetradic
#4872DC #DC48BC #DCB248 #48DC68
square
#4872DC #DC48BC #DCB248 #48DC68
split-complementary
#4872DC #DC6848 #BCDC48
monochromatic
#1B3C8E #2552C2 #4872DC #7B9AE6 #AFC1F0

Accessibility & contrast

On white

4.45
#4872DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#4872DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4872DC
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4872DC#FFFFFF#000000##000000
##4872DC1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#397FE0
Deuteranopia (green-blind)
#1171DA
Tritanopia (blue-blind)
#008B9C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4872dc;
/* rgb */ color: rgb(72, 114, 220);
/* oklch */ color: oklch(57.8% 0.169 265.2);
Tailwind
colors: {
  custom: {
    50: '#8b9ae7',
    500: '#4872dc',
    950: '#000000',
  },
}
SCSS
$custom: #4872dc;
$custom-light: #8b9ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#4872dc",
  "rgb": {
    "r": 72,
    "g": 114,
    "b": 220
  },
  "hsl": {
    "h": 222.973,
    "s": 67.89,
    "l": 57.255
  },
  "oklch": {
    "l": 0.57756,
    "c": 0.1686,
    "h": 265.2
  },
  "luminance": 0.1858
}

Semantic roles & 50–950 ramp

primary
#4872DC
secondary
#DECDA2
accent
#B93DEB
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4872DC

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

Preview Lab → · Contrast checker → · Palette generator →

#4872DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva