#4876CC#4876CC

#4876CC is a mid, vivid blue. Relative luminance 0.187; OKLCH L 57.6% C 0.142 H 261.8°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#4876CC
RGBrgb(72, 118, 204)
HSLhsl(219, 56%, 54%)
HSVhsv(219, 65%, 80%)
CMYKcmyk(64.7%, 42.2%, 0%, 20%)
CIE-LABlab(50.33, 11.74, -49.31)
CIE-LCHlch(50.33, 50.69, 283.39°)
OKLaboklab(57.55% -0.0204 -0.1406)
OKLCHoklch(57.55% 0.142 261.8)
XYZxyz(20.0462, 18.6923, 59.6666)
Luminance0.1869 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4876CC #CC9E48
analogous
#48B8CC #4876CC #5C48CC
triadic
#4876CC #CC4876 #76CC48
tetradic
#4876CC #CC48B8 #CC9E48 #48CC5C
square
#4876CC #CC48B8 #CC9E48 #48CC5C
split-complementary
#4876CC #CC5C48 #B8CC48
monochromatic
#214078 #2F59A8 #4876CC #789AD9 #A8BEE7

Accessibility & contrast

On white

4.43
#4876CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#4876CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4876CC
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4876CC#FFFFFF#000000##000000
##4876CC1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E7ECF
Deuteranopia (green-blind)
#3A72CA
Tritanopia (blue-blind)
#008A97
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4876cc;
/* rgb */ color: rgb(72, 118, 204);
/* oklch */ color: oklch(57.6% 0.142 261.8);
Tailwind
colors: {
  custom: {
    50: '#889ddc',
    500: '#4876cc',
    950: '#000000',
  },
}
SCSS
$custom: #4876cc;
$custom-light: #889ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#4876cc",
  "rgb": {
    "r": 72,
    "g": 118,
    "b": 204
  },
  "hsl": {
    "h": 219.091,
    "s": 56.41,
    "l": 54.118
  },
  "oklch": {
    "l": 0.57552,
    "c": 0.14209,
    "h": 261.8
  },
  "luminance": 0.18694
}

Semantic roles & 50–950 ramp

primary
#4876CC
secondary
#D4C09C
accent
#AB48E0
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4876CC

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

Preview Lab → · Contrast checker → · Palette generator →

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