#4876CB#4876CB

#4876CB is a mid, vivid blue. Relative luminance 0.186; OKLCH L 57.5% C 0.141 H 261.6°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#4876CB
RGBrgb(72, 118, 203)
HSLhsl(219, 56%, 54%)
HSVhsv(219, 65%, 80%)
CMYKcmyk(64.5%, 41.9%, 0%, 20.4%)
CIE-LABlab(50.27, 11.39, -48.83)
CIE-LCHlch(50.27, 50.14, 283.13°)
OKLaboklab(57.49% -0.0206 -0.1392)
OKLCHoklch(57.49% 0.141 261.6)
XYZxyz(19.9266, 18.6445, 59.0370)
Luminance0.1865 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4876CB #CB9D48
analogous
#48B8CB #4876CB #5C48CB
triadic
#4876CB #CB4876 #76CB48
tetradic
#4876CB #CB48B8 #CB9D48 #48CB5C
square
#4876CB #CB48B8 #CB9D48 #48CB5C
split-complementary
#4876CB #CB5C48 #B8CB48
monochromatic
#224077 #2F59A6 #4876CB #789AD9 #A7BDE6

Accessibility & contrast

On white

4.44
#4876CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#4876CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4876CB
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4876CB#FFFFFF#000000##000000
##4876CB1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F7ECE
Deuteranopia (green-blind)
#3B72C9
Tritanopia (blue-blind)
#008996
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4876cb;
/* rgb */ color: rgb(72, 118, 203);
/* oklch */ color: oklch(57.5% 0.141 261.6);
Tailwind
colors: {
  custom: {
    50: '#889ddb',
    500: '#4876cb',
    950: '#000000',
  },
}
SCSS
$custom: #4876cb;
$custom-light: #889ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#4876cb",
  "rgb": {
    "r": 72,
    "g": 118,
    "b": 203
  },
  "hsl": {
    "h": 218.931,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.5749,
    "c": 0.14072,
    "h": 261.6
  },
  "luminance": 0.18646
}

Semantic roles & 50–950 ramp

primary
#4876CB
secondary
#D3C09B
accent
#AA49DF
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4876CB

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

Preview Lab → · Contrast checker → · Palette generator →

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