#4876CE#4876CE

#4876CE is a mid, vivid blue. Relative luminance 0.188; OKLCH L 57.7% C 0.145 H 262.1°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#4876CE
RGBrgb(72, 118, 206)
HSLhsl(219, 58%, 55%)
HSVhsv(219, 65%, 81%)
CMYKcmyk(65%, 42.7%, 0%, 19.2%)
CIE-LABlab(50.44, 12.44, -50.27)
CIE-LCHlch(50.44, 51.78, 283.90°)
OKLaboklab(57.68% -0.02 -0.1434)
OKLCHoklch(57.68% 0.145 262.1)
XYZxyz(20.2876, 18.7889, 60.9380)
Luminance0.1879 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4876CE #CEA048
analogous
#48B9CE #4876CE #5D48CE
triadic
#4876CE #CE4876 #76CE48
tetradic
#4876CE #CE48B9 #CEA048 #48CE5D
square
#4876CE #CE48B9 #CEA048 #48CE5D
split-complementary
#4876CE #CE5D48 #B9CE48
monochromatic
#21407B #2E59AB #4876CE #789ADB #A9BEE8

Accessibility & contrast

On white

4.41
#4876CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#4876CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4876CE
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4876CE#FFFFFF#000000##000000
##4876CE1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D7FD1
Deuteranopia (green-blind)
#3872CC
Tritanopia (blue-blind)
#008A98
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4876ce;
/* rgb */ color: rgb(72, 118, 206);
/* oklch */ color: oklch(57.7% 0.145 262.1);
Tailwind
colors: {
  custom: {
    50: '#889ddd',
    500: '#4876ce',
    950: '#000000',
  },
}
SCSS
$custom: #4876ce;
$custom-light: #889ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#4876ce",
  "rgb": {
    "r": 72,
    "g": 118,
    "b": 206
  },
  "hsl": {
    "h": 219.403,
    "s": 57.759,
    "l": 54.51
  },
  "oklch": {
    "l": 0.57677,
    "c": 0.14482,
    "h": 262.1
  },
  "luminance": 0.18791
}

Semantic roles & 50–950 ramp

primary
#4876CE
secondary
#D5C29D
accent
#AC47E1
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0D0E15
muted
#7D7E83

Preview Lab

Preview with #4876CE

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

Preview Lab → · Contrast checker → · Palette generator →

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