#4C5BEB#4C5BEB

#4C5BEB is a mid, highly saturated blue. Relative luminance 0.150; OKLCH L 54.7% C 0.215 H 272.5°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#4C5BEB
RGBrgb(76, 91, 235)
HSLhsl(234, 80%, 61%)
HSVhsv(234, 68%, 92%)
CMYKcmyk(67.7%, 61.3%, 0%, 7.8%)
CIE-LABlab(45.65, 39.90, -74.42)
CIE-LCHlch(45.65, 84.44, 298.20°)
OKLaboklab(54.74% 0.0094 -0.2147)
OKLCHoklch(54.74% 0.215 272.5)
XYZxyz(21.7119, 15.0148, 80.3351)
Luminance0.1502 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C5BEB #EBDC4C
analogous
#4CAAEB #4C5BEB #8C4CEB
triadic
#4C5BEB #EB4C5B #5BEB4C
tetradic
#4C5BEB #EB4CAA #EBDC4C #4CEB8C
square
#4C5BEB #EB4CAA #EBDC4C #4CEB8C
split-complementary
#4C5BEB #EB8C4C #AAEB4C
monochromatic
#1321AA #192CE1 #4C5BEB #838DF1 #BAC0F7

Accessibility & contrast

On white

5.25
#4C5BEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#4C5BEB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C5BEB
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C5BEB#FFFFFF#000000##FFFFFF
##4C5BEB1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F0
Deuteranopia (green-blind)
#0065E8
Tritanopia (blue-blind)
#00809A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4c5beb;
/* rgb */ color: rgb(76, 91, 235);
/* oklch */ color: oklch(54.7% 0.215 272.5);
Tailwind
colors: {
  custom: {
    50: '#9189f2',
    500: '#4c5beb',
    950: '#000000',
  },
}
SCSS
$custom: #4c5beb;
$custom-light: #9189f2;
$custom-dark: #000000;
JSON
{
  "hex": "#4c5beb",
  "rgb": {
    "r": 76,
    "g": 91,
    "b": 235
  },
  "hsl": {
    "h": 234.34,
    "s": 79.899,
    "l": 60.98
  },
  "oklch": {
    "l": 0.54742,
    "c": 0.21492,
    "h": 272.5
  },
  "luminance": 0.15017
}

Semantic roles & 50–950 ramp

primary
#4C5BEB
secondary
#E7E2AB
accent
#C809DC
background
#F9F8FF
surface
#F2F0FE
border
#CCCBD6
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #4C5BEB

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

Preview Lab → · Contrast checker → · Palette generator →

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