#4C5BEC#4C5BEC

#4C5BEC is a mid, highly saturated blue. Relative luminance 0.151; OKLCH L 54.8% C 0.216 H 272.5°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#4C5BEC
RGBrgb(76, 91, 236)
HSLhsl(234, 81%, 61%)
HSVhsv(234, 68%, 93%)
CMYKcmyk(67.8%, 61.4%, 0%, 7.5%)
CIE-LABlab(45.73, 40.23, -74.86)
CIE-LCHlch(45.73, 84.98, 298.26°)
OKLaboklab(54.83% 0.0094 -0.216)
OKLCHoklch(54.83% 0.216 272.5)
XYZxyz(21.8568, 15.0727, 81.0981)
Luminance0.1507 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C5BEC #ECDD4C
analogous
#4CABEC #4C5BEC #8D4CEC
triadic
#4C5BEC #EC4C5B #5BEC4C
tetradic
#4C5BEC #EC4CAB #ECDD4C #4CEC8D
square
#4C5BEC #EC4CAB #ECDD4C #4CEC8D
split-complementary
#4C5BEC #EC8D4C #ABEC4C
monochromatic
#1221AB #182BE3 #4C5BEC #838EF2 #BBC0F8

Accessibility & contrast

On white

5.23
#4C5BEC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#4C5BEC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C5BEC
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C5BEC#FFFFFF#000000##FFFFFF
##4C5BEC1.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F1
Deuteranopia (green-blind)
#0065E9
Tritanopia (blue-blind)
#00809B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4c5bec;
/* rgb */ color: rgb(76, 91, 236);
/* oklch */ color: oklch(54.8% 0.216 272.5);
Tailwind
colors: {
  custom: {
    50: '#9189f3',
    500: '#4c5bec',
    950: '#000000',
  },
}
SCSS
$custom: #4c5bec;
$custom-light: #9189f3;
$custom-dark: #000000;
JSON
{
  "hex": "#4c5bec",
  "rgb": {
    "r": 76,
    "g": 91,
    "b": 236
  },
  "hsl": {
    "h": 234.375,
    "s": 80.808,
    "l": 61.176
  },
  "oklch": {
    "l": 0.54825,
    "c": 0.21618,
    "h": 272.5
  },
  "luminance": 0.15075
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4C5BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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