#4876D9#4876D9

#4876D9 is a mid, vivid blue. Relative luminance 0.193; OKLCH L 58.4% C 0.160 H 263.5°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#4876D9
RGBrgb(72, 118, 217)
HSLhsl(221, 66%, 57%)
HSVhsv(221, 67%, 85%)
CMYKcmyk(66.8%, 45.6%, 0%, 14.9%)
CIE-LABlab(51.09, 16.30, -55.48)
CIE-LCHlch(51.09, 57.82, 286.37°)
OKLaboklab(58.38% -0.0181 -0.1587)
OKLCHoklch(58.38% 0.16 263.5)
XYZxyz(21.6709, 19.3422, 68.2235)
Luminance0.1934 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4876D9 #D9AB48
analogous
#48BED9 #4876D9 #6348D9
triadic
#4876D9 #D94876 #76D948
tetradic
#4876D9 #D948BE #D9AB48 #48D963
square
#4876D9 #D948BE #D9AB48 #48D963
split-complementary
#4876D9 #D96348 #BED948
monochromatic
#1D3F8A #2757BD #4876D9 #7B9CE4 #ADC2EE

Accessibility & contrast

On white

4.31
#4876D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#4876D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4876D9
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4876D9#FFFFFF#000000##000000
##4876D91.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4481DD
Deuteranopia (green-blind)
#2873D7
Tritanopia (blue-blind)
#008D9D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4876d9;
/* rgb */ color: rgb(72, 118, 217);
/* oklch */ color: oklch(58.4% 0.160 263.5);
Tailwind
colors: {
  custom: {
    50: '#8a9de5',
    500: '#4876d9',
    950: '#000000',
  },
}
SCSS
$custom: #4876d9;
$custom-light: #8a9de5;
$custom-dark: #000000;
JSON
{
  "hex": "#4876d9",
  "rgb": {
    "r": 72,
    "g": 118,
    "b": 217
  },
  "hsl": {
    "h": 220.966,
    "s": 65.611,
    "l": 56.667
  },
  "oklch": {
    "l": 0.58383,
    "c": 0.15977,
    "h": 263.5
  },
  "luminance": 0.19344
}

Semantic roles & 50–950 ramp

primary
#4876D9
secondary
#DCC9A1
accent
#B33FE9
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4876D9

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

Preview Lab → · Contrast checker → · Palette generator →

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