#4C5CEC#4C5CEC

#4C5CEC is a mid, highly saturated blue. Relative luminance 0.152; OKLCH L 55.0% C 0.215 H 272.3°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#4C5CEC
RGBrgb(76, 92, 236)
HSLhsl(234, 81%, 61%)
HSVhsv(234, 68%, 93%)
CMYKcmyk(67.8%, 61%, 0%, 7.5%)
CIE-LABlab(45.97, 39.63, -74.47)
CIE-LCHlch(45.97, 84.36, 298.02°)
OKLaboklab(55% 0.0086 -0.2148)
OKLCHoklch(55% 0.215 272.3)
XYZxyz(21.9429, 15.2448, 81.1268)
Luminance0.1525 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C5CEC #ECDC4C
analogous
#4CACEC #4C5CEC #8C4CEC
triadic
#4C5CEC #EC4C5C #5CEC4C
tetradic
#4C5CEC #EC4CAC #ECDC4C #4CEC8C
square
#4C5CEC #EC4CAC #ECDC4C #4CEC8C
split-complementary
#4C5CEC #EC8C4C #ACEC4C
monochromatic
#1222AB #182CE3 #4C5CEC #838EF2 #BBC1F8

Accessibility & contrast

On white

5.19
#4C5CEC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#4C5CEC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C5CEC
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C5CEC#FFFFFF#000000##FFFFFF
##4C5CEC1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F1
Deuteranopia (green-blind)
#0066E9
Tritanopia (blue-blind)
#00819B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4c5cec;
/* rgb */ color: rgb(76, 92, 236);
/* oklch */ color: oklch(55.0% 0.215 272.3);
Tailwind
colors: {
  custom: {
    50: '#918af3',
    500: '#4c5cec',
    950: '#000000',
  },
}
SCSS
$custom: #4c5cec;
$custom-light: #918af3;
$custom-dark: #000000;
JSON
{
  "hex": "#4c5cec",
  "rgb": {
    "r": 76,
    "g": 92,
    "b": 236
  },
  "hsl": {
    "h": 234,
    "s": 80.808,
    "l": 61.176
  },
  "oklch": {
    "l": 0.54998,
    "c": 0.21502,
    "h": 272.3
  },
  "luminance": 0.15247
}

Semantic roles & 50–950 ramp

primary
#4C5CEC
secondary
#E8E2AC
accent
#C808DD
background
#F9F8FF
surface
#F2F0FE
border
#CCCBD6
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #4C5CEC

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

Preview Lab → · Contrast checker → · Palette generator →

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