#4E5AB8#4E5AB8

#4E5AB8 is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.8% C 0.147 H 274.4°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#4E5AB8
RGBrgb(78, 90, 184)
HSLhsl(233, 43%, 51%)
HSVhsv(233, 58%, 72%)
CMYKcmyk(57.6%, 51.1%, 0%, 27.8%)
CIE-LABlab(41.83, 23.58, -51.35)
CIE-LCHlch(41.83, 56.51, 294.67°)
OKLaboklab(50.76% 0.0114 -0.1468)
OKLCHoklch(50.76% 0.147 274.4)
XYZxyz(15.4470, 12.3916, 46.9159)
Luminance0.1239 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5AB8 #B8AC4E
analogous
#4E8FB8 #4E5AB8 #774EB8
triadic
#4E5AB8 #B84E5A #5AB84E
tetradic
#4E5AB8 #B84E8F #B8AC4E #4EB877
square
#4E5AB8 #B84E8F #B8AC4E #4EB877
split-complementary
#4E5AB8 #B8774E #8FB84E
monochromatic
#282F64 #39438F #4E5AB8 #7A83CA #A5ABDB

Accessibility & contrast

On white

6.04
#4E5AB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#4E5AB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5AB8
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5AB8#FFFFFF#000000##FFFFFF
##4E5AB81.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2867BB
Deuteranopia (green-blind)
#135EB6
Tritanopia (blue-blind)
#076F80
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4e5ab8;
/* rgb */ color: rgb(78, 90, 184);
/* oklch */ color: oklch(50.8% 0.147 274.4);
Tailwind
colors: {
  custom: {
    50: '#8888ce',
    500: '#4e5ab8',
    950: '#000000',
  },
}
SCSS
$custom: #4e5ab8;
$custom-light: #8888ce;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5ab8",
  "rgb": {
    "r": 78,
    "g": 90,
    "b": 184
  },
  "hsl": {
    "h": 233.208,
    "s": 42.742,
    "l": 51.373
  },
  "oklch": {
    "l": 0.50761,
    "c": 0.14728,
    "h": 274.4
  },
  "luminance": 0.12393
}

Semantic roles & 50–950 ramp

primary
#4E5AB8
secondary
#C8C39A
accent
#C455D3
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82

Preview Lab

Preview with #4E5AB8

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

Preview Lab → · Contrast checker → · Palette generator →

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