#4876DE#4876DE

#4876DE is a mid, vivid blue. Relative luminance 0.196; OKLCH L 58.7% C 0.167 H 264.0°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#4876DE
RGBrgb(72, 118, 222)
HSLhsl(222, 69%, 58%)
HSVhsv(222, 68%, 87%)
CMYKcmyk(67.6%, 46.8%, 0%, 12.9%)
CIE-LABlab(51.39, 18.06, -57.81)
CIE-LCHlch(51.39, 60.57, 287.35°)
OKLaboklab(58.71% -0.0173 -0.1656)
OKLCHoklch(58.71% 0.167 264)
XYZxyz(22.3311, 19.6063, 71.7006)
Luminance0.1961 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4876DE #DEB048
analogous
#48C1DE #4876DE #6548DE
triadic
#4876DE #DE4876 #76DE48
tetradic
#4876DE #DE48C1 #DEB048 #48DE65
square
#4876DE #DE48C1 #DEB048 #48DE65
split-complementary
#4876DE #DE6548 #C1DE48
monochromatic
#1A3F91 #2455C5 #4876DE #7C9DE7 #B0C4F1

Accessibility & contrast

On white

4.27
#4876DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#4876DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4876DE
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4876DE#FFFFFF#000000##000000
##4876DE1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4082E2
Deuteranopia (green-blind)
#1E74DC
Tritanopia (blue-blind)
#008E9F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4876de;
/* rgb */ color: rgb(72, 118, 222);
/* oklch */ color: oklch(58.7% 0.167 264.0);
Tailwind
colors: {
  custom: {
    50: '#8b9ce9',
    500: '#4876de',
    950: '#000000',
  },
}
SCSS
$custom: #4876de;
$custom-light: #8b9ce9;
$custom-dark: #000000;
JSON
{
  "hex": "#4876de",
  "rgb": {
    "r": 72,
    "g": 118,
    "b": 222
  },
  "hsl": {
    "h": 221.6,
    "s": 69.444,
    "l": 57.647
  },
  "oklch": {
    "l": 0.58713,
    "c": 0.16651,
    "h": 264
  },
  "luminance": 0.19609
}

Semantic roles & 50–950 ramp

primary
#4876DE
secondary
#DFCDA3
accent
#B63CEC
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4876DE

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

Preview Lab → · Contrast checker → · Palette generator →

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