#4C81E5#4C81E5

#4C81E5 is a mid, vivid blue. Relative luminance 0.229; OKLCH L 61.6% C 0.162 H 261.8°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#4C81E5
RGBrgb(76, 129, 229)
HSLhsl(219, 75%, 60%)
HSVhsv(219, 67%, 90%)
CMYKcmyk(66.8%, 43.7%, 0%, 10.2%)
CIE-LABlab(54.96, 14.36, -56.01)
CIE-LCHlch(54.96, 57.82, 284.38°)
OKLaboklab(61.64% -0.023 -0.1601)
OKLCHoklch(61.64% 0.162 261.8)
XYZxyz(24.9686, 22.8917, 77.2162)
Luminance0.2289 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C81E5 #E5B04C
analogous
#4CCDE5 #4C81E5 #644CE5
triadic
#4C81E5 #E54C81 #81E54C
tetradic
#4C81E5 #E54CCD #E5B04C #4CE564
square
#4C81E5 #E54CCD #E5B04C #4CE564
split-complementary
#4C81E5 #E5644C #CDE54C
monochromatic
#17469F #1F5ED5 #4C81E5 #81A7ED #B7CCF5

Accessibility & contrast

On white

3.76
#4C81E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#4C81E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C81E5
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C81E5#FFFFFF#000000##000000
##4C81E51.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#518BE9
Deuteranopia (green-blind)
#367DE3
Tritanopia (blue-blind)
#0098A8
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #4c81e5;
/* rgb */ color: rgb(76, 129, 229);
/* oklch */ color: oklch(61.6% 0.162 261.8);
Tailwind
colors: {
  custom: {
    50: '#8ea5ee',
    500: '#4c81e5',
    950: '#000000',
  },
}
SCSS
$custom: #4c81e5;
$custom-light: #8ea5ee;
$custom-dark: #000000;
JSON
{
  "hex": "#4c81e5",
  "rgb": {
    "r": 76,
    "g": 129,
    "b": 229
  },
  "hsl": {
    "h": 219.216,
    "s": 74.634,
    "l": 59.804
  },
  "oklch": {
    "l": 0.61638,
    "c": 0.16171,
    "h": 261.8
  },
  "luminance": 0.22894
}

Semantic roles & 50–950 ramp

primary
#4C81E5
secondary
#E4CFA9
accent
#B137F1
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #4C81E5

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

Preview Lab → · Contrast checker → · Palette generator →

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