#4E5FC8#4E5FC8

#4E5FC8 is a mid, vivid blue. Relative luminance 0.140; OKLCH L 52.9% C 0.163 H 272.7°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#4E5FC8
RGBrgb(78, 95, 200)
HSLhsl(232, 53%, 55%)
HSVhsv(232, 61%, 78%)
CMYKcmyk(61%, 52.5%, 0%, 21.6%)
CIE-LABlab(44.19, 25.83, -56.84)
CIE-LCHlch(44.19, 62.43, 294.44°)
OKLaboklab(52.88% 0.0076 -0.1629)
OKLCHoklch(52.88% 0.163 272.7)
XYZxyz(17.6560, 13.9728, 56.3990)
Luminance0.1397 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5FC8 #C8B74E
analogous
#4E9CC8 #4E5FC8 #7A4EC8
triadic
#4E5FC8 #C84E5F #5FC84E
tetradic
#4E5FC8 #C84E9C #C8B74E #4EC87A
square
#4E5FC8 #C84E9C #C8B74E #4EC87A
split-complementary
#4E5FC8 #C87A4E #9CC84E
monochromatic
#253077 #3343A5 #4E5FC8 #7D89D7 #ABB3E5

Accessibility & contrast

On white

5.53
#4E5FC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4E5FC8
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5FC8#FFFFFF#000000##FFFFFF
##4E5FC81.005.533.795.53
#FFFFFF5.531.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F6ECC
Deuteranopia (green-blind)
#0063C6
Tritanopia (blue-blind)
#00778A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4e5fc8;
/* rgb */ color: rgb(78, 95, 200);
/* oklch */ color: oklch(52.9% 0.163 272.7);
Tailwind
colors: {
  custom: {
    50: '#8b8cd9',
    500: '#4e5fc8',
    950: '#000000',
  },
}
SCSS
$custom: #4e5fc8;
$custom-light: #8b8cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5fc8",
  "rgb": {
    "r": 78,
    "g": 95,
    "b": 200
  },
  "hsl": {
    "h": 231.639,
    "s": 52.586,
    "l": 54.51
  },
  "oklch": {
    "l": 0.5288,
    "c": 0.16311,
    "h": 272.7
  },
  "luminance": 0.13974
}

Semantic roles & 50–950 ramp

primary
#4E5FC8
secondary
#D3CC9F
accent
#C84CDC
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4E5FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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