#4C5AEB#4C5AEB

#4C5AEB is a mid, highly saturated blue. Relative luminance 0.148; OKLCH L 54.6% C 0.216 H 272.7°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#4C5AEB
RGBrgb(76, 90, 235)
HSLhsl(235, 80%, 61%)
HSVhsv(235, 68%, 92%)
CMYKcmyk(67.7%, 61.7%, 0%, 7.8%)
CIE-LABlab(45.42, 40.50, -74.80)
CIE-LCHlch(45.42, 85.07, 298.43°)
OKLaboklab(54.57% 0.0101 -0.2158)
OKLCHoklch(54.57% 0.216 272.7)
XYZxyz(21.6270, 14.8449, 80.3068)
Luminance0.1485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C5AEB #EBDD4C
analogous
#4CA9EB #4C5AEB #8D4CEB
triadic
#4C5AEB #EB4C5A #5AEB4C
tetradic
#4C5AEB #EB4CA9 #EBDD4C #4CEB8D
square
#4C5AEB #EB4CA9 #EBDD4C #4CEB8D
split-complementary
#4C5AEB #EB8D4C #A9EB4C
monochromatic
#1320AA #192BE1 #4C5AEB #838DF1 #BABFF7

Accessibility & contrast

On white

5.29
#4C5AEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#4C5AEB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C5AEB
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C5AEB#FFFFFF#000000##FFFFFF
##4C5AEB1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F0
Deuteranopia (green-blind)
#0064E8
Tritanopia (blue-blind)
#007F9A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4c5aeb;
/* rgb */ color: rgb(76, 90, 235);
/* oklch */ color: oklch(54.6% 0.216 272.7);
Tailwind
colors: {
  custom: {
    50: '#9188f2',
    500: '#4c5aeb',
    950: '#000000',
  },
}
SCSS
$custom: #4c5aeb;
$custom-light: #9188f2;
$custom-dark: #000000;
JSON
{
  "hex": "#4c5aeb",
  "rgb": {
    "r": 76,
    "g": 90,
    "b": 235
  },
  "hsl": {
    "h": 234.717,
    "s": 79.899,
    "l": 60.98
  },
  "oklch": {
    "l": 0.5457,
    "c": 0.21607,
    "h": 272.7
  },
  "luminance": 0.14847
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4C5AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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