#4881D2#4881D2

#4881D2 is a mid, vivid blue. Relative luminance 0.217; OKLCH L 60.3% C 0.138 H 257.4°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#4881D2
RGBrgb(72, 129, 210)
HSLhsl(215, 61%, 55%)
HSVhsv(215, 66%, 82%)
CMYKcmyk(65.7%, 38.6%, 0%, 17.6%)
CIE-LABlab(53.74, 7.10, -47.28)
CIE-LCHlch(53.74, 47.81, 278.54°)
OKLaboklab(60.3% -0.03 -0.1345)
OKLCHoklch(60.3% 0.138 257.4)
XYZxyz(22.1514, 21.7292, 63.9870)
Luminance0.2173 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4881D2 #D29948
analogous
#48C6D2 #4881D2 #5448D2
triadic
#4881D2 #D24881 #81D248
tetradic
#4881D2 #D248C6 #D29948 #48D254
square
#4881D2 #D248C6 #D29948 #48D254
split-complementary
#4881D2 #D25448 #C6D248
monochromatic
#204780 #2C63B1 #4881D2 #79A3DE #AAC5EA

Accessibility & contrast

On white

3.93
#4881D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#4881D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4881D2
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4881D2#FFFFFF#000000##000000
##4881D21.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D87D5
Deuteranopia (green-blind)
#497AD0
Tritanopia (blue-blind)
#00949F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4881d2;
/* rgb */ color: rgb(72, 129, 210);
/* oklch */ color: oklch(60.3% 0.138 257.4);
Tailwind
colors: {
  custom: {
    50: '#89a5e0',
    500: '#4881d2',
    950: '#000000',
  },
}
SCSS
$custom: #4881d2;
$custom-light: #89a5e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4881d2",
  "rgb": {
    "r": 72,
    "g": 129,
    "b": 210
  },
  "hsl": {
    "h": 215.217,
    "s": 60.526,
    "l": 55.294
  },
  "oklch": {
    "l": 0.60304,
    "c": 0.13784,
    "h": 257.4
  },
  "luminance": 0.21731
}

Semantic roles & 50–950 ramp

primary
#4881D2
secondary
#D8C09E
accent
#A244E4
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0D0F15
muted
#7D7F83

Preview Lab

Preview with #4881D2

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

Preview Lab → · Contrast checker → · Palette generator →

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