#4E5BAE#4E5BAE

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

Color values

HEX#4E5BAE
RGBrgb(78, 91, 174)
HSLhsl(232, 38%, 49%)
HSVhsv(232, 55%, 68%)
CMYKcmyk(55.2%, 47.7%, 0%, 31.8%)
CIE-LABlab(41.46, 19.60, -46.07)
CIE-LCHlch(41.46, 50.06, 293.05°)
OKLaboklab(50.28% 0.0092 -0.1313)
OKLCHoklch(50.28% 0.132 274)
XYZxyz(14.5205, 12.1569, 41.6175)
Luminance0.1216 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5BAE #AEA14E
analogous
#4E8BAE #4E5BAE #714EAE
triadic
#4E5BAE #AE4E5B #5BAE4E
tetradic
#4E5BAE #AE4E8B #AEA14E #4EAE71
square
#4E5BAE #AE4E8B #AEA14E #4EAE71
split-complementary
#4E5BAE #AE714E #8BAE4E
monochromatic
#282F59 #3B4584 #4E5BAE #7781C2 #A1A8D5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E5BAE#FFFFFF#000000##FFFFFF
##4E5BAE1.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)
#3566B1
Deuteranopia (green-blind)
#285EAC
Tritanopia (blue-blind)
#1D6D7C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4e5bae;
/* rgb */ color: rgb(78, 91, 174);
/* oklch */ color: oklch(50.3% 0.132 274.0);
Tailwind
colors: {
  custom: {
    50: '#8789c7',
    500: '#4e5bae',
    950: '#000000',
  },
}
SCSS
$custom: #4e5bae;
$custom-light: #8789c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5bae",
  "rgb": {
    "r": 78,
    "g": 91,
    "b": 174
  },
  "hsl": {
    "h": 231.875,
    "s": 38.095,
    "l": 49.412
  },
  "oklch": {
    "l": 0.5028,
    "c": 0.13162,
    "h": 274
  },
  "luminance": 0.12158
}

Semantic roles & 50–950 ramp

primary
#4E5BAE
secondary
#C2BC96
accent
#BE5ACE
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #4E5BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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