#4981DC#4981DC

#4981DC is a mid, vivid blue. Relative luminance 0.223; OKLCH L 60.9% C 0.151 H 259.6°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#4981DC
RGBrgb(73, 129, 220)
HSLhsl(217, 68%, 57%)
HSVhsv(217, 67%, 86%)
CMYKcmyk(66.8%, 41.4%, 0%, 13.7%)
CIE-LABlab(54.32, 10.75, -51.99)
CIE-LCHlch(54.32, 53.08, 281.68°)
OKLaboklab(60.95% -0.0271 -0.1483)
OKLCHoklch(60.95% 0.151 259.6)
XYZxyz(23.5116, 22.2819, 70.7580)
Luminance0.2228 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4981DC #DCA449
analogous
#49CADC #4981DC #5B49DC
triadic
#4981DC #DC4981 #81DC49
tetradic
#4981DC #DC49CA #DCA449 #49DC5B
square
#4981DC #DC49CA #DCA449 #49DC5B
split-complementary
#4981DC #DC5B49 #CADC49
monochromatic
#1C488F #2561C2 #4981DC #7CA5E6 #B0C8F0

Accessibility & contrast

On white

3.85
#4981DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#4981DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4981DC
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4981DC#FFFFFF#000000##000000
##4981DC1.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)
#5789E0
Deuteranopia (green-blind)
#3F7CDA
Tritanopia (blue-blind)
#0096A4
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4981dc;
/* rgb */ color: rgb(73, 129, 220);
/* oklch */ color: oklch(60.9% 0.151 259.6);
Tailwind
colors: {
  custom: {
    50: '#8ba5e7',
    500: '#4981dc',
    950: '#000000',
  },
}
SCSS
$custom: #4981dc;
$custom-light: #8ba5e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4981dc",
  "rgb": {
    "r": 73,
    "g": 129,
    "b": 220
  },
  "hsl": {
    "h": 217.143,
    "s": 67.742,
    "l": 57.451
  },
  "oklch": {
    "l": 0.60947,
    "c": 0.15076,
    "h": 259.6
  },
  "luminance": 0.22284
}

Semantic roles & 50–950 ramp

primary
#4981DC
secondary
#DEC7A3
accent
#A93DEB
background
#F9FAFE
surface
#F1F4FC
border
#CBCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4981DC

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

Preview Lab → · Contrast checker → · Palette generator →

#4981DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva