#4C5EDC#4C5EDC

#4C5EDC is a mid, vivid blue. Relative luminance 0.147; OKLCH L 54.1% C 0.192 H 272.2°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#4C5EDC
RGBrgb(76, 94, 220)
HSLhsl(233, 67%, 58%)
HSVhsv(233, 65%, 86%)
CMYKcmyk(65.5%, 57.3%, 0%, 13.7%)
CIE-LABlab(45.23, 32.96, -66.62)
CIE-LCHlch(45.23, 74.33, 296.32°)
OKLaboklab(54.07% 0.0072 -0.1918)
OKLCHoklch(54.07% 0.192 272.2)
XYZxyz(19.8971, 14.7074, 69.4865)
Luminance0.1471 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C5EDC #DCCA4C
analogous
#4CA6DC #4C5EDC #824CDC
triadic
#4C5EDC #DC4C5E #5EDC4C
tetradic
#4C5EDC #DC4CA6 #DCCA4C #4CDC82
square
#4C5EDC #DC4CA6 #DCCA4C #4CDC82
split-complementary
#4C5EDC #DC824C #A6DC4C
monochromatic
#1C2B91 #263AC4 #4C5EDC #7F8CE6 #B2BAF0

Accessibility & contrast

On white

5.33
#4C5EDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#4C5EDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C5EDC
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C5EDC#FFFFFF#000000##FFFFFF
##4C5EDC1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E0
Deuteranopia (green-blind)
#0065D9
Tritanopia (blue-blind)
#007D94
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4c5edc;
/* rgb */ color: rgb(76, 94, 220);
/* oklch */ color: oklch(54.1% 0.192 272.2);
Tailwind
colors: {
  custom: {
    50: '#8d8be8',
    500: '#4c5edc',
    950: '#000000',
  },
}
SCSS
$custom: #4c5edc;
$custom-light: #8d8be8;
$custom-dark: #000000;
JSON
{
  "hex": "#4c5edc",
  "rgb": {
    "r": 76,
    "g": 94,
    "b": 220
  },
  "hsl": {
    "h": 232.5,
    "s": 67.29,
    "l": 58.039
  },
  "oklch": {
    "l": 0.54071,
    "c": 0.1919,
    "h": 272.2
  },
  "luminance": 0.14709
}

Semantic roles & 50–950 ramp

primary
#4C5EDC
secondary
#DFD7A5
accent
#D53EEA
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #4C5EDC

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

Preview Lab → · Contrast checker → · Palette generator →

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