#4872DE#4872DE

#4872DE is a mid, vivid blue. Relative luminance 0.187; OKLCH L 57.9% C 0.171 H 265.4°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#4872DE
RGBrgb(72, 114, 222)
HSLhsl(223, 69%, 58%)
HSVhsv(223, 68%, 87%)
CMYKcmyk(67.6%, 48.6%, 0%, 12.9%)
CIE-LABlab(50.32, 20.55, -59.54)
CIE-LCHlch(50.32, 62.98, 289.04°)
OKLaboklab(57.89% -0.0137 -0.1708)
OKLCHoklch(57.89% 0.171 265.4)
XYZxyz(21.8700, 18.6841, 71.5469)
Luminance0.1869 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4872DE #DEB448
analogous
#48BDDE #4872DE #6948DE
triadic
#4872DE #DE4872 #72DE48
tetradic
#4872DE #DE48BD #DEB448 #48DE69
square
#4872DE #DE48BD #DEB448 #48DE69
split-complementary
#4872DE #DE6948 #BDDE48
monochromatic
#1A3C91 #2451C5 #4872DE #7C9AE7 #B0C2F1

Accessibility & contrast

On white

4.43
#4872DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#4872DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4872DE
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4872DE#FFFFFF#000000##000000
##4872DE1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#367FE2
Deuteranopia (green-blind)
#0771DC
Tritanopia (blue-blind)
#008B9D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4872de;
/* rgb */ color: rgb(72, 114, 222);
/* oklch */ color: oklch(57.9% 0.171 265.4);
Tailwind
colors: {
  custom: {
    50: '#8b9ae9',
    500: '#4872de',
    950: '#000000',
  },
}
SCSS
$custom: #4872de;
$custom-light: #8b9ae9;
$custom-dark: #000000;
JSON
{
  "hex": "#4872de",
  "rgb": {
    "r": 72,
    "g": 114,
    "b": 222
  },
  "hsl": {
    "h": 223.2,
    "s": 69.444,
    "l": 57.647
  },
  "oklch": {
    "l": 0.57893,
    "c": 0.1713,
    "h": 265.4
  },
  "luminance": 0.18686
}

Semantic roles & 50–950 ramp

primary
#4872DE
secondary
#DFCEA3
accent
#BB3CEC
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #4872DE

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

Preview Lab → · Contrast checker → · Palette generator →

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