#4876C4#4876C4

#4876C4 is a mid, vivid blue. Relative luminance 0.183; OKLCH L 57.1% C 0.131 H 260.3°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#4876C4
RGBrgb(72, 118, 196)
HSLhsl(218, 51%, 53%)
HSVhsv(218, 63%, 77%)
CMYKcmyk(63.3%, 39.8%, 0%, 23.1%)
CIE-LABlab(49.88, 8.96, -45.45)
CIE-LCHlch(49.88, 46.32, 281.15°)
OKLaboklab(57.06% -0.022 -0.1293)
OKLCHoklch(57.06% 0.131 260.3)
XYZxyz(19.1112, 18.3183, 54.7425)
Luminance0.1832 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4876C4 #C49648
analogous
#48B4C4 #4876C4 #5848C4
triadic
#4876C4 #C44876 #76C448
tetradic
#4876C4 #C448B4 #C49648 #48C458
square
#4876C4 #C448B4 #C49648 #48C458
split-complementary
#4876C4 #C45848 #B4C448
monochromatic
#233F6E #325A9C #4876C4 #7699D3 #A5BBE2

Accessibility & contrast

On white

4.50
#4876C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#4876C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4876C4
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4876C4#FFFFFF#000000##000000
##4876C41.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#537DC7
Deuteranopia (green-blind)
#4271C2
Tritanopia (blue-blind)
#008893
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4876c4;
/* rgb */ color: rgb(72, 118, 196);
/* oklch */ color: oklch(57.1% 0.131 260.3);
Tailwind
colors: {
  custom: {
    50: '#869dd6',
    500: '#4876c4',
    950: '#000000',
  },
}
SCSS
$custom: #4876c4;
$custom-light: #869dd6;
$custom-dark: #000000;
JSON
{
  "hex": "#4876c4",
  "rgb": {
    "r": 72,
    "g": 118,
    "b": 196
  },
  "hsl": {
    "h": 217.742,
    "s": 51.24,
    "l": 52.549
  },
  "oklch": {
    "l": 0.57063,
    "c": 0.13114,
    "h": 260.3
  },
  "luminance": 0.1832
}

Semantic roles & 50–950 ramp

primary
#4876C4
secondary
#CFBB99
accent
#A64DDB
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #4876C4

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

Preview Lab → · Contrast checker → · Palette generator →

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