#4881D4#4881D4

#4881D4 is a mid, vivid blue. Relative luminance 0.218; OKLCH L 60.4% C 0.140 H 257.8°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#4881D4
RGBrgb(72, 129, 212)
HSLhsl(216, 62%, 56%)
HSVhsv(216, 66%, 83%)
CMYKcmyk(66%, 39.2%, 0%, 16.9%)
CIE-LABlab(53.85, 7.80, -48.24)
CIE-LCHlch(53.85, 48.87, 279.18°)
OKLaboklab(60.42% -0.0296 -0.1373)
OKLCHoklch(60.42% 0.14 257.8)
XYZxyz(22.4021, 21.8295, 65.3075)
Luminance0.2183 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4881D4 #D49B48
analogous
#48C7D4 #4881D4 #5548D4
triadic
#4881D4 #D44881 #81D448
tetradic
#4881D4 #D448C7 #D49B48 #48D455
square
#4881D4 #D448C7 #D49B48 #48D455
split-complementary
#4881D4 #D45548 #C7D448
monochromatic
#1F4883 #2A63B4 #4881D4 #7AA3E0 #ABC5EB

Accessibility & contrast

On white

3.91
#4881D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#4881D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4881D4
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4881D4#FFFFFF#000000##000000
##4881D41.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C88D7
Deuteranopia (green-blind)
#477BD2
Tritanopia (blue-blind)
#0094A0
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4881d4;
/* rgb */ color: rgb(72, 129, 212);
/* oklch */ color: oklch(60.4% 0.140 257.8);
Tailwind
colors: {
  custom: {
    50: '#89a5e1',
    500: '#4881d4',
    950: '#000000',
  },
}
SCSS
$custom: #4881d4;
$custom-light: #89a5e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4881d4",
  "rgb": {
    "r": 72,
    "g": 129,
    "b": 212
  },
  "hsl": {
    "h": 215.571,
    "s": 61.947,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60422,
    "c": 0.14049,
    "h": 257.8
  },
  "luminance": 0.21832
}

Semantic roles & 50–950 ramp

primary
#4881D4
secondary
#D9C19F
accent
#A343E5
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #4881D4

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

Preview Lab → · Contrast checker → · Palette generator →

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