#4872D9#4872D9

#4872D9 is a mid, vivid blue. Relative luminance 0.184; OKLCH L 57.6% C 0.165 H 265.0°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#4872D9
RGBrgb(72, 114, 217)
HSLhsl(223, 66%, 57%)
HSVhsv(223, 67%, 85%)
CMYKcmyk(66.8%, 47.5%, 0%, 14.9%)
CIE-LABlab(50.00, 18.78, -57.22)
CIE-LCHlch(50.00, 60.22, 288.18°)
OKLaboklab(57.55% -0.0144 -0.1639)
OKLCHoklch(57.55% 0.165 265)
XYZxyz(21.2098, 18.4200, 68.0698)
Luminance0.1842 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4872D9 #D9AF48
analogous
#48BAD9 #4872D9 #6748D9
triadic
#4872D9 #D94872 #72D948
tetradic
#4872D9 #D948BA #D9AF48 #48D967
square
#4872D9 #D948BA #D9AF48 #48D967
split-complementary
#4872D9 #D96748 #BAD948
monochromatic
#1D3C8A #2752BD #4872D9 #7B99E4 #ADC0EE

Accessibility & contrast

On white

4.48
#4872D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#4872D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4872D9
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4872D9#FFFFFF#000000##000000
##4872D91.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C7EDD
Deuteranopia (green-blind)
#1A71D7
Tritanopia (blue-blind)
#008A9B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4872d9;
/* rgb */ color: rgb(72, 114, 217);
/* oklch */ color: oklch(57.6% 0.165 265.0);
Tailwind
colors: {
  custom: {
    50: '#8a9ae5',
    500: '#4872d9',
    950: '#000000',
  },
}
SCSS
$custom: #4872d9;
$custom-light: #8a9ae5;
$custom-dark: #000000;
JSON
{
  "hex": "#4872d9",
  "rgb": {
    "r": 72,
    "g": 114,
    "b": 217
  },
  "hsl": {
    "h": 222.621,
    "s": 65.611,
    "l": 56.667
  },
  "oklch": {
    "l": 0.57553,
    "c": 0.16454,
    "h": 265
  },
  "luminance": 0.18422
}

Semantic roles & 50–950 ramp

primary
#4872D9
secondary
#DCCBA1
accent
#B83FE9
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #4872D9

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

Preview Lab → · Contrast checker → · Palette generator →

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