#4E5ABF#4E5ABF

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

Color values

HEX#4E5ABF
RGBrgb(78, 90, 191)
HSLhsl(234, 47%, 53%)
HSVhsv(234, 59%, 75%)
CMYKcmyk(59.2%, 52.9%, 0%, 25.1%)
CIE-LABlab(42.30, 25.94, -54.69)
CIE-LCHlch(42.30, 60.53, 295.38°)
OKLaboklab(51.26% 0.012 -0.1567)
OKLCHoklch(51.26% 0.157 274.4)
XYZxyz(16.1989, 12.6924, 50.8764)
Luminance0.1269 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5ABF #BFB34E
analogous
#4E93BF #4E5ABF #7A4EBF
triadic
#4E5ABF #BF4E5A #5ABF4E
tetradic
#4E5ABF #BF4E93 #BFB34E #4EBF7A
square
#4E5ABF #BF4E93 #BFB34E #4EBF7A
split-complementary
#4E5ABF #BF7A4E #93BF4E
monochromatic
#272E6C #374299 #4E5ABF #7B84CF #A8AEE0

Accessibility & contrast

On white

5.93
#4E5ABF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#4E5ABF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5ABF
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5ABF#FFFFFF#000000##FFFFFF
##4E5ABF1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D69C3
Deuteranopia (green-blind)
#005FBD
Tritanopia (blue-blind)
#007184
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4e5abf;
/* rgb */ color: rgb(78, 90, 191);
/* oklch */ color: oklch(51.3% 0.157 274.4);
Tailwind
colors: {
  custom: {
    50: '#8a88d3',
    500: '#4e5abf',
    950: '#000000',
  },
}
SCSS
$custom: #4e5abf;
$custom-light: #8a88d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5abf",
  "rgb": {
    "r": 78,
    "g": 90,
    "b": 191
  },
  "hsl": {
    "h": 233.628,
    "s": 46.888,
    "l": 52.745
  },
  "oklch": {
    "l": 0.51259,
    "c": 0.15711,
    "h": 274.4
  },
  "luminance": 0.12694
}

Semantic roles & 50–950 ramp

primary
#4E5ABF
secondary
#CDC89C
accent
#C851D7
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0D0B14
muted
#7D7C83

Preview Lab

Preview with #4E5ABF

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

Preview Lab → · Contrast checker → · Palette generator →

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