#4876CD#4876CD

#4876CD is a mid, vivid blue. Relative luminance 0.187; OKLCH L 57.6% C 0.143 H 261.9°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#4876CD
RGBrgb(72, 118, 205)
HSLhsl(219, 57%, 54%)
HSVhsv(219, 65%, 80%)
CMYKcmyk(64.9%, 42.4%, 0%, 19.6%)
CIE-LABlab(50.38, 12.09, -49.79)
CIE-LCHlch(50.38, 51.24, 283.65°)
OKLaboklab(57.61% -0.0202 -0.142)
OKLCHoklch(57.61% 0.143 261.9)
XYZxyz(20.1665, 18.7404, 60.3003)
Luminance0.1874 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4876CD #CD9F48
analogous
#48B9CD #4876CD #5D48CD
triadic
#4876CD #CD4876 #76CD48
tetradic
#4876CD #CD48B9 #CD9F48 #48CD5D
square
#4876CD #CD48B9 #CD9F48 #48CD5D
split-complementary
#4876CD #CD5D48 #B9CD48
monochromatic
#214079 #2E59A9 #4876CD #789ADA #A8BEE7

Accessibility & contrast

On white

4.42
#4876CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#4876CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4876CD
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4876CD#FFFFFF#000000##000000
##4876CD1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E7FD0
Deuteranopia (green-blind)
#3972CB
Tritanopia (blue-blind)
#008A97
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4876cd;
/* rgb */ color: rgb(72, 118, 205);
/* oklch */ color: oklch(57.6% 0.143 261.9);
Tailwind
colors: {
  custom: {
    50: '#889ddd',
    500: '#4876cd',
    950: '#000000',
  },
}
SCSS
$custom: #4876cd;
$custom-light: #889ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#4876cd",
  "rgb": {
    "r": 72,
    "g": 118,
    "b": 205
  },
  "hsl": {
    "h": 219.248,
    "s": 57.082,
    "l": 54.314
  },
  "oklch": {
    "l": 0.57614,
    "c": 0.14346,
    "h": 261.9
  },
  "luminance": 0.18742
}

Semantic roles & 50–950 ramp

primary
#4876CD
secondary
#D5C19C
accent
#AB47E0
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4876CD

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

Preview Lab → · Contrast checker → · Palette generator →

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