#4873BF#4873BF

#4873BF is a mid, vivid blue. Relative luminance 0.174; OKLCH L 56.1% C 0.128 H 261.0°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#4873BF
RGBrgb(72, 115, 191)
HSLhsl(218, 48%, 52%)
HSVhsv(218, 62%, 75%)
CMYKcmyk(62.3%, 39.8%, 0%, 25.1%)
CIE-LABlab(48.76, 9.08, -44.36)
CIE-LCHlch(48.76, 45.27, 281.57°)
OKLaboklab(56.11% -0.02 -0.1261)
OKLCHoklch(56.11% 0.128 261)
XYZxyz(18.2039, 17.3991, 51.6792)
Luminance0.1740 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4873BF #BF9448
analogous
#48AFBF #4873BF #5948BF
triadic
#4873BF #BF4873 #73BF48
tetradic
#4873BF #BF48AF #BF9448 #48BF59
square
#4873BF #BF48AF #BF9448 #48BF59
split-complementary
#4873BF #BF5948 #AFBF48
monochromatic
#243D68 #345796 #4873BF #7596CF #A3B8DF

Accessibility & contrast

On white

4.69
#4873BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#4873BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4873BF
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4873BF#FFFFFF#000000##FFFFFF
##4873BF1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#527AC2
Deuteranopia (green-blind)
#416FBD
Tritanopia (blue-blind)
#008490
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4873bf;
/* rgb */ color: rgb(72, 115, 191);
/* oklch */ color: oklch(56.1% 0.128 261.0);
Tailwind
colors: {
  custom: {
    50: '#869ad3',
    500: '#4873bf',
    950: '#000000',
  },
}
SCSS
$custom: #4873bf;
$custom-light: #869ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#4873bf",
  "rgb": {
    "r": 72,
    "g": 115,
    "b": 191
  },
  "hsl": {
    "h": 218.319,
    "s": 48.178,
    "l": 51.569
  },
  "oklch": {
    "l": 0.56106,
    "c": 0.12769,
    "h": 261
  },
  "luminance": 0.17401
}

Semantic roles & 50–950 ramp

primary
#4873BF
secondary
#CCB997
accent
#A750D8
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #4873BF

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

Preview Lab → · Contrast checker → · Palette generator →

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