#4873BA#4873BA

#4873BA is a mid, vivid blue. Relative luminance 0.172; OKLCH L 55.8% C 0.121 H 259.9°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#4873BA
RGBrgb(72, 115, 186)
HSLhsl(217, 45%, 51%)
HSVhsv(217, 61%, 73%)
CMYKcmyk(61.3%, 38.2%, 0%, 27.1%)
CIE-LABlab(48.49, 7.36, -41.90)
CIE-LCHlch(48.49, 42.54, 279.96°)
OKLaboklab(55.81% -0.0211 -0.1189)
OKLCHoklch(55.81% 0.121 259.9)
XYZxyz(17.6630, 17.1828, 48.8306)
Luminance0.1718 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4873BA #BA8F48
analogous
#48ACBA #4873BA #5648BA
triadic
#4873BA #BA4873 #73BA48
tetradic
#4873BA #BA48AC #BA8F48 #48BA56
square
#4873BA #BA48AC #BA8F48 #48BA56
split-complementary
#4873BA #BA5648 #ACBA48
monochromatic
#253C62 #36578F #4873BA #7495CB #A1B7DC

Accessibility & contrast

On white

4.73
#4873BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#4873BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4873BA
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4873BA#FFFFFF#000000##FFFFFF
##4873BA1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5479BD
Deuteranopia (green-blind)
#456EB9
Tritanopia (blue-blind)
#00838D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4873ba;
/* rgb */ color: rgb(72, 115, 186);
/* oklch */ color: oklch(55.8% 0.121 259.9);
Tailwind
colors: {
  custom: {
    50: '#859acf',
    500: '#4873ba',
    950: '#000000',
  },
}
SCSS
$custom: #4873ba;
$custom-light: #859acf;
$custom-dark: #000000;
JSON
{
  "hex": "#4873ba",
  "rgb": {
    "r": 72,
    "g": 115,
    "b": 186
  },
  "hsl": {
    "h": 217.368,
    "s": 45.238,
    "l": 50.588
  },
  "oklch": {
    "l": 0.55809,
    "c": 0.12079,
    "h": 259.9
  },
  "luminance": 0.17184
}

Semantic roles & 50–950 ramp

primary
#4873BA
secondary
#C8B596
accent
#A453D5
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #4873BA

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

Preview Lab → · Contrast checker → · Palette generator →

#4873BA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva