#4C84EC#4C84EC

#4C84EC is a light, vivid blue. Relative luminance 0.241; OKLCH L 62.7% C 0.168 H 261.6°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#4C84EC
RGBrgb(76, 132, 236)
HSLhsl(219, 81%, 61%)
HSVhsv(219, 68%, 93%)
CMYKcmyk(67.8%, 44.1%, 0%, 7.5%)
CIE-LABlab(56.18, 14.97, -57.96)
CIE-LCHlch(56.18, 59.86, 284.48°)
OKLaboklab(62.71% -0.0246 -0.1657)
OKLCHoklch(62.71% 0.168 261.6)
XYZxyz(26.3667, 24.0925, 82.6014)
Luminance0.2409 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C84EC #ECB44C
analogous
#4CD4EC #4C84EC #644CEC
triadic
#4C84EC #EC4C84 #84EC4C
tetradic
#4C84EC #EC4CD4 #ECB44C #4CEC64
square
#4C84EC #EC4CD4 #ECB44C #4CEC64
split-complementary
#4C84EC #EC644C #D4EC4C
monochromatic
#1248AB #185FE3 #4C84EC #83AAF2 #BBD0F8

Accessibility & contrast

On white

3.61
#4C84EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#4C84EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C84EC
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C84EC#FFFFFF#000000##000000
##4C84EC1.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#518FF0
Deuteranopia (green-blind)
#3480EA
Tritanopia (blue-blind)
#009CAC
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #4c84ec;
/* rgb */ color: rgb(76, 132, 236);
/* oklch */ color: oklch(62.7% 0.168 261.6);
Tailwind
colors: {
  custom: {
    50: '#8fa7f3',
    500: '#4c84ec',
    950: '#000000',
  },
}
SCSS
$custom: #4c84ec;
$custom-light: #8fa7f3;
$custom-dark: #000000;
JSON
{
  "hex": "#4c84ec",
  "rgb": {
    "r": 76,
    "g": 132,
    "b": 236
  },
  "hsl": {
    "h": 219,
    "s": 80.808,
    "l": 61.176
  },
  "oklch": {
    "l": 0.62708,
    "c": 0.16756,
    "h": 261.6
  },
  "luminance": 0.24095
}

Semantic roles & 50–950 ramp

primary
#4C84EC
secondary
#E8D3AC
accent
#9308DD
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #4C84EC

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

Preview Lab → · Contrast checker → · Palette generator →

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