#4E5CC7#4E5CC7

#4E5CC7 is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.2% C 0.166 H 273.6°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#4E5CC7
RGBrgb(78, 92, 199)
HSLhsl(233, 52%, 54%)
HSVhsv(233, 61%, 78%)
CMYKcmyk(60.8%, 53.8%, 0%, 22%)
CIE-LABlab(43.35, 27.38, -57.62)
CIE-LCHlch(43.35, 63.79, 295.42°)
OKLaboklab(52.23% 0.0104 -0.1652)
OKLCHoklch(52.23% 0.166 273.6)
XYZxyz(17.2744, 13.3961, 55.6972)
Luminance0.1340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5CC7 #C7B94E
analogous
#4E99C7 #4E5CC7 #7D4EC7
triadic
#4E5CC7 #C74E5C #5CC74E
tetradic
#4E5CC7 #C74E99 #C7B94E #4EC77D
square
#4E5CC7 #C74E99 #C7B94E #4EC77D
split-complementary
#4E5CC7 #C77D4E #99C74E
monochromatic
#252E75 #3441A4 #4E5CC7 #7C87D6 #ABB2E4

Accessibility & contrast

On white

5.71
#4E5CC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#4E5CC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5CC7
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5CC7#FFFFFF#000000##FFFFFF
##4E5CC71.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#156CCB
Deuteranopia (green-blind)
#0061C5
Tritanopia (blue-blind)
#007588
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4e5cc7;
/* rgb */ color: rgb(78, 92, 199);
/* oklch */ color: oklch(52.2% 0.166 273.6);
Tailwind
colors: {
  custom: {
    50: '#8b8ad9',
    500: '#4e5cc7',
    950: '#000000',
  },
}
SCSS
$custom: #4e5cc7;
$custom-light: #8b8ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5cc7",
  "rgb": {
    "r": 78,
    "g": 92,
    "b": 199
  },
  "hsl": {
    "h": 233.058,
    "s": 51.931,
    "l": 54.314
  },
  "oklch": {
    "l": 0.52227,
    "c": 0.16558,
    "h": 273.6
  },
  "luminance": 0.13398
}

Semantic roles & 50–950 ramp

primary
#4E5CC7
secondary
#D2CC9F
accent
#CB4CDB
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4E5CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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