#4881E4#4881E4

#4881E4 is a mid, vivid blue. Relative luminance 0.227; OKLCH L 61.4% C 0.162 H 260.6°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#4881E4
RGBrgb(72, 129, 228)
HSLhsl(218, 74%, 59%)
HSVhsv(218, 68%, 89%)
CMYKcmyk(68.4%, 43.4%, 0%, 10.6%)
CIE-LABlab(54.74, 13.39, -55.81)
CIE-LCHlch(54.74, 57.40, 283.50°)
OKLaboklab(61.4% -0.0263 -0.1596)
OKLCHoklch(61.4% 0.162 260.6)
XYZxyz(24.5213, 22.6772, 76.4686)
Luminance0.2268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4881E4 #E4AB48
analogous
#48CFE4 #4881E4 #5D48E4
triadic
#4881E4 #E44881 #81E448
tetradic
#4881E4 #E448CF #E4AB48 #48E45D
square
#4881E4 #E448CF #E4AB48 #48E45D
split-complementary
#4881E4 #E45D48 #CFE448
monochromatic
#17479B #1F60D0 #4881E4 #7DA6EC #B3CAF4

Accessibility & contrast

On white

3.79
#4881E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#4881E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4881E4
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4881E4#FFFFFF#000000##000000
##4881E41.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#518BE8
Deuteranopia (green-blind)
#357CE2
Tritanopia (blue-blind)
#0098A7
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #4881e4;
/* rgb */ color: rgb(72, 129, 228);
/* oklch */ color: oklch(61.4% 0.162 260.6);
Tailwind
colors: {
  custom: {
    50: '#8ca5ed',
    500: '#4881e4',
    950: '#000000',
  },
}
SCSS
$custom: #4881e4;
$custom-light: #8ca5ed;
$custom-dark: #000000;
JSON
{
  "hex": "#4881e4",
  "rgb": {
    "r": 72,
    "g": 129,
    "b": 228
  },
  "hsl": {
    "h": 218.077,
    "s": 74.286,
    "l": 58.824
  },
  "oklch": {
    "l": 0.61402,
    "c": 0.16172,
    "h": 260.6
  },
  "luminance": 0.2268
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4881E4

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

Preview Lab → · Contrast checker → · Palette generator →

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