#4C81E1#4C81E1

#4C81E1 is a mid, vivid blue. Relative luminance 0.227; OKLCH L 61.4% C 0.156 H 261.3°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#4C81E1
RGBrgb(76, 129, 225)
HSLhsl(219, 71%, 59%)
HSVhsv(219, 66%, 88%)
CMYKcmyk(66.2%, 42.7%, 0%, 11.8%)
CIE-LABlab(54.73, 12.97, -54.13)
CIE-LCHlch(54.73, 55.67, 283.47°)
OKLaboklab(61.39% -0.0238 -0.1546)
OKLCHoklch(61.39% 0.156 261.3)
XYZxyz(24.4165, 22.6709, 74.3087)
Luminance0.2267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C81E1 #E1AC4C
analogous
#4CCBE1 #4C81E1 #624CE1
triadic
#4C81E1 #E14C81 #81E14C
tetradic
#4C81E1 #E14CCB #E1AC4C #4CE162
square
#4C81E1 #E14CCB #E1AC4C #4CE162
split-complementary
#4C81E1 #E1624C #CBE14C
monochromatic
#1A4799 #225FCD #4C81E1 #80A6EA #B5CBF3

Accessibility & contrast

On white

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

On black

5.53
#4C81E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C81E1
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C81E1#FFFFFF#000000##000000
##4C81E11.003.795.535.53
#FFFFFF3.791.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#548AE5
Deuteranopia (green-blind)
#3B7DDF
Tritanopia (blue-blind)
#0097A6
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #4c81e1;
/* rgb */ color: rgb(76, 129, 225);
/* oklch */ color: oklch(61.4% 0.156 261.3);
Tailwind
colors: {
  custom: {
    50: '#8da5eb',
    500: '#4c81e1',
    950: '#000000',
  },
}
SCSS
$custom: #4c81e1;
$custom-light: #8da5eb;
$custom-dark: #000000;
JSON
{
  "hex": "#4c81e1",
  "rgb": {
    "r": 76,
    "g": 129,
    "b": 225
  },
  "hsl": {
    "h": 218.658,
    "s": 71.292,
    "l": 59.02
  },
  "oklch": {
    "l": 0.61387,
    "c": 0.15638,
    "h": 261.3
  },
  "luminance": 0.22673
}

Semantic roles & 50–950 ramp

primary
#4C81E1
secondary
#E2CDA7
accent
#AE3AEE
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4C81E1

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

Preview Lab → · Contrast checker → · Palette generator →

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