#4E5FC7#4E5FC7

#4E5FC7 is a mid, vivid blue. Relative luminance 0.139; OKLCH L 52.8% C 0.162 H 272.7°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#4E5FC7
RGBrgb(78, 95, 199)
HSLhsl(232, 52%, 54%)
HSVhsv(232, 61%, 78%)
CMYKcmyk(60.8%, 52.3%, 0%, 22%)
CIE-LABlab(44.13, 25.49, -56.37)
CIE-LCHlch(44.13, 61.87, 294.34°)
OKLaboklab(52.81% 0.0075 -0.1615)
OKLCHoklch(52.81% 0.162 272.7)
XYZxyz(17.5395, 13.9262, 55.7855)
Luminance0.1393 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5FC7 #C7B64E
analogous
#4E9CC7 #4E5FC7 #7A4EC7
triadic
#4E5FC7 #C74E5F #5FC74E
tetradic
#4E5FC7 #C74E9C #C7B64E #4EC77A
square
#4E5FC7 #C74E9C #C7B64E #4EC77A
split-complementary
#4E5FC7 #C77A4E #9CC74E
monochromatic
#253075 #3444A4 #4E5FC7 #7C89D6 #ABB3E4

Accessibility & contrast

On white

5.55
#4E5FC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#4E5FC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5FC7
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5FC7#FFFFFF#000000##FFFFFF
##4E5FC71.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#216ECB
Deuteranopia (green-blind)
#0063C5
Tritanopia (blue-blind)
#00778A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4e5fc7;
/* rgb */ color: rgb(78, 95, 199);
/* oklch */ color: oklch(52.8% 0.162 272.7);
Tailwind
colors: {
  custom: {
    50: '#8b8cd9',
    500: '#4e5fc7',
    950: '#000000',
  },
}
SCSS
$custom: #4e5fc7;
$custom-light: #8b8cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5fc7",
  "rgb": {
    "r": 78,
    "g": 95,
    "b": 199
  },
  "hsl": {
    "h": 231.57,
    "s": 51.931,
    "l": 54.314
  },
  "oklch": {
    "l": 0.52808,
    "c": 0.16172,
    "h": 272.7
  },
  "luminance": 0.13928
}

Semantic roles & 50–950 ramp

primary
#4E5FC7
secondary
#D2CB9F
accent
#C74CDB
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4E5FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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