#4877BE#4877BE

#4877BE is a mid, vivid blue. Relative luminance 0.183; OKLCH L 56.9% C 0.122 H 258.4°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#4877BE
RGBrgb(72, 119, 190)
HSLhsl(216, 48%, 51%)
HSVhsv(216, 62%, 75%)
CMYKcmyk(62.1%, 37.4%, 0%, 25.5%)
CIE-LABlab(49.84, 6.28, -42.06)
CIE-LCHlch(49.84, 42.53, 278.49°)
OKLaboklab(56.93% -0.0244 -0.1194)
OKLCHoklch(56.93% 0.122 258.4)
XYZxyz(18.5603, 18.2874, 51.2569)
Luminance0.1829 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4877BE #BE8F48
analogous
#48B2BE #4877BE #5448BE
triadic
#4877BE #BE4877 #77BE48
tetradic
#4877BE #BE48B2 #BE8F48 #48BE54
square
#4877BE #BE48B2 #BE8F48 #48BE54
split-complementary
#4877BE #BE5448 #B2BE48
monochromatic
#253F67 #355B94 #4877BE #7599CE #A2BADE

Accessibility & contrast

On white

4.51
#4877BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#4877BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4877BE
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4877BE#FFFFFF#000000##000000
##4877BE1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#587DC1
Deuteranopia (green-blind)
#4871BD
Tritanopia (blue-blind)
#008791
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4877be;
/* rgb */ color: rgb(72, 119, 190);
/* oklch */ color: oklch(56.9% 0.122 258.4);
Tailwind
colors: {
  custom: {
    50: '#859dd2',
    500: '#4877be',
    950: '#000000',
  },
}
SCSS
$custom: #4877be;
$custom-light: #859dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#4877be",
  "rgb": {
    "r": 72,
    "g": 119,
    "b": 190
  },
  "hsl": {
    "h": 216.102,
    "s": 47.581,
    "l": 51.373
  },
  "oklch": {
    "l": 0.56929,
    "c": 0.12184,
    "h": 258.4
  },
  "luminance": 0.18289
}

Semantic roles & 50–950 ramp

primary
#4877BE
secondary
#CBB697
accent
#A251D7
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #4877BE

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

Preview Lab → · Contrast checker → · Palette generator →

#4877BE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva