#4881DD#4881DD

#4881DD is a mid, vivid blue. Relative luminance 0.223; OKLCH L 61.0% C 0.152 H 259.5°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#4881DD
RGBrgb(72, 129, 221)
HSLhsl(217, 69%, 57%)
HSVhsv(217, 67%, 87%)
CMYKcmyk(67.4%, 41.6%, 0%, 13.3%)
CIE-LABlab(54.34, 10.94, -52.53)
CIE-LCHlch(54.34, 53.65, 281.76°)
OKLaboklab(60.97% -0.0277 -0.1499)
OKLCHoklch(60.97% 0.152 259.5)
XYZxyz(23.5692, 22.2963, 71.4541)
Luminance0.2230 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4881DD #DDA448
analogous
#48CCDD #4881DD #5948DD
triadic
#4881DD #DD4881 #81DD48
tetradic
#4881DD #DD48CC #DDA448 #48DD59
square
#4881DD #DD48CC #DDA448 #48DD59
split-complementary
#4881DD #DD5948 #CCDD48
monochromatic
#1B4890 #2461C3 #4881DD #7CA5E7 #AFC8F0

Accessibility & contrast

On white

3.85
#4881DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#4881DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4881DD
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4881DD#FFFFFF#000000##000000
##4881DD1.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5689E1
Deuteranopia (green-blind)
#3E7CDB
Tritanopia (blue-blind)
#0096A4
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4881dd;
/* rgb */ color: rgb(72, 129, 221);
/* oklch */ color: oklch(61.0% 0.152 259.5);
Tailwind
colors: {
  custom: {
    50: '#8aa5e8',
    500: '#4881dd',
    950: '#000000',
  },
}
SCSS
$custom: #4881dd;
$custom-light: #8aa5e8;
$custom-dark: #000000;
JSON
{
  "hex": "#4881dd",
  "rgb": {
    "r": 72,
    "g": 129,
    "b": 221
  },
  "hsl": {
    "h": 217.047,
    "s": 68.664,
    "l": 57.451
  },
  "oklch": {
    "l": 0.60966,
    "c": 0.15243,
    "h": 259.5
  },
  "luminance": 0.22299
}

Semantic roles & 50–950 ramp

primary
#4881DD
secondary
#DEC7A2
accent
#A83CEC
background
#F9FAFE
surface
#F1F4FD
border
#CBCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4881DD

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

Preview Lab → · Contrast checker → · Palette generator →

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