#4C5AE5#4C5AE5

#4C5AE5 is a mid, highly saturated blue. Relative luminance 0.145; OKLCH L 54.1% C 0.208 H 272.8°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#4C5AE5
RGBrgb(76, 90, 229)
HSLhsl(235, 75%, 60%)
HSVhsv(235, 67%, 90%)
CMYKcmyk(66.8%, 60.7%, 0%, 10.2%)
CIE-LABlab(44.95, 38.48, -72.19)
CIE-LCHlch(44.95, 81.80, 298.06°)
OKLaboklab(54.07% 0.0103 -0.2082)
OKLCHoklch(54.07% 0.208 272.8)
XYZxyz(20.7748, 14.5041, 75.8183)
Luminance0.1451 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C5AE5 #E5D74C
analogous
#4CA6E5 #4C5AE5 #8B4CE5
triadic
#4C5AE5 #E54C5A #5AE54C
tetradic
#4C5AE5 #E54CA6 #E5D74C #4CE58B
square
#4C5AE5 #E54CA6 #E5D74C #4CE58B
split-complementary
#4C5AE5 #E58B4C #A6E54C
monochromatic
#17249F #1F30D5 #4C5AE5 #818BED #B7BDF5

Accessibility & contrast

On white

5.38
#4C5AE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#4C5AE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C5AE5
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C5AE5#FFFFFF#000000##FFFFFF
##4C5AE51.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EA
Deuteranopia (green-blind)
#0064E2
Tritanopia (blue-blind)
#007D97
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4c5ae5;
/* rgb */ color: rgb(76, 90, 229);
/* oklch */ color: oklch(54.1% 0.208 272.8);
Tailwind
colors: {
  custom: {
    50: '#8f88ee',
    500: '#4c5ae5',
    950: '#000000',
  },
}
SCSS
$custom: #4c5ae5;
$custom-light: #8f88ee;
$custom-dark: #000000;
JSON
{
  "hex": "#4c5ae5",
  "rgb": {
    "r": 76,
    "g": 90,
    "b": 229
  },
  "hsl": {
    "h": 234.51,
    "s": 74.634,
    "l": 59.804
  },
  "oklch": {
    "l": 0.54074,
    "c": 0.20842,
    "h": 272.8
  },
  "luminance": 0.14506
}

Semantic roles & 50–950 ramp

primary
#4C5AE5
secondary
#E4DFA9
accent
#E037F1
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4C5AE5

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

Preview Lab → · Contrast checker → · Palette generator →

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