#4C5CE6#4C5CE6

#4C5CE6 is a mid, highly saturated blue. Relative luminance 0.149; OKLCH L 54.5% C 0.207 H 272.4°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#4C5CE6
RGBrgb(76, 92, 230)
HSLhsl(234, 75%, 60%)
HSVhsv(234, 67%, 90%)
CMYKcmyk(67%, 60%, 0%, 9.8%)
CIE-LABlab(45.50, 37.60, -71.85)
CIE-LCHlch(45.50, 81.09, 297.62°)
OKLaboklab(54.51% 0.0088 -0.2072)
OKLCHoklch(54.51% 0.207 272.4)
XYZxyz(21.0858, 14.9020, 76.6127)
Luminance0.1490 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C5CE6 #E6D64C
analogous
#4CA9E6 #4C5CE6 #894CE6
triadic
#4C5CE6 #E64C5C #5CE64C
tetradic
#4C5CE6 #E64CA9 #E6D64C #4CE689
square
#4C5CE6 #E64CA9 #E6D64C #4CE689
split-complementary
#4C5CE6 #E6894C #A9E64C
monochromatic
#1725A1 #1E31D7 #4C5CE6 #828DED #B7BEF5

Accessibility & contrast

On white

5.28
#4C5CE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#4C5CE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C5CE6
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C5CE6#FFFFFF#000000##FFFFFF
##4C5CE61.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073EB
Deuteranopia (green-blind)
#0065E3
Tritanopia (blue-blind)
#007F98
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4c5ce6;
/* rgb */ color: rgb(76, 92, 230);
/* oklch */ color: oklch(54.5% 0.207 272.4);
Tailwind
colors: {
  custom: {
    50: '#8f8aef',
    500: '#4c5ce6',
    950: '#000000',
  },
}
SCSS
$custom: #4c5ce6;
$custom-light: #8f8aef;
$custom-dark: #000000;
JSON
{
  "hex": "#4c5ce6",
  "rgb": {
    "r": 76,
    "g": 92,
    "b": 230
  },
  "hsl": {
    "h": 233.766,
    "s": 75.49,
    "l": 60
  },
  "oklch": {
    "l": 0.54506,
    "c": 0.20735,
    "h": 272.4
  },
  "luminance": 0.14904
}

Semantic roles & 50–950 ramp

primary
#4C5CE6
secondary
#E5DEA9
accent
#DF36F2
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #4C5CE6

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

Preview Lab → · Contrast checker → · Palette generator →

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