#4C81E4#4C81E4

#4C81E4 is a mid, vivid blue. Relative luminance 0.228; OKLCH L 61.6% C 0.160 H 261.7°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#4C81E4
RGBrgb(76, 129, 228)
HSLhsl(219, 74%, 60%)
HSVhsv(219, 67%, 89%)
CMYKcmyk(66.7%, 43.4%, 0%, 10.6%)
CIE-LABlab(54.90, 14.01, -55.54)
CIE-LCHlch(54.90, 57.28, 284.16°)
OKLaboklab(61.58% -0.0232 -0.1587)
OKLCHoklch(61.58% 0.16 261.7)
XYZxyz(24.8294, 22.8360, 76.4830)
Luminance0.2284 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C81E4 #E4AF4C
analogous
#4CCDE4 #4C81E4 #634CE4
triadic
#4C81E4 #E44C81 #81E44C
tetradic
#4C81E4 #E44CCD #E4AF4C #4CE463
square
#4C81E4 #E44CCD #E4AF4C #4CE463
split-complementary
#4C81E4 #E4634C #CDE44C
monochromatic
#18479E #205ED3 #4C81E4 #81A6EC #B6CCF4

Accessibility & contrast

On white

3.77
#4C81E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#4C81E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C81E4
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C81E4#FFFFFF#000000##000000
##4C81E41.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#518BE8
Deuteranopia (green-blind)
#377DE2
Tritanopia (blue-blind)
#0098A7
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #4c81e4;
/* rgb */ color: rgb(76, 129, 228);
/* oklch */ color: oklch(61.6% 0.160 261.7);
Tailwind
colors: {
  custom: {
    50: '#8da5ed',
    500: '#4c81e4',
    950: '#000000',
  },
}
SCSS
$custom: #4c81e4;
$custom-light: #8da5ed;
$custom-dark: #000000;
JSON
{
  "hex": "#4c81e4",
  "rgb": {
    "r": 76,
    "g": 129,
    "b": 228
  },
  "hsl": {
    "h": 219.079,
    "s": 73.786,
    "l": 59.608
  },
  "oklch": {
    "l": 0.61575,
    "c": 0.16038,
    "h": 261.7
  },
  "luminance": 0.22838
}

Semantic roles & 50–950 ramp

primary
#4C81E4
secondary
#E3CFA8
accent
#B037F0
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4C81E4

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

Preview Lab → · Contrast checker → · Palette generator →

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