#4C5ED7#4C5ED7

#4C5ED7 is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.7% C 0.185 H 272.2°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#4C5ED7
RGBrgb(76, 94, 215)
HSLhsl(232, 63%, 57%)
HSVhsv(232, 65%, 84%)
CMYKcmyk(64.7%, 56.3%, 0%, 15.7%)
CIE-LABlab(44.87, 31.25, -64.36)
CIE-LCHlch(44.87, 71.55, 295.90°)
OKLaboklab(53.68% 0.0071 -0.1851)
OKLCHoklch(53.68% 0.185 272.2)
XYZxyz(19.2448, 14.4465, 66.0511)
Luminance0.1445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C5ED7 #D7C54C
analogous
#4CA4D7 #4C5ED7 #804CD7
triadic
#4C5ED7 #D74C5E #5ED74C
tetradic
#4C5ED7 #D74CA4 #D7C54C #4CD780
square
#4C5ED7 #D74CA4 #D7C54C #4CD780
split-complementary
#4C5ED7 #D7804C #A4D74C
monochromatic
#1F2D8A #2A3DBC #4C5ED7 #7E8BE2 #B0B8ED

Accessibility & contrast

On white

5.40
#4C5ED7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#4C5ED7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C5ED7
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C5ED7#FFFFFF#000000##FFFFFF
##4C5ED71.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DB
Deuteranopia (green-blind)
#0064D5
Tritanopia (blue-blind)
#007B91
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4c5ed7;
/* rgb */ color: rgb(76, 94, 215);
/* oklch */ color: oklch(53.7% 0.185 272.2);
Tailwind
colors: {
  custom: {
    50: '#8d8be4',
    500: '#4c5ed7',
    950: '#000000',
  },
}
SCSS
$custom: #4c5ed7;
$custom-light: #8d8be4;
$custom-dark: #000000;
JSON
{
  "hex": "#4c5ed7",
  "rgb": {
    "r": 76,
    "g": 94,
    "b": 215
  },
  "hsl": {
    "h": 232.23,
    "s": 63.47,
    "l": 57.059
  },
  "oklch": {
    "l": 0.53684,
    "c": 0.18527,
    "h": 272.2
  },
  "luminance": 0.14448
}

Semantic roles & 50–950 ramp

primary
#4C5ED7
secondary
#DCD4A3
accent
#D141E6
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4C5ED7

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

Preview Lab → · Contrast checker → · Palette generator →

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