#4C81E0#4C81E0

#4C81E0 is a mid, vivid blue. Relative luminance 0.226; OKLCH L 61.3% C 0.155 H 261.1°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#4C81E0
RGBrgb(76, 129, 224)
HSLhsl(219, 70%, 59%)
HSVhsv(219, 66%, 88%)
CMYKcmyk(66.1%, 42.4%, 0%, 12.2%)
CIE-LABlab(54.67, 12.62, -53.66)
CIE-LCHlch(54.67, 55.13, 283.24°)
OKLaboklab(61.33% -0.0239 -0.1532)
OKLCHoklch(61.33% 0.155 261.1)
XYZxyz(24.2805, 22.6164, 73.5924)
Luminance0.2262 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C81E0 #E0AB4C
analogous
#4CCBE0 #4C81E0 #614CE0
triadic
#4C81E0 #E04C81 #81E04C
tetradic
#4C81E0 #E04CCB #E0AB4C #4CE061
square
#4C81E0 #E04CCB #E0AB4C #4CE061
split-complementary
#4C81E0 #E0614C #CBE04C
monochromatic
#1A4797 #2360CC #4C81E0 #80A6E9 #B4CAF2

Accessibility & contrast

On white

3.80
#4C81E0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#4C81E0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C81E0
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C81E0#FFFFFF#000000##000000
##4C81E01.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#548AE4
Deuteranopia (green-blind)
#3C7CDE
Tritanopia (blue-blind)
#0097A5
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #4c81e0;
/* rgb */ color: rgb(76, 129, 224);
/* oklch */ color: oklch(61.3% 0.155 261.1);
Tailwind
colors: {
  custom: {
    50: '#8da5ea',
    500: '#4c81e0',
    950: '#000000',
  },
}
SCSS
$custom: #4c81e0;
$custom-light: #8da5ea;
$custom-dark: #000000;
JSON
{
  "hex": "#4c81e0",
  "rgb": {
    "r": 76,
    "g": 129,
    "b": 224
  },
  "hsl": {
    "h": 218.514,
    "s": 70.476,
    "l": 58.824
  },
  "oklch": {
    "l": 0.61325,
    "c": 0.15504,
    "h": 261.1
  },
  "luminance": 0.22619
}

Semantic roles & 50–950 ramp

primary
#4C81E0
secondary
#E1CCA7
accent
#AD3BED
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4C81E0

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

Preview Lab → · Contrast checker → · Palette generator →

#4C81E0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva