#4876BA#4876BA

#4876BA is a mid, moderate blue. Relative luminance 0.179; OKLCH L 56.5% C 0.117 H 258.0°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#4876BA
RGBrgb(72, 118, 186)
HSLhsl(216, 45%, 51%)
HSVhsv(216, 61%, 73%)
CMYKcmyk(61.3%, 36.6%, 0%, 27.1%)
CIE-LABlab(49.35, 5.52, -40.54)
CIE-LCHlch(49.35, 40.91, 277.75°)
OKLaboklab(56.48% -0.0243 -0.1149)
OKLCHoklch(56.48% 0.117 258)
XYZxyz(18.0107, 17.8781, 48.9465)
Luminance0.1788 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4876BA #BA8C48
analogous
#48AFBA #4876BA #5348BA
triadic
#4876BA #BA4876 #76BA48
tetradic
#4876BA #BA48AF #BA8C48 #48BA53
square
#4876BA #BA48AF #BA8C48 #48BA53
split-complementary
#4876BA #BA5348 #AFBA48
monochromatic
#253E62 #365A8F #4876BA #7497CB #A1B9DC

Accessibility & contrast

On white

4.59
#4876BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#4876BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4876BA
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4876BA#FFFFFF#000000##FFFFFF
##4876BA1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#597BBD
Deuteranopia (green-blind)
#4A70B9
Tritanopia (blue-blind)
#00858F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4876ba;
/* rgb */ color: rgb(72, 118, 186);
/* oklch */ color: oklch(56.5% 0.117 258.0);
Tailwind
colors: {
  custom: {
    50: '#859dcf',
    500: '#4876ba',
    950: '#000000',
  },
}
SCSS
$custom: #4876ba;
$custom-light: #859dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#4876ba",
  "rgb": {
    "r": 72,
    "g": 118,
    "b": 186
  },
  "hsl": {
    "h": 215.789,
    "s": 45.238,
    "l": 50.588
  },
  "oklch": {
    "l": 0.56476,
    "c": 0.11748,
    "h": 258
  },
  "luminance": 0.1788
}

Semantic roles & 50–950 ramp

primary
#4876BA
secondary
#C8B496
accent
#A053D5
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #4876BA

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

Preview Lab → · Contrast checker → · Palette generator →

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