#4E5AC8#4E5AC8

#4E5AC8 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.9% C 0.170 H 274.2°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#4E5AC8
RGBrgb(78, 90, 200)
HSLhsl(234, 53%, 55%)
HSVhsv(234, 61%, 78%)
CMYKcmyk(61%, 55%, 0%, 21.6%)
CIE-LABlab(42.91, 28.98, -58.91)
CIE-LCHlch(42.91, 65.65, 296.20°)
OKLaboklab(51.92% 0.0124 -0.1691)
OKLCHoklch(51.92% 0.17 274.2)
XYZxyz(17.2200, 13.1008, 56.2536)
Luminance0.1310 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5AC8 #C8BC4E
analogous
#4E97C8 #4E5AC8 #7F4EC8
triadic
#4E5AC8 #C84E5A #5AC84E
tetradic
#4E5AC8 #C84E97 #C8BC4E #4EC87F
square
#4E5AC8 #C84E97 #C8BC4E #4EC87F
split-complementary
#4E5AC8 #C87F4E #97C84E
monochromatic
#252D77 #333FA5 #4E5AC8 #7D86D7 #ABB1E5

Accessibility & contrast

On white

5.80
#4E5AC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#4E5AC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5AC8
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5AC8#FFFFFF#000000##FFFFFF
##4E5AC81.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#036BCC
Deuteranopia (green-blind)
#0060C6
Tritanopia (blue-blind)
#007488
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4e5ac8;
/* rgb */ color: rgb(78, 90, 200);
/* oklch */ color: oklch(51.9% 0.170 274.2);
Tailwind
colors: {
  custom: {
    50: '#8b88d9',
    500: '#4e5ac8',
    950: '#000000',
  },
}
SCSS
$custom: #4e5ac8;
$custom-light: #8b88d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5ac8",
  "rgb": {
    "r": 78,
    "g": 90,
    "b": 200
  },
  "hsl": {
    "h": 234.098,
    "s": 52.586,
    "l": 54.51
  },
  "oklch": {
    "l": 0.5192,
    "c": 0.16953,
    "h": 274.2
  },
  "luminance": 0.13102
}

Semantic roles & 50–950 ramp

primary
#4E5AC8
secondary
#D3CE9F
accent
#CE4CDC
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4E5AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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