#4E5AC0#4E5AC0

#4E5AC0 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.3% C 0.159 H 274.3°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#4E5AC0
RGBrgb(78, 90, 192)
HSLhsl(234, 48%, 53%)
HSVhsv(234, 59%, 75%)
CMYKcmyk(59.4%, 53.1%, 0%, 24.7%)
CIE-LABlab(42.36, 26.28, -55.16)
CIE-LCHlch(42.36, 61.10, 295.47°)
OKLaboklab(51.33% 0.012 -0.158)
OKLCHoklch(51.33% 0.159 274.3)
XYZxyz(16.3094, 12.7366, 51.4579)
Luminance0.1274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5AC0 #C0B44E
analogous
#4E93C0 #4E5AC0 #7B4EC0
triadic
#4E5AC0 #C04E5A #5AC04E
tetradic
#4E5AC0 #C04E93 #C0B44E #4EC07B
square
#4E5AC0 #C04E93 #C0B44E #4EC07B
split-complementary
#4E5AC0 #C07B4E #93C04E
monochromatic
#272E6D #37419A #4E5AC0 #7B84D0 #A8AEE0

Accessibility & contrast

On white

5.92
#4E5AC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#4E5AC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5AC0
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5AC0#FFFFFF#000000##FFFFFF
##4E5AC01.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B69C4
Deuteranopia (green-blind)
#005FBE
Tritanopia (blue-blind)
#007284
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4e5ac0;
/* rgb */ color: rgb(78, 90, 192);
/* oklch */ color: oklch(51.3% 0.159 274.3);
Tailwind
colors: {
  custom: {
    50: '#8a88d4',
    500: '#4e5ac0',
    950: '#000000',
  },
}
SCSS
$custom: #4e5ac0;
$custom-light: #8a88d4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5ac0",
  "rgb": {
    "r": 78,
    "g": 90,
    "b": 192
  },
  "hsl": {
    "h": 233.684,
    "s": 47.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.51332,
    "c": 0.1585,
    "h": 274.3
  },
  "luminance": 0.12738
}

Semantic roles & 50–950 ramp

primary
#4E5AC0
secondary
#CEC89C
accent
#C951D7
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0D0B14
muted
#7D7C83

Preview Lab

Preview with #4E5AC0

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

Preview Lab → · Contrast checker → · Palette generator →

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