#4882E5#4882E5

#4882E5 is a mid, vivid blue. Relative luminance 0.230; OKLCH L 61.7% C 0.162 H 260.4°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#4882E5
RGBrgb(72, 130, 229)
HSLhsl(218, 75%, 59%)
HSVhsv(218, 69%, 90%)
CMYKcmyk(68.6%, 43.2%, 0%, 10.2%)
CIE-LABlab(55.07, 13.14, -55.84)
CIE-LCHlch(55.07, 57.37, 283.24°)
OKLaboklab(61.68% -0.0271 -0.1596)
OKLCHoklch(61.68% 0.162 260.4)
XYZxyz(24.7929, 22.9976, 77.2459)
Luminance0.2300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4882E5 #E5AB48
analogous
#48D1E5 #4882E5 #5D48E5
triadic
#4882E5 #E54882 #82E548
tetradic
#4882E5 #E548D1 #E5AB48 #48E55D
square
#4882E5 #E548D1 #E5AB48 #48E55D
split-complementary
#4882E5 #E55D48 #D1E548
monochromatic
#16489C #1E60D2 #4882E5 #7EA7ED #B3CBF4

Accessibility & contrast

On white

3.75
#4882E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#4882E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4882E5
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4882E5#FFFFFF#000000##000000
##4882E51.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#528CE9
Deuteranopia (green-blind)
#367DE3
Tritanopia (blue-blind)
#0099A8
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #4882e5;
/* rgb */ color: rgb(72, 130, 229);
/* oklch */ color: oklch(61.7% 0.162 260.4);
Tailwind
colors: {
  custom: {
    50: '#8ca5ee',
    500: '#4882e5',
    950: '#000000',
  },
}
SCSS
$custom: #4882e5;
$custom-light: #8ca5ee;
$custom-dark: #000000;
JSON
{
  "hex": "#4882e5",
  "rgb": {
    "r": 72,
    "g": 130,
    "b": 229
  },
  "hsl": {
    "h": 217.834,
    "s": 75.12,
    "l": 59.02
  },
  "oklch": {
    "l": 0.61677,
    "c": 0.16191,
    "h": 260.4
  },
  "luminance": 0.23
}

Semantic roles & 50–950 ramp

primary
#4882E5
secondary
#E3CCA6
accent
#AC36F2
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4882E5

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

Preview Lab → · Contrast checker → · Palette generator →

#4882E5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva