#4E5AAB#4E5AAB

#4E5AAB is a mid, vivid blue. Relative luminance 0.119; OKLCH L 49.9% C 0.129 H 274.4°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#4E5AAB
RGBrgb(78, 90, 171)
HSLhsl(232, 37%, 49%)
HSVhsv(232, 54%, 67%)
CMYKcmyk(54.4%, 47.4%, 0%, 32.9%)
CIE-LABlab(41.01, 19.24, -45.02)
CIE-LCHlch(41.01, 48.96, 293.14°)
OKLaboklab(49.88% 0.01 -0.1282)
OKLCHoklch(49.88% 0.129 274.4)
XYZxyz(14.1464, 11.8714, 40.0661)
Luminance0.1187 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5AAB #AB9F4E
analogous
#4E89AB #4E5AAB #714EAB
triadic
#4E5AAB #AB4E5A #5AAB4E
tetradic
#4E5AAB #AB4E89 #AB9F4E #4EAB71
square
#4E5AAB #AB4E89 #AB9F4E #4EAB71
split-complementary
#4E5AAB #AB714E #89AB4E
monochromatic
#282E57 #3B4481 #4E5AAB #767FC0 #A0A6D4

Accessibility & contrast

On white

6.22
#4E5AAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#4E5AAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5AAB
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5AAB#FFFFFF#000000##FFFFFF
##4E5AAB1.006.223.376.22
#FFFFFF6.221.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3565AE
Deuteranopia (green-blind)
#2A5DA9
Tritanopia (blue-blind)
#216C7A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4e5aab;
/* rgb */ color: rgb(78, 90, 171);
/* oklch */ color: oklch(49.9% 0.129 274.4);
Tailwind
colors: {
  custom: {
    50: '#8688c4',
    500: '#4e5aab',
    950: '#000000',
  },
}
SCSS
$custom: #4e5aab;
$custom-light: #8688c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5aab",
  "rgb": {
    "r": 78,
    "g": 90,
    "b": 171
  },
  "hsl": {
    "h": 232.258,
    "s": 37.349,
    "l": 48.824
  },
  "oklch": {
    "l": 0.49876,
    "c": 0.12863,
    "h": 274.4
  },
  "luminance": 0.11872
}

Semantic roles & 50–950 ramp

primary
#4E5AAB
secondary
#C1BB94
accent
#BF5ACD
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #4E5AAB

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

Preview Lab → · Contrast checker → · Palette generator →

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