#4C5EE5#4C5EE5

#4C5EE5 is a mid, highly saturated blue. Relative luminance 0.152; OKLCH L 54.8% C 0.204 H 272.0°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#4C5EE5
RGBrgb(76, 94, 229)
HSLhsl(233, 75%, 60%)
HSVhsv(233, 67%, 90%)
CMYKcmyk(66.8%, 59%, 0%, 10.2%)
CIE-LABlab(45.90, 36.03, -70.63)
CIE-LCHlch(45.90, 79.29, 297.03°)
OKLaboklab(54.78% 0.0072 -0.2035)
OKLCHoklch(54.78% 0.204 272)
XYZxyz(21.1213, 15.1971, 75.9338)
Luminance0.1520 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C5EE5 #E5D34C
analogous
#4CABE5 #4C5EE5 #864CE5
triadic
#4C5EE5 #E54C5E #5EE54C
tetradic
#4C5EE5 #E54CAB #E5D34C #4CE586
square
#4C5EE5 #E54CAB #E5D34C #4CE586
split-complementary
#4C5EE5 #E5864C #ABE54C
monochromatic
#17279F #1F34D5 #4C5EE5 #818EED #B7BEF5

Accessibility & contrast

On white

5.20
#4C5EE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#4C5EE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C5EE5
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C5EE5#FFFFFF#000000##FFFFFF
##4C5EE51.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E9
Deuteranopia (green-blind)
#0066E2
Tritanopia (blue-blind)
#008098
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4c5ee5;
/* rgb */ color: rgb(76, 94, 229);
/* oklch */ color: oklch(54.8% 0.204 272.0);
Tailwind
colors: {
  custom: {
    50: '#8f8bee',
    500: '#4c5ee5',
    950: '#000000',
  },
}
SCSS
$custom: #4c5ee5;
$custom-light: #8f8bee;
$custom-dark: #000000;
JSON
{
  "hex": "#4c5ee5",
  "rgb": {
    "r": 76,
    "g": 94,
    "b": 229
  },
  "hsl": {
    "h": 232.941,
    "s": 74.634,
    "l": 59.804
  },
  "oklch": {
    "l": 0.54781,
    "c": 0.20368,
    "h": 272
  },
  "luminance": 0.15199
}

Semantic roles & 50–950 ramp

primary
#4C5EE5
secondary
#E4DDA9
accent
#DB37F1
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #4C5EE5

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

Preview Lab → · Contrast checker → · Palette generator →

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