#4877DF#4877DF

#4877DF is a mid, vivid blue. Relative luminance 0.199; OKLCH L 59.0% C 0.167 H 263.8°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#4877DF
RGBrgb(72, 119, 223)
HSLhsl(221, 70%, 58%)
HSVhsv(221, 68%, 87%)
CMYKcmyk(67.7%, 46.6%, 0%, 12.5%)
CIE-LABlab(51.72, 17.79, -57.84)
CIE-LCHlch(51.72, 60.52, 287.09°)
OKLaboklab(58.99% -0.0181 -0.1657)
OKLCHoklch(58.99% 0.167 263.8)
XYZxyz(22.5839, 19.8968, 72.4480)
Luminance0.1990 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4877DF #DFB048
analogous
#48C2DF #4877DF #6548DF
triadic
#4877DF #DF4877 #77DF48
tetradic
#4877DF #DF48C2 #DFB048 #48DF65
square
#4877DF #DF48C2 #DFB048 #48DF65
split-complementary
#4877DF #DF6548 #C2DF48
monochromatic
#1A3F93 #2356C7 #4877DF #7C9EE8 #B0C4F1

Accessibility & contrast

On white

4.22
#4877DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#4877DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4877DF
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4877DF#FFFFFF#000000##000000
##4877DF1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4183E3
Deuteranopia (green-blind)
#2075DD
Tritanopia (blue-blind)
#008FA0
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4877df;
/* rgb */ color: rgb(72, 119, 223);
/* oklch */ color: oklch(59.0% 0.167 263.8);
Tailwind
colors: {
  custom: {
    50: '#8b9dea',
    500: '#4877df',
    950: '#000000',
  },
}
SCSS
$custom: #4877df;
$custom-light: #8b9dea;
$custom-dark: #000000;
JSON
{
  "hex": "#4877df",
  "rgb": {
    "r": 72,
    "g": 119,
    "b": 223
  },
  "hsl": {
    "h": 221.325,
    "s": 70.233,
    "l": 57.843
  },
  "oklch": {
    "l": 0.58987,
    "c": 0.16666,
    "h": 263.8
  },
  "luminance": 0.19899
}

Semantic roles & 50–950 ramp

primary
#4877DF
secondary
#E0CDA3
accent
#B63BED
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4877DF

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

Preview Lab → · Contrast checker → · Palette generator →

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