#4882E4#4882E4

#4882E4 is a mid, vivid blue. Relative luminance 0.229; OKLCH L 61.6% C 0.161 H 260.2°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#4882E4
RGBrgb(72, 130, 228)
HSLhsl(218, 74%, 59%)
HSVhsv(218, 68%, 89%)
CMYKcmyk(68.4%, 43%, 0%, 10.6%)
CIE-LABlab(55.01, 12.79, -55.37)
CIE-LCHlch(55.01, 56.83, 283.00°)
OKLaboklab(61.61% -0.0273 -0.1582)
OKLCHoklch(61.61% 0.161 260.2)
XYZxyz(24.6537, 22.9419, 76.5127)
Luminance0.2294 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4882E4 #E4AA48
analogous
#48D0E4 #4882E4 #5C48E4
triadic
#4882E4 #E44882 #82E448
tetradic
#4882E4 #E448D0 #E4AA48 #48E45C
square
#4882E4 #E448D0 #E4AA48 #48E45C
split-complementary
#4882E4 #E45C48 #D0E448
monochromatic
#17489B #1F61D0 #4882E4 #7DA6EC #B3CBF4

Accessibility & contrast

On white

3.76
#4882E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#4882E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4882E4
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4882E4#FFFFFF#000000##000000
##4882E41.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#538BE8
Deuteranopia (green-blind)
#387DE2
Tritanopia (blue-blind)
#0099A8
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #4882e4;
/* rgb */ color: rgb(72, 130, 228);
/* oklch */ color: oklch(61.6% 0.161 260.2);
Tailwind
colors: {
  custom: {
    50: '#8ca5ed',
    500: '#4882e4',
    950: '#000000',
  },
}
SCSS
$custom: #4882e4;
$custom-light: #8ca5ed;
$custom-dark: #000000;
JSON
{
  "hex": "#4882e4",
  "rgb": {
    "r": 72,
    "g": 130,
    "b": 228
  },
  "hsl": {
    "h": 217.692,
    "s": 74.286,
    "l": 58.824
  },
  "oklch": {
    "l": 0.61614,
    "c": 0.16058,
    "h": 260.2
  },
  "luminance": 0.22944
}

Semantic roles & 50–950 ramp

primary
#4882E4
secondary
#E3CCA5
accent
#AC37F1
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4882E4

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

Preview Lab → · Contrast checker → · Palette generator →

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