#4E5FC5#4E5FC5

#4E5FC5 is a mid, vivid blue. Relative luminance 0.138; OKLCH L 52.7% C 0.159 H 272.6°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#4E5FC5
RGBrgb(78, 95, 197)
HSLhsl(231, 51%, 54%)
HSVhsv(231, 60%, 77%)
CMYKcmyk(60.4%, 51.8%, 0%, 22.7%)
CIE-LABlab(43.99, 24.81, -55.43)
CIE-LCHlch(43.99, 60.73, 294.12°)
OKLaboklab(52.66% 0.0073 -0.1588)
OKLCHoklch(52.66% 0.159 272.6)
XYZxyz(17.3088, 13.8339, 54.5706)
Luminance0.1384 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5FC5 #C5B44E
analogous
#4E9AC5 #4E5FC5 #794EC5
triadic
#4E5FC5 #C54E5F #5FC54E
tetradic
#4E5FC5 #C54E9A #C5B44E #4EC579
square
#4E5FC5 #C54E9A #C5B44E #4EC579
split-complementary
#4E5FC5 #C5794E #9AC54E
monochromatic
#263173 #3544A1 #4E5FC5 #7C89D4 #AAB2E3

Accessibility & contrast

On white

5.57
#4E5FC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#4E5FC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5FC5
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5FC5#FFFFFF#000000##FFFFFF
##4E5FC51.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#246DC9
Deuteranopia (green-blind)
#0063C3
Tritanopia (blue-blind)
#007789
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4e5fc5;
/* rgb */ color: rgb(78, 95, 197);
/* oklch */ color: oklch(52.7% 0.159 272.6);
Tailwind
colors: {
  custom: {
    50: '#8a8cd7',
    500: '#4e5fc5',
    950: '#000000',
  },
}
SCSS
$custom: #4e5fc5;
$custom-light: #8a8cd7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5fc5",
  "rgb": {
    "r": 78,
    "g": 95,
    "b": 197
  },
  "hsl": {
    "h": 231.429,
    "s": 50.638,
    "l": 53.922
  },
  "oklch": {
    "l": 0.52665,
    "c": 0.15895,
    "h": 272.6
  },
  "luminance": 0.13835
}

Semantic roles & 50–950 ramp

primary
#4E5FC5
secondary
#D1CA9E
accent
#C64EDA
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0C14
muted
#7E7D83

Preview Lab

Preview with #4E5FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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