#4872B2#4872B2

#4872B2 is a mid, moderate blue. Relative luminance 0.166; OKLCH L 55.1% C 0.111 H 258.6°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#4872B2
RGBrgb(72, 114, 178)
HSLhsl(216, 42%, 49%)
HSVhsv(216, 60%, 70%)
CMYKcmyk(59.6%, 36%, 0%, 30.2%)
CIE-LABlab(47.78, 5.24, -38.38)
CIE-LCHlch(47.78, 38.74, 277.78°)
OKLaboklab(55.12% -0.022 -0.1087)
OKLCHoklch(55.12% 0.111 258.6)
XYZxyz(16.7229, 16.6253, 44.4386)
Luminance0.1663 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4872B2 #B28848
analogous
#48A7B2 #4872B2 #5348B2
triadic
#4872B2 #B24872 #72B248
tetradic
#4872B2 #B248A7 #B28848 #48B253
square
#4872B2 #B248A7 #B28848 #48B253
split-complementary
#4872B2 #B25348 #A7B248
monochromatic
#253A5B #365686 #4872B2 #7193C6 #9DB4D7

Accessibility & contrast

On white

4.86
#4872B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#4872B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4872B2
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4872B2#FFFFFF#000000##FFFFFF
##4872B21.004.864.334.86
#FFFFFF4.861.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5777B5
Deuteranopia (green-blind)
#496DB1
Tritanopia (blue-blind)
#008089
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4872b2;
/* rgb */ color: rgb(72, 114, 178);
/* oklch */ color: oklch(55.1% 0.111 258.6);
Tailwind
colors: {
  custom: {
    50: '#849ac9',
    500: '#4872b2',
    950: '#000000',
  },
}
SCSS
$custom: #4872b2;
$custom-light: #849ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#4872b2",
  "rgb": {
    "r": 72,
    "g": 114,
    "b": 178
  },
  "hsl": {
    "h": 216.226,
    "s": 42.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.55124,
    "c": 0.11086,
    "h": 258.6
  },
  "luminance": 0.16627
}

Semantic roles & 50–950 ramp

primary
#4872B2
secondary
#C4B092
accent
#A156D2
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0B0E13
muted
#7C7E82

Preview Lab

Preview with #4872B2

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

Preview Lab → · Contrast checker → · Palette generator →

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