#4877EF#4877EF

#4877EF is a mid, vivid blue. Relative luminance 0.208; OKLCH L 60.1% C 0.188 H 265.1°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#4877EF
RGBrgb(72, 119, 239)
HSLhsl(223, 84%, 61%)
HSVhsv(223, 70%, 94%)
CMYKcmyk(69.9%, 50.2%, 0%, 6.3%)
CIE-LABlab(52.73, 23.44, -65.18)
CIE-LCHlch(52.73, 69.27, 289.78°)
OKLaboklab(60.08% -0.0161 -0.1873)
OKLCHoklch(60.08% 0.188 265.1)
XYZxyz(24.8438, 20.8008, 84.3503)
Luminance0.2080 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4877EF #EFC048
analogous
#48CAEF #4877EF #6C48EF
triadic
#4877EF #EF4877 #77EF48
tetradic
#4877EF #EF48CA #EFC048 #48EF6C
square
#4877EF #EF48CA #EFC048 #48EF6C
split-complementary
#4877EF #EF6C48 #CAEF48
monochromatic
#0F3CAD #144FE6 #4877EF #80A1F4 #B9CBF9

Accessibility & contrast

On white

4.07
#4877EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#4877EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4877EF
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4877EF#FFFFFF#000000##000000
##4877EF1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E86F3
Deuteranopia (green-blind)
#0077ED
Tritanopia (blue-blind)
#0094A8
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4877ef;
/* rgb */ color: rgb(72, 119, 239);
/* oklch */ color: oklch(60.1% 0.188 265.1);
Tailwind
colors: {
  custom: {
    50: '#8e9df5',
    500: '#4877ef',
    950: '#000000',
  },
}
SCSS
$custom: #4877ef;
$custom-light: #8e9df5;
$custom-dark: #000000;
JSON
{
  "hex": "#4877ef",
  "rgb": {
    "r": 72,
    "g": 119,
    "b": 239
  },
  "hsl": {
    "h": 223.114,
    "s": 83.92,
    "l": 60.98
  },
  "oklch": {
    "l": 0.60081,
    "c": 0.18797,
    "h": 265.1
  },
  "luminance": 0.20803
}

Semantic roles & 50–950 ramp

primary
#4877EF
secondary
#E9D7AA
accent
#A305E0
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4877EF

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

Preview Lab → · Contrast checker → · Palette generator →

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