#4876C7#4876C7

#4876C7 is a mid, vivid blue. Relative luminance 0.185; OKLCH L 57.2% C 0.135 H 260.9°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#4876C7
RGBrgb(72, 118, 199)
HSLhsl(218, 53%, 53%)
HSVhsv(218, 64%, 78%)
CMYKcmyk(63.8%, 40.7%, 0%, 22%)
CIE-LABlab(50.04, 10.00, -46.90)
CIE-LCHlch(50.04, 47.96, 282.03°)
OKLaboklab(57.24% -0.0214 -0.1335)
OKLCHoklch(57.24% 0.135 260.9)
XYZxyz(19.4561, 18.4563, 56.5588)
Luminance0.1846 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4876C7 #C79948
analogous
#48B5C7 #4876C7 #5948C7
triadic
#4876C7 #C74876 #76C748
tetradic
#4876C7 #C748B5 #C79948 #48C759
square
#4876C7 #C748B5 #C79948 #48C759
split-complementary
#4876C7 #C75948 #B5C748
monochromatic
#233F72 #315AA1 #4876C7 #7799D5 #A6BCE4

Accessibility & contrast

On white

4.48
#4876C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#4876C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4876C7
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4876C7#FFFFFF#000000##000000
##4876C71.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#527DCA
Deuteranopia (green-blind)
#3F72C5
Tritanopia (blue-blind)
#008895
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4876c7;
/* rgb */ color: rgb(72, 118, 199);
/* oklch */ color: oklch(57.2% 0.135 260.9);
Tailwind
colors: {
  custom: {
    50: '#879dd8',
    500: '#4876c7',
    950: '#000000',
  },
}
SCSS
$custom: #4876c7;
$custom-light: #879dd8;
$custom-dark: #000000;
JSON
{
  "hex": "#4876c7",
  "rgb": {
    "r": 72,
    "g": 118,
    "b": 199
  },
  "hsl": {
    "h": 218.268,
    "s": 53.138,
    "l": 53.137
  },
  "oklch": {
    "l": 0.57244,
    "c": 0.13525,
    "h": 260.9
  },
  "luminance": 0.18458
}

Semantic roles & 50–950 ramp

primary
#4876C7
secondary
#D1BD9A
accent
#A84BDD
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #4876C7

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

Preview Lab → · Contrast checker → · Palette generator →

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