#4C81E9#4C81E9

#4C81E9 is a mid, vivid blue. Relative luminance 0.231; OKLCH L 61.9% C 0.167 H 262.3°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#4C81E9
RGBrgb(76, 129, 233)
HSLhsl(220, 78%, 61%)
HSVhsv(220, 67%, 91%)
CMYKcmyk(67.4%, 44.6%, 0%, 8.6%)
CIE-LABlab(55.19, 15.75, -57.87)
CIE-LCHlch(55.19, 59.97, 285.23°)
OKLaboklab(61.89% -0.0224 -0.1655)
OKLCHoklch(61.89% 0.167 262.3)
XYZxyz(25.5335, 23.1176, 80.1915)
Luminance0.2312 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C81E9 #E9B44C
analogous
#4CCFE9 #4C81E9 #654CE9
triadic
#4C81E9 #E94C81 #81E94C
tetradic
#4C81E9 #E94CCF #E9B44C #4CE965
square
#4C81E9 #E94CCF #E9B44C #4CE965
split-complementary
#4C81E9 #E9654C #CFE94C
monochromatic
#1446A6 #1B5CDD #4C81E9 #83A7F0 #B9CEF6

Accessibility & contrast

On white

3.73
#4C81E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#4C81E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C81E9
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C81E9#FFFFFF#000000##000000
##4C81E91.003.735.625.62
#FFFFFF3.731.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D8CED
Deuteranopia (green-blind)
#307DE7
Tritanopia (blue-blind)
#0099AA
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #4c81e9;
/* rgb */ color: rgb(76, 129, 233);
/* oklch */ color: oklch(61.9% 0.167 262.3);
Tailwind
colors: {
  custom: {
    50: '#8ea5f1',
    500: '#4c81e9',
    950: '#000000',
  },
}
SCSS
$custom: #4c81e9;
$custom-light: #8ea5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#4c81e9",
  "rgb": {
    "r": 76,
    "g": 129,
    "b": 233
  },
  "hsl": {
    "h": 219.745,
    "s": 78.109,
    "l": 60.588
  },
  "oklch": {
    "l": 0.61892,
    "c": 0.16703,
    "h": 262.3
  },
  "luminance": 0.2312
}

Semantic roles & 50–950 ramp

primary
#4C81E9
secondary
#E6D2AB
accent
#940BDA
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #4C81E9

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

Preview Lab → · Contrast checker → · Palette generator →

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