#4E5ED8#4E5ED8

#4E5ED8 is a mid, vivid blue. Relative luminance 0.146; OKLCH L 53.9% C 0.186 H 272.8°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#4E5ED8
RGBrgb(78, 94, 216)
HSLhsl(233, 64%, 58%)
HSVhsv(233, 64%, 85%)
CMYKcmyk(63.9%, 56.5%, 0%, 15.3%)
CIE-LABlab(45.06, 31.90, -64.62)
CIE-LCHlch(45.06, 72.07, 296.28°)
OKLaboklab(53.88% 0.0092 -0.1858)
OKLCHoklch(53.88% 0.186 272.8)
XYZxyz(19.5351, 14.5813, 66.7374)
Luminance0.1458 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5ED8 #D8C84E
analogous
#4EA3D8 #4E5ED8 #834ED8
triadic
#4E5ED8 #D84E5E #5ED84E
tetradic
#4E5ED8 #D84EA3 #D8C84E #4ED883
square
#4E5ED8 #D84EA3 #D8C84E #4ED883
split-complementary
#4E5ED8 #D8834E #A3D84E
monochromatic
#1F2C8D #2A3BBF #4E5ED8 #808CE3 #B2B9EE

Accessibility & contrast

On white

5.36
#4E5ED8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#4E5ED8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5ED8
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5ED8#FFFFFF#000000##FFFFFF
##4E5ED81.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DC
Deuteranopia (green-blind)
#0065D6
Tritanopia (blue-blind)
#007B92
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4e5ed8;
/* rgb */ color: rgb(78, 94, 216);
/* oklch */ color: oklch(53.9% 0.186 272.8);
Tailwind
colors: {
  custom: {
    50: '#8e8be5',
    500: '#4e5ed8',
    950: '#000000',
  },
}
SCSS
$custom: #4e5ed8;
$custom-light: #8e8be5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5ed8",
  "rgb": {
    "r": 78,
    "g": 94,
    "b": 216
  },
  "hsl": {
    "h": 233.043,
    "s": 63.889,
    "l": 57.647
  },
  "oklch": {
    "l": 0.53879,
    "c": 0.18607,
    "h": 272.8
  },
  "luminance": 0.14583
}

Semantic roles & 50–950 ramp

primary
#4E5ED8
secondary
#DDD6A5
accent
#D441E7
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #4E5ED8

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

Preview Lab → · Contrast checker → · Palette generator →

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