#4881DC#4881DC

#4881DC is a mid, vivid blue. Relative luminance 0.222; OKLCH L 60.9% C 0.151 H 259.4°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#4881DC
RGBrgb(72, 129, 220)
HSLhsl(217, 68%, 57%)
HSVhsv(217, 67%, 86%)
CMYKcmyk(67.3%, 41.4%, 0%, 13.7%)
CIE-LABlab(54.28, 10.59, -52.05)
CIE-LCHlch(54.28, 53.12, 281.50°)
OKLaboklab(60.9% -0.0279 -0.1485)
OKLCHoklch(60.9% 0.151 259.4)
XYZxyz(23.4364, 22.2432, 70.7545)
Luminance0.2225 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4881DC #DCA348
analogous
#48CBDC #4881DC #5948DC
triadic
#4881DC #DC4881 #81DC48
tetradic
#4881DC #DC48CB #DCA348 #48DC59
square
#4881DC #DC48CB #DCA348 #48DC59
split-complementary
#4881DC #DC5948 #CBDC48
monochromatic
#1B488E #2561C2 #4881DC #7BA4E6 #AFC8F0

Accessibility & contrast

On white

3.85
#4881DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#4881DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4881DC
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4881DC#FFFFFF#000000##000000
##4881DC1.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5789E0
Deuteranopia (green-blind)
#3F7BDA
Tritanopia (blue-blind)
#0096A4
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4881dc;
/* rgb */ color: rgb(72, 129, 220);
/* oklch */ color: oklch(60.9% 0.151 259.4);
Tailwind
colors: {
  custom: {
    50: '#8aa5e7',
    500: '#4881dc',
    950: '#000000',
  },
}
SCSS
$custom: #4881dc;
$custom-light: #8aa5e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4881dc",
  "rgb": {
    "r": 72,
    "g": 129,
    "b": 220
  },
  "hsl": {
    "h": 216.892,
    "s": 67.89,
    "l": 57.255
  },
  "oklch": {
    "l": 0.60904,
    "c": 0.1511,
    "h": 259.4
  },
  "luminance": 0.22246
}

Semantic roles & 50–950 ramp

primary
#4881DC
secondary
#DEC7A2
accent
#A83DEB
background
#F9FAFE
surface
#F1F4FC
border
#CBCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4881DC

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

Preview Lab → · Contrast checker → · Palette generator →

#4881DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva