#4876D2#4876D2

#4876D2 is a mid, vivid blue. Relative luminance 0.190; OKLCH L 57.9% C 0.150 H 262.6°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#4876D2
RGBrgb(72, 118, 210)
HSLhsl(220, 61%, 55%)
HSVhsv(220, 66%, 82%)
CMYKcmyk(65.7%, 43.8%, 0%, 17.6%)
CIE-LABlab(50.67, 13.84, -52.17)
CIE-LCHlch(50.67, 53.98, 284.85°)
OKLaboklab(57.93% -0.0192 -0.149)
OKLCHoklch(57.93% 0.15 262.6)
XYZxyz(20.7797, 18.9857, 63.5298)
Luminance0.1899 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4876D2 #D2A448
analogous
#48BBD2 #4876D2 #5F48D2
triadic
#4876D2 #D24876 #76D248
tetradic
#4876D2 #D248BB #D2A448 #48D25F
square
#4876D2 #D248BB #D2A448 #48D25F
split-complementary
#4876D2 #D25F48 #BBD248
monochromatic
#204080 #2C58B1 #4876D2 #799BDE #AAC0EA

Accessibility & contrast

On white

4.38
#4876D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#4876D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4876D2
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4876D2#FFFFFF#000000##000000
##4876D21.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A7FD6
Deuteranopia (green-blind)
#3373D0
Tritanopia (blue-blind)
#008B9A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4876d2;
/* rgb */ color: rgb(72, 118, 210);
/* oklch */ color: oklch(57.9% 0.150 262.6);
Tailwind
colors: {
  custom: {
    50: '#899de0',
    500: '#4876d2',
    950: '#000000',
  },
}
SCSS
$custom: #4876d2;
$custom-light: #899de0;
$custom-dark: #000000;
JSON
{
  "hex": "#4876d2",
  "rgb": {
    "r": 72,
    "g": 118,
    "b": 210
  },
  "hsl": {
    "h": 220,
    "s": 60.526,
    "l": 55.294
  },
  "oklch": {
    "l": 0.5793,
    "c": 0.15027,
    "h": 262.6
  },
  "luminance": 0.18988
}

Semantic roles & 50–950 ramp

primary
#4876D2
secondary
#D8C59E
accent
#AE44E4
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4876D2

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

Preview Lab → · Contrast checker → · Palette generator →

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