#4872D6#4872D6

#4872D6 is a mid, vivid blue. Relative luminance 0.183; OKLCH L 57.4% C 0.160 H 264.7°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#4872D6
RGBrgb(72, 114, 214)
HSLhsl(222, 63%, 56%)
HSVhsv(222, 66%, 84%)
CMYKcmyk(66.4%, 46.7%, 0%, 16.1%)
CIE-LABlab(49.82, 17.73, -55.81)
CIE-LCHlch(49.82, 58.56, 287.62°)
OKLaboklab(57.35% -0.0148 -0.1598)
OKLCHoklch(57.35% 0.16 264.7)
XYZxyz(20.8232, 18.2654, 66.0335)
Luminance0.1827 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4872D6 #D6AC48
analogous
#48B9D6 #4872D6 #6548D6
triadic
#4872D6 #D64872 #72D648
tetradic
#4872D6 #D648B9 #D6AC48 #48D665
square
#4872D6 #D648B9 #D6AC48 #48D665
split-complementary
#4872D6 #D66548 #B9D648
monochromatic
#1E3D86 #2953B8 #4872D6 #7A99E1 #ACBFEC

Accessibility & contrast

On white

4.51
#4872D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#4872D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4872D6
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4872D6#FFFFFF#000000##000000
##4872D61.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F7DDA
Deuteranopia (green-blind)
#2170D4
Tritanopia (blue-blind)
#00899A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4872d6;
/* rgb */ color: rgb(72, 114, 214);
/* oklch */ color: oklch(57.4% 0.160 264.7);
Tailwind
colors: {
  custom: {
    50: '#8a9ae3',
    500: '#4872d6',
    950: '#000000',
  },
}
SCSS
$custom: #4872d6;
$custom-light: #8a9ae3;
$custom-dark: #000000;
JSON
{
  "hex": "#4872d6",
  "rgb": {
    "r": 72,
    "g": 114,
    "b": 214
  },
  "hsl": {
    "h": 222.254,
    "s": 63.393,
    "l": 56.078
  },
  "oklch": {
    "l": 0.57351,
    "c": 0.16048,
    "h": 264.7
  },
  "luminance": 0.18267
}

Semantic roles & 50–950 ramp

primary
#4872D6
secondary
#DAC9A0
accent
#B641E6
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E15
muted
#7E7E84

Preview Lab

Preview with #4872D6

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

Preview Lab → · Contrast checker → · Palette generator →

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