#4C81E2#4C81E2

#4C81E2 is a mid, vivid blue. Relative luminance 0.227; OKLCH L 61.5% C 0.158 H 261.4°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#4C81E2
RGBrgb(76, 129, 226)
HSLhsl(219, 72%, 59%)
HSVhsv(219, 66%, 89%)
CMYKcmyk(66.4%, 42.9%, 0%, 11.4%)
CIE-LABlab(54.79, 13.32, -54.60)
CIE-LCHlch(54.79, 56.20, 283.71°)
OKLaboklab(61.45% -0.0236 -0.1559)
OKLCHoklch(61.45% 0.158 261.4)
XYZxyz(24.5533, 22.7256, 75.0293)
Luminance0.2273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C81E2 #E2AD4C
analogous
#4CCCE2 #4C81E2 #624CE2
triadic
#4C81E2 #E24C81 #81E24C
tetradic
#4C81E2 #E24CCC #E2AD4C #4CE262
square
#4C81E2 #E24CCC #E2AD4C #4CE262
split-complementary
#4C81E2 #E2624C #CCE24C
monochromatic
#19479B #225FCF #4C81E2 #81A6EB #B5CBF3

Accessibility & contrast

On white

3.79
#4C81E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#4C81E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C81E2
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C81E2#FFFFFF#000000##000000
##4C81E21.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#538BE6
Deuteranopia (green-blind)
#3A7DE0
Tritanopia (blue-blind)
#0097A6
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #4c81e2;
/* rgb */ color: rgb(76, 129, 226);
/* oklch */ color: oklch(61.5% 0.158 261.4);
Tailwind
colors: {
  custom: {
    50: '#8da5ec',
    500: '#4c81e2',
    950: '#000000',
  },
}
SCSS
$custom: #4c81e2;
$custom-light: #8da5ec;
$custom-dark: #000000;
JSON
{
  "hex": "#4c81e2",
  "rgb": {
    "r": 76,
    "g": 129,
    "b": 226
  },
  "hsl": {
    "h": 218.8,
    "s": 72.115,
    "l": 59.216
  },
  "oklch": {
    "l": 0.6145,
    "c": 0.15771,
    "h": 261.4
  },
  "luminance": 0.22728
}

Semantic roles & 50–950 ramp

primary
#4C81E2
secondary
#E2CEA8
accent
#AF39EF
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4C81E2

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

Preview Lab → · Contrast checker → · Palette generator →

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