#4872B0#4872B0

#4872B0 is a mid, moderate blue. Relative luminance 0.165; OKLCH L 55.0% C 0.108 H 258.0°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#4872B0
RGBrgb(72, 114, 176)
HSLhsl(216, 42%, 49%)
HSVhsv(216, 59%, 69%)
CMYKcmyk(59.1%, 35.2%, 0%, 31%)
CIE-LABlab(47.68, 4.56, -37.38)
CIE-LCHlch(47.68, 37.66, 276.96°)
OKLaboklab(55.01% -0.0225 -0.1057)
OKLCHoklch(55.01% 0.108 258)
XYZxyz(16.5235, 16.5455, 43.3887)
Luminance0.1655 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4872B0 #B08648
analogous
#48A6B0 #4872B0 #5248B0
triadic
#4872B0 #B04872 #72B048
tetradic
#4872B0 #B048A6 #B08648 #48B052
square
#4872B0 #B048A6 #B08648 #48B052
split-complementary
#4872B0 #B05248 #A6B048
monochromatic
#243A59 #365685 #4872B0 #7093C5 #9CB4D6

Accessibility & contrast

On white

4.87
#4872B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#4872B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4872B0
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4872B0#FFFFFF#000000##FFFFFF
##4872B01.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5876B3
Deuteranopia (green-blind)
#4B6DAF
Tritanopia (blue-blind)
#008089
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4872b0;
/* rgb */ color: rgb(72, 114, 176);
/* oklch */ color: oklch(55.0% 0.108 258.0);
Tailwind
colors: {
  custom: {
    50: '#839ac8',
    500: '#4872b0',
    950: '#000000',
  },
}
SCSS
$custom: #4872b0;
$custom-light: #839ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#4872b0",
  "rgb": {
    "r": 72,
    "g": 114,
    "b": 176
  },
  "hsl": {
    "h": 215.769,
    "s": 41.935,
    "l": 48.627
  },
  "oklch": {
    "l": 0.55011,
    "c": 0.10811,
    "h": 258
  },
  "luminance": 0.16547
}

Semantic roles & 50–950 ramp

primary
#4872B0
secondary
#C3AF91
accent
#A056D2
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0B0E13
muted
#7C7E82

Preview Lab

Preview with #4872B0

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

Preview Lab → · Contrast checker → · Palette generator →

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