#4872B7#4872B7

#4872B7 is a mid, moderate blue. Relative luminance 0.168; OKLCH L 55.4% C 0.118 H 259.9°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#4872B7
RGBrgb(72, 114, 183)
HSLhsl(217, 44%, 50%)
HSVhsv(217, 61%, 72%)
CMYKcmyk(60.7%, 37.7%, 0%, 28.2%)
CIE-LABlab(48.04, 6.94, -40.87)
CIE-LCHlch(48.04, 41.45, 279.64°)
OKLaboklab(55.41% -0.0207 -0.1159)
OKLCHoklch(55.41% 0.118 259.9)
XYZxyz(17.2340, 16.8297, 47.1308)
Luminance0.1683 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4872B7 #B78D48
analogous
#48AAB7 #4872B7 #5548B7
triadic
#4872B7 #B74872 #72B748
tetradic
#4872B7 #B748AA #B78D48 #48B755
square
#4872B7 #B748AA #B78D48 #48B755
split-complementary
#4872B7 #B75548 #AAB748
monochromatic
#253B5F #37578B #4872B7 #7494C8 #A0B6DA

Accessibility & contrast

On white

4.81
#4872B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#4872B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4872B7
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4872B7#FFFFFF#000000##FFFFFF
##4872B71.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5578BA
Deuteranopia (green-blind)
#466DB6
Tritanopia (blue-blind)
#00828C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4872b7;
/* rgb */ color: rgb(72, 114, 183);
/* oklch */ color: oklch(55.4% 0.118 259.9);
Tailwind
colors: {
  custom: {
    50: '#849acd',
    500: '#4872b7',
    950: '#000000',
  },
}
SCSS
$custom: #4872b7;
$custom-light: #849acd;
$custom-dark: #000000;
JSON
{
  "hex": "#4872b7",
  "rgb": {
    "r": 72,
    "g": 114,
    "b": 183
  },
  "hsl": {
    "h": 217.297,
    "s": 43.529,
    "l": 50
  },
  "oklch": {
    "l": 0.55412,
    "c": 0.11777,
    "h": 259.9
  },
  "luminance": 0.16831
}

Semantic roles & 50–950 ramp

primary
#4872B7
secondary
#C6B395
accent
#A355D3
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E13
muted
#7D7E82

Preview Lab

Preview with #4872B7

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

Preview Lab → · Contrast checker → · Palette generator →

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