#4E5BAA#4E5BAA

#4E5BAA is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.0% C 0.126 H 273.9°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#4E5BAA
RGBrgb(78, 91, 170)
HSLhsl(232, 37%, 49%)
HSVhsv(232, 54%, 67%)
CMYKcmyk(54.1%, 46.5%, 0%, 33.3%)
CIE-LABlab(41.22, 18.27, -44.10)
CIE-LCHlch(41.22, 47.73, 292.50°)
OKLaboklab(50.02% 0.0087 -0.1255)
OKLCHoklch(50.02% 0.126 273.9)
XYZxyz(14.1363, 12.0032, 39.5944)
Luminance0.1200 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5BAA #AA9D4E
analogous
#4E89AA #4E5BAA #6F4EAA
triadic
#4E5BAA #AA4E5B #5BAA4E
tetradic
#4E5BAA #AA4E89 #AA9D4E #4EAA6F
square
#4E5BAA #AA4E89 #AA9D4E #4EAA6F
split-complementary
#4E5BAA #AA6F4E #89AA4E
monochromatic
#282E56 #3B4580 #4E5BAA #7580C0 #9FA7D3

Accessibility & contrast

On white

6.18
#4E5BAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#4E5BAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5BAA
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5BAA#FFFFFF#000000##FFFFFF
##4E5BAA1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3865AD
Deuteranopia (green-blind)
#2D5EA8
Tritanopia (blue-blind)
#226C7A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4e5baa;
/* rgb */ color: rgb(78, 91, 170);
/* oklch */ color: oklch(50.0% 0.126 273.9);
Tailwind
colors: {
  custom: {
    50: '#8689c4',
    500: '#4e5baa',
    950: '#000000',
  },
}
SCSS
$custom: #4e5baa;
$custom-light: #8689c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5baa",
  "rgb": {
    "r": 78,
    "g": 91,
    "b": 170
  },
  "hsl": {
    "h": 231.522,
    "s": 37.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.50016,
    "c": 0.12581,
    "h": 273.9
  },
  "luminance": 0.12004
}

Semantic roles & 50–950 ramp

primary
#4E5BAA
secondary
#C0BA94
accent
#BD5BCD
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0B12
muted
#7D7C81

Preview Lab

Preview with #4E5BAA

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

Preview Lab → · Contrast checker → · Palette generator →

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