#4E5BAD#4E5BAD

#4E5BAD is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.2% C 0.130 H 274.0°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#4E5BAD
RGBrgb(78, 91, 173)
HSLhsl(232, 38%, 49%)
HSVhsv(232, 55%, 68%)
CMYKcmyk(54.9%, 47.4%, 0%, 32.2%)
CIE-LABlab(41.40, 19.27, -45.58)
CIE-LCHlch(41.40, 49.48, 292.92°)
OKLaboklab(50.21% 0.0091 -0.1299)
OKLCHoklch(50.21% 0.13 274)
XYZxyz(14.4234, 12.1180, 41.1060)
Luminance0.1212 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5BAD #ADA04E
analogous
#4E8BAD #4E5BAD #704EAD
triadic
#4E5BAD #AD4E5B #5BAD4E
tetradic
#4E5BAD #AD4E8B #ADA04E #4EAD70
square
#4E5BAD #AD4E8B #ADA04E #4EAD70
split-complementary
#4E5BAD #AD704E #8BAD4E
monochromatic
#282F59 #3B4583 #4E5BAD #7781C2 #A1A8D5

Accessibility & contrast

On white

6.13
#4E5BAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#4E5BAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5BAD
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5BAD#FFFFFF#000000##FFFFFF
##4E5BAD1.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3566B0
Deuteranopia (green-blind)
#2A5EAB
Tritanopia (blue-blind)
#1E6D7B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4e5bad;
/* rgb */ color: rgb(78, 91, 173);
/* oklch */ color: oklch(50.2% 0.130 274.0);
Tailwind
colors: {
  custom: {
    50: '#8789c6',
    500: '#4e5bad',
    950: '#000000',
  },
}
SCSS
$custom: #4e5bad;
$custom-light: #8789c6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5bad",
  "rgb": {
    "r": 78,
    "g": 91,
    "b": 173
  },
  "hsl": {
    "h": 231.789,
    "s": 37.849,
    "l": 49.216
  },
  "oklch": {
    "l": 0.50213,
    "c": 0.13018,
    "h": 274
  },
  "luminance": 0.12119
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E5BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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