#4E5CCA#4E5CCA

#4E5CCA is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.4% C 0.170 H 273.6°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#4E5CCA
RGBrgb(78, 92, 202)
HSLhsl(233, 54%, 55%)
HSVhsv(233, 61%, 79%)
CMYKcmyk(61.4%, 54.5%, 0%, 20.8%)
CIE-LABlab(43.56, 28.40, -59.01)
CIE-LCHlch(43.56, 65.49, 295.70°)
OKLaboklab(52.45% 0.0106 -0.1694)
OKLCHoklch(52.45% 0.17 273.6)
XYZxyz(17.6262, 13.5368, 57.5497)
Luminance0.1354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5CCA #CABC4E
analogous
#4E9ACA #4E5CCA #7E4ECA
triadic
#4E5CCA #CA4E5C #5CCA4E
tetradic
#4E5CCA #CA4E9A #CABC4E #4ECA7E
square
#4E5CCA #CA4E9A #CABC4E #4ECA7E
split-complementary
#4E5CCA #CA7E4E #9ACA4E
monochromatic
#242E79 #3240A8 #4E5CCA #7D87D8 #ACB3E6

Accessibility & contrast

On white

5.66
#4E5CCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#4E5CCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5CCA
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5CCA#FFFFFF#000000##FFFFFF
##4E5CCA1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B6DCE
Deuteranopia (green-blind)
#0062C8
Tritanopia (blue-blind)
#00768A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4e5cca;
/* rgb */ color: rgb(78, 92, 202);
/* oklch */ color: oklch(52.4% 0.170 273.6);
Tailwind
colors: {
  custom: {
    50: '#8b8adb',
    500: '#4e5cca',
    950: '#000000',
  },
}
SCSS
$custom: #4e5cca;
$custom-light: #8b8adb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5cca",
  "rgb": {
    "r": 78,
    "g": 92,
    "b": 202
  },
  "hsl": {
    "h": 233.226,
    "s": 53.913,
    "l": 54.902
  },
  "oklch": {
    "l": 0.52448,
    "c": 0.16969,
    "h": 273.6
  },
  "luminance": 0.13538
}

Semantic roles & 50–950 ramp

primary
#4E5CCA
secondary
#D4CEA0
accent
#CD4BDD
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4E5CCA

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

Preview Lab → · Contrast checker → · Palette generator →

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