#4C81E6#4C81E6

#4C81E6 is a mid, vivid blue. Relative luminance 0.230; OKLCH L 61.7% C 0.163 H 261.9°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#4C81E6
RGBrgb(76, 129, 230)
HSLhsl(219, 75%, 60%)
HSVhsv(219, 67%, 90%)
CMYKcmyk(67%, 43.9%, 0%, 9.8%)
CIE-LABlab(55.02, 14.71, -56.47)
CIE-LCHlch(55.02, 58.36, 284.60°)
OKLaboklab(61.7% -0.0229 -0.1614)
OKLCHoklch(61.7% 0.163 261.9)
XYZxyz(25.1086, 22.9477, 77.9537)
Luminance0.2295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C81E6 #E6B14C
analogous
#4CCEE6 #4C81E6 #644CE6
triadic
#4C81E6 #E64C81 #81E64C
tetradic
#4C81E6 #E64CCE #E6B14C #4CE664
square
#4C81E6 #E64CCE #E6B14C #4CE664
split-complementary
#4C81E6 #E6644C #CEE64C
monochromatic
#1746A1 #1E5ED7 #4C81E6 #82A7ED #B7CDF5

Accessibility & contrast

On white

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

On black

5.59
#4C81E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C81E6
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C81E6#FFFFFF#000000##000000
##4C81E61.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#508BEA
Deuteranopia (green-blind)
#357DE4
Tritanopia (blue-blind)
#0098A8
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #4c81e6;
/* rgb */ color: rgb(76, 129, 230);
/* oklch */ color: oklch(61.7% 0.163 261.9);
Tailwind
colors: {
  custom: {
    50: '#8ea5ee',
    500: '#4c81e6',
    950: '#000000',
  },
}
SCSS
$custom: #4c81e6;
$custom-light: #8ea5ee;
$custom-dark: #000000;
JSON
{
  "hex": "#4c81e6",
  "rgb": {
    "r": 76,
    "g": 129,
    "b": 230
  },
  "hsl": {
    "h": 219.351,
    "s": 75.49,
    "l": 60
  },
  "oklch": {
    "l": 0.61701,
    "c": 0.16304,
    "h": 261.9
  },
  "luminance": 0.2295
}

Semantic roles & 50–950 ramp

primary
#4C81E6
secondary
#E5D0A9
accent
#B136F2
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #4C81E6

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

Preview Lab → · Contrast checker → · Palette generator →

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