#4872CB#4872CB

#4872CB is a mid, vivid blue. Relative luminance 0.177; OKLCH L 56.6% C 0.145 H 263.4°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#4872CB
RGBrgb(72, 114, 203)
HSLhsl(221, 56%, 54%)
HSVhsv(221, 65%, 80%)
CMYKcmyk(64.5%, 43.8%, 0%, 20.4%)
CIE-LABlab(49.16, 13.87, -50.60)
CIE-LCHlch(49.16, 52.47, 285.33°)
OKLaboklab(56.63% -0.0166 -0.1445)
OKLCHoklch(56.63% 0.145 263.4)
XYZxyz(19.4655, 17.7223, 58.8833)
Luminance0.1772 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4872CB #CBA148
analogous
#48B4CB #4872CB #6048CB
triadic
#4872CB #CB4872 #72CB48
tetradic
#4872CB #CB48B4 #CBA148 #48CB60
square
#4872CB #CB48B4 #CBA148 #48CB60
split-complementary
#4872CB #CB6048 #B4CB48
monochromatic
#223D77 #2F56A6 #4872CB #7897D9 #A7BBE6

Accessibility & contrast

On white

4.62
#4872CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#4872CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4872CB
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4872CB#FFFFFF#000000##FFFFFF
##4872CB1.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#487BCE
Deuteranopia (green-blind)
#326FC9
Tritanopia (blue-blind)
#008694
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4872cb;
/* rgb */ color: rgb(72, 114, 203);
/* oklch */ color: oklch(56.6% 0.145 263.4);
Tailwind
colors: {
  custom: {
    50: '#889adb',
    500: '#4872cb',
    950: '#000000',
  },
}
SCSS
$custom: #4872cb;
$custom-light: #889adb;
$custom-dark: #000000;
JSON
{
  "hex": "#4872cb",
  "rgb": {
    "r": 72,
    "g": 114,
    "b": 203
  },
  "hsl": {
    "h": 220.763,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.56633,
    "c": 0.14542,
    "h": 263.4
  },
  "luminance": 0.17724
}

Semantic roles & 50–950 ramp

primary
#4872CB
secondary
#D3C19B
accent
#AF49DF
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4872CB

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

Preview Lab → · Contrast checker → · Palette generator →

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