#4E5AB2#4E5AB2

#4E5AB2 is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.3% C 0.139 H 274.5°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#4E5AB2
RGBrgb(78, 90, 178)
HSLhsl(233, 39%, 50%)
HSVhsv(233, 56%, 70%)
CMYKcmyk(56.2%, 49.4%, 0%, 30.2%)
CIE-LABlab(41.45, 21.57, -48.45)
CIE-LCHlch(41.45, 53.04, 294.00°)
OKLaboklab(50.35% 0.0108 -0.1383)
OKLCHoklch(50.35% 0.139 274.5)
XYZxyz(14.8313, 12.1453, 43.6736)
Luminance0.1215 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5AB2 #B2A64E
analogous
#4E8CB2 #4E5AB2 #744EB2
triadic
#4E5AB2 #B24E5A #5AB24E
tetradic
#4E5AB2 #B24E8C #B2A64E #4EB274
square
#4E5AB2 #B24E8C #B2A64E #4EB274
split-complementary
#4E5AB2 #B2744E #8CB24E
monochromatic
#292F5D #3B4488 #4E5AB2 #7982C5 #A3AAD7

Accessibility & contrast

On white

6.12
#4E5AB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#4E5AB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5AB2
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5AB2#FFFFFF#000000##FFFFFF
##4E5AB21.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F66B5
Deuteranopia (green-blind)
#205EB0
Tritanopia (blue-blind)
#166E7D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4e5ab2;
/* rgb */ color: rgb(78, 90, 178);
/* oklch */ color: oklch(50.3% 0.139 274.5);
Tailwind
colors: {
  custom: {
    50: '#8788c9',
    500: '#4e5ab2',
    950: '#000000',
  },
}
SCSS
$custom: #4e5ab2;
$custom-light: #8788c9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5ab2",
  "rgb": {
    "r": 78,
    "g": 90,
    "b": 178
  },
  "hsl": {
    "h": 232.8,
    "s": 39.37,
    "l": 50.196
  },
  "oklch": {
    "l": 0.50346,
    "c": 0.13873,
    "h": 274.5
  },
  "luminance": 0.12146
}

Semantic roles & 50–950 ramp

primary
#4E5AB2
secondary
#C4BF98
accent
#C159CF
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #4E5AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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