#4E5ABD#4E5ABD

#4E5ABD is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.1% C 0.154 H 274.4°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#4E5ABD
RGBrgb(78, 90, 189)
HSLhsl(234, 46%, 52%)
HSVhsv(234, 59%, 74%)
CMYKcmyk(58.7%, 52.4%, 0%, 25.9%)
CIE-LABlab(42.16, 25.27, -53.74)
CIE-LCHlch(42.16, 59.38, 295.18°)
OKLaboklab(51.12% 0.0118 -0.1539)
OKLCHoklch(51.12% 0.154 274.4)
XYZxyz(15.9804, 12.6049, 49.7251)
Luminance0.1261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5ABD #BDB14E
analogous
#4E91BD #4E5ABD #7A4EBD
triadic
#4E5ABD #BD4E5A #5ABD4E
tetradic
#4E5ABD #BD4E91 #BDB14E #4EBD7A
square
#4E5ABD #BD4E91 #BDB14E #4EBD7A
split-complementary
#4E5ABD #BD7A4E #91BD4E
monochromatic
#272E69 #384296 #4E5ABD #7B84CE #A7ADDE

Accessibility & contrast

On white

5.96
#4E5ABD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#4E5ABD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5ABD
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5ABD#FFFFFF#000000##FFFFFF
##4E5ABD1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2168C0
Deuteranopia (green-blind)
#005FBB
Tritanopia (blue-blind)
#007183
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4e5abd;
/* rgb */ color: rgb(78, 90, 189);
/* oklch */ color: oklch(51.1% 0.154 274.4);
Tailwind
colors: {
  custom: {
    50: '#8988d1',
    500: '#4e5abd',
    950: '#000000',
  },
}
SCSS
$custom: #4e5abd;
$custom-light: #8988d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5abd",
  "rgb": {
    "r": 78,
    "g": 90,
    "b": 189
  },
  "hsl": {
    "h": 233.514,
    "s": 45.679,
    "l": 52.353
  },
  "oklch": {
    "l": 0.51116,
    "c": 0.15431,
    "h": 274.4
  },
  "luminance": 0.12606
}

Semantic roles & 50–950 ramp

primary
#4E5ABD
secondary
#CCC69B
accent
#C752D5
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82

Preview Lab

Preview with #4E5ABD

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

Preview Lab → · Contrast checker → · Palette generator →

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