#4882E1#4882E1

#4882E1 is a mid, vivid blue. Relative luminance 0.228; OKLCH L 61.4% C 0.157 H 259.8°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#4882E1
RGBrgb(72, 130, 225)
HSLhsl(217, 72%, 58%)
HSVhsv(217, 68%, 88%)
CMYKcmyk(68%, 42.2%, 0%, 11.8%)
CIE-LABlab(54.84, 11.73, -53.97)
CIE-LCHlch(54.84, 55.23, 282.26°)
OKLaboklab(61.43% -0.0278 -0.1541)
OKLCHoklch(61.43% 0.157 259.8)
XYZxyz(24.2409, 22.7767, 74.3384)
Luminance0.2278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4882E1 #E1A748
analogous
#48CEE1 #4882E1 #5A48E1
triadic
#4882E1 #E14882 #82E148
tetradic
#4882E1 #E148CE #E1A748 #48E15A
square
#4882E1 #E148CE #E1A748 #48E15A
split-complementary
#4882E1 #E15A48 #CEE148
monochromatic
#194896 #2161CB #4882E1 #7DA6EA #B1CAF2

Accessibility & contrast

On white

3.78
#4882E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#4882E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4882E1
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4882E1#FFFFFF#000000##000000
##4882E11.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#558BE5
Deuteranopia (green-blind)
#3B7DDF
Tritanopia (blue-blind)
#0098A6
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #4882e1;
/* rgb */ color: rgb(72, 130, 225);
/* oklch */ color: oklch(61.4% 0.157 259.8);
Tailwind
colors: {
  custom: {
    50: '#8ba5eb',
    500: '#4882e1',
    950: '#000000',
  },
}
SCSS
$custom: #4882e1;
$custom-light: #8ba5eb;
$custom-dark: #000000;
JSON
{
  "hex": "#4882e1",
  "rgb": {
    "r": 72,
    "g": 130,
    "b": 225
  },
  "hsl": {
    "h": 217.255,
    "s": 71.831,
    "l": 58.235
  },
  "oklch": {
    "l": 0.61427,
    "c": 0.15661,
    "h": 259.8
  },
  "luminance": 0.22779
}

Semantic roles & 50–950 ramp

primary
#4882E1
secondary
#E1CAA4
accent
#AA39EF
background
#F9FAFE
surface
#F1F4FD
border
#CBCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4882E1

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

Preview Lab → · Contrast checker → · Palette generator →

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