#4881E1#4881E1

#4881E1 is a mid, vivid blue. Relative luminance 0.225; OKLCH L 61.2% C 0.158 H 260.2°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#4881E1
RGBrgb(72, 129, 225)
HSLhsl(218, 72%, 58%)
HSVhsv(218, 68%, 88%)
CMYKcmyk(68%, 42.7%, 0%, 11.8%)
CIE-LABlab(54.57, 12.34, -54.41)
CIE-LCHlch(54.57, 55.79, 282.78°)
OKLaboklab(61.21% -0.0269 -0.1554)
OKLCHoklch(61.21% 0.158 260.2)
XYZxyz(24.1085, 22.5120, 74.2943)
Luminance0.2251 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4881E1 #E1A848
analogous
#48CDE1 #4881E1 #5B48E1
triadic
#4881E1 #E14881 #81E148
tetradic
#4881E1 #E148CD #E1A848 #48E15B
square
#4881E1 #E148CD #E1A848 #48E15B
split-complementary
#4881E1 #E15B48 #CDE148
monochromatic
#194796 #2160CB #4881E1 #7DA5EA #B1C9F2

Accessibility & contrast

On white

3.82
#4881E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#4881E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4881E1
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4881E1#FFFFFF#000000##000000
##4881E11.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#538AE5
Deuteranopia (green-blind)
#397CDF
Tritanopia (blue-blind)
#0097A6
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #4881e1;
/* rgb */ color: rgb(72, 129, 225);
/* oklch */ color: oklch(61.2% 0.158 260.2);
Tailwind
colors: {
  custom: {
    50: '#8ba5eb',
    500: '#4881e1',
    950: '#000000',
  },
}
SCSS
$custom: #4881e1;
$custom-light: #8ba5eb;
$custom-dark: #000000;
JSON
{
  "hex": "#4881e1",
  "rgb": {
    "r": 72,
    "g": 129,
    "b": 225
  },
  "hsl": {
    "h": 217.647,
    "s": 71.831,
    "l": 58.235
  },
  "oklch": {
    "l": 0.61214,
    "c": 0.15774,
    "h": 260.2
  },
  "luminance": 0.22514
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4881E1

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

Preview Lab → · Contrast checker → · Palette generator →

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