#4876CA#4876CA

#4876CA is a mid, vivid blue. Relative luminance 0.186; OKLCH L 57.4% C 0.139 H 261.4°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#4876CA
RGBrgb(72, 118, 202)
HSLhsl(219, 55%, 54%)
HSVhsv(219, 64%, 79%)
CMYKcmyk(64.4%, 41.6%, 0%, 20.8%)
CIE-LABlab(50.21, 11.04, -48.35)
CIE-LCHlch(50.21, 49.59, 282.86°)
OKLaboklab(57.43% -0.0208 -0.1378)
OKLCHoklch(57.43% 0.139 261.4)
XYZxyz(19.8078, 18.5970, 58.4114)
Luminance0.1860 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4876CA #CA9C48
analogous
#48B7CA #4876CA #5B48CA
triadic
#4876CA #CA4876 #76CA48
tetradic
#4876CA #CA48B7 #CA9C48 #48CA5B
square
#4876CA #CA48B7 #CA9C48 #48CA5B
split-complementary
#4876CA #CA5B48 #B7CA48
monochromatic
#224076 #3059A5 #4876CA #779AD8 #A7BDE5

Accessibility & contrast

On white

4.45
#4876CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#4876CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4876CA
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4876CA#FFFFFF#000000##000000
##4876CA1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#507ECD
Deuteranopia (green-blind)
#3C72C8
Tritanopia (blue-blind)
#008996
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4876ca;
/* rgb */ color: rgb(72, 118, 202);
/* oklch */ color: oklch(57.4% 0.139 261.4);
Tailwind
colors: {
  custom: {
    50: '#879dda',
    500: '#4876ca',
    950: '#000000',
  },
}
SCSS
$custom: #4876ca;
$custom-light: #879dda;
$custom-dark: #000000;
JSON
{
  "hex": "#4876ca",
  "rgb": {
    "r": 72,
    "g": 118,
    "b": 202
  },
  "hsl": {
    "h": 218.769,
    "s": 55.085,
    "l": 53.725
  },
  "oklch": {
    "l": 0.57428,
    "c": 0.13936,
    "h": 261.4
  },
  "luminance": 0.18599
}

Semantic roles & 50–950 ramp

primary
#4876CA
secondary
#D3BF9B
accent
#AA49DE
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4876CA

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

Preview Lab → · Contrast checker → · Palette generator →

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