#4C5CE0#4C5CE0

#4C5CE0 is a mid, vivid blue. Relative luminance 0.146; OKLCH L 54.0% C 0.200 H 272.5°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#4C5CE0
RGBrgb(76, 92, 224)
HSLhsl(234, 70%, 59%)
HSVhsv(234, 66%, 88%)
CMYKcmyk(66.1%, 58.9%, 0%, 12.2%)
CIE-LABlab(45.04, 35.56, -69.20)
CIE-LCHlch(45.04, 77.80, 297.20°)
OKLaboklab(54.02% 0.0089 -0.1994)
OKLCHoklch(54.02% 0.2 272.5)
XYZxyz(20.2577, 14.5708, 72.2514)
Luminance0.1457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C5CE0 #E0D04C
analogous
#4CA6E0 #4C5CE0 #864CE0
triadic
#4C5CE0 #E04C5C #5CE04C
tetradic
#4C5CE0 #E04CA6 #E0D04C #4CE086
square
#4C5CE0 #E04CA6 #E0D04C #4CE086
split-complementary
#4C5CE0 #E0864C #A6E04C
monochromatic
#1A2897 #2335CC #4C5CE0 #808CE9 #B4BBF2

Accessibility & contrast

On white

5.36
#4C5CE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#4C5CE0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C5CE0
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C5CE0#FFFFFF#000000##FFFFFF
##4C5CE01.005.363.915.36
#FFFFFF5.361.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E4
Deuteranopia (green-blind)
#0064DD
Tritanopia (blue-blind)
#007D95
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4c5ce0;
/* rgb */ color: rgb(76, 92, 224);
/* oklch */ color: oklch(54.0% 0.200 272.5);
Tailwind
colors: {
  custom: {
    50: '#8e8aeb',
    500: '#4c5ce0',
    950: '#000000',
  },
}
SCSS
$custom: #4c5ce0;
$custom-light: #8e8aeb;
$custom-dark: #000000;
JSON
{
  "hex": "#4c5ce0",
  "rgb": {
    "r": 76,
    "g": 92,
    "b": 224
  },
  "hsl": {
    "h": 233.514,
    "s": 70.476,
    "l": 58.824
  },
  "oklch": {
    "l": 0.54023,
    "c": 0.19957,
    "h": 272.5
  },
  "luminance": 0.14573
}

Semantic roles & 50–950 ramp

primary
#4C5CE0
secondary
#E1DBA7
accent
#DA3BED
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4C5CE0

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

Preview Lab → · Contrast checker → · Palette generator →

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