#4877CF#4877CF

#4877CF is a mid, vivid blue. Relative luminance 0.191; OKLCH L 58.0% C 0.145 H 261.8°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#4877CF
RGBrgb(72, 119, 207)
HSLhsl(219, 58%, 55%)
HSVhsv(219, 65%, 81%)
CMYKcmyk(65.2%, 42.5%, 0%, 18.8%)
CIE-LABlab(50.77, 12.17, -50.30)
CIE-LCHlch(50.77, 51.75, 283.60°)
OKLaboklab(57.95% -0.0208 -0.1435)
OKLCHoklch(57.95% 0.145 261.8)
XYZxyz(20.5278, 19.0744, 61.6193)
Luminance0.1908 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4877CF #CFA048
analogous
#48BBCF #4877CF #5C48CF
triadic
#4877CF #CF4877 #77CF48
tetradic
#4877CF #CF48BB #CFA048 #48CF5C
square
#4877CF #CF48BB #CFA048 #48CF5C
split-complementary
#4877CF #CF5C48 #BBCF48
monochromatic
#21407C #2D5AAD #4877CF #789BDC #A9BFE8

Accessibility & contrast

On white

4.36
#4877CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#4877CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4877CF
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4877CF#FFFFFF#000000##000000
##4877CF1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E80D2
Deuteranopia (green-blind)
#3973CD
Tritanopia (blue-blind)
#008B99
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4877cf;
/* rgb */ color: rgb(72, 119, 207);
/* oklch */ color: oklch(58.0% 0.145 261.8);
Tailwind
colors: {
  custom: {
    50: '#889dde',
    500: '#4877cf',
    950: '#000000',
  },
}
SCSS
$custom: #4877cf;
$custom-light: #889dde;
$custom-dark: #000000;
JSON
{
  "hex": "#4877cf",
  "rgb": {
    "r": 72,
    "g": 119,
    "b": 207
  },
  "hsl": {
    "h": 219.111,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.57954,
    "c": 0.14502,
    "h": 261.8
  },
  "luminance": 0.19076
}

Semantic roles & 50–950 ramp

primary
#4877CF
secondary
#D6C29D
accent
#AC46E2
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0D0E15
muted
#7D7E83

Preview Lab

Preview with #4877CF

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

Preview Lab → · Contrast checker → · Palette generator →

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