#4C81E3#4C81E3

#4C81E3 is a mid, vivid blue. Relative luminance 0.228; OKLCH L 61.5% C 0.159 H 261.5°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#4C81E3
RGBrgb(76, 129, 227)
HSLhsl(219, 73%, 59%)
HSVhsv(219, 67%, 89%)
CMYKcmyk(66.5%, 43.2%, 0%, 11%)
CIE-LABlab(54.85, 13.66, -55.07)
CIE-LCHlch(54.85, 56.74, 283.94°)
OKLaboklab(61.51% -0.0234 -0.1573)
OKLCHoklch(61.51% 0.159 261.5)
XYZxyz(24.6910, 22.7806, 75.7540)
Luminance0.2278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C81E3 #E3AE4C
analogous
#4CCDE3 #4C81E3 #624CE3
triadic
#4C81E3 #E34C81 #81E34C
tetradic
#4C81E3 #E34CCD #E3AE4C #4CE362
square
#4C81E3 #E34CCD #E3AE4C #4CE362
split-complementary
#4C81E3 #E3624C #CDE34C
monochromatic
#18479C #215FD1 #4C81E3 #81A6EB #B6CCF4

Accessibility & contrast

On white

3.78
#4C81E3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#4C81E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C81E3
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C81E3#FFFFFF#000000##000000
##4C81E31.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#528BE7
Deuteranopia (green-blind)
#397DE1
Tritanopia (blue-blind)
#0098A7
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #4c81e3;
/* rgb */ color: rgb(76, 129, 227);
/* oklch */ color: oklch(61.5% 0.159 261.5);
Tailwind
colors: {
  custom: {
    50: '#8da5ec',
    500: '#4c81e3',
    950: '#000000',
  },
}
SCSS
$custom: #4c81e3;
$custom-light: #8da5ec;
$custom-dark: #000000;
JSON
{
  "hex": "#4c81e3",
  "rgb": {
    "r": 76,
    "g": 129,
    "b": 227
  },
  "hsl": {
    "h": 218.94,
    "s": 72.947,
    "l": 59.412
  },
  "oklch": {
    "l": 0.61512,
    "c": 0.15905,
    "h": 261.5
  },
  "luminance": 0.22783
}

Semantic roles & 50–950 ramp

primary
#4C81E3
secondary
#E3CEA8
accent
#AF38F0
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4C81E3

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

Preview Lab → · Contrast checker → · Palette generator →

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