#4E5AAE#4E5AAE

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

Color values

HEX#4E5AAE
RGBrgb(78, 90, 174)
HSLhsl(233, 38%, 49%)
HSVhsv(233, 55%, 68%)
CMYKcmyk(55.2%, 48.3%, 0%, 31.8%)
CIE-LABlab(41.20, 20.24, -46.50)
CIE-LCHlch(41.20, 50.71, 293.52°)
OKLaboklab(50.08% 0.0103 -0.1326)
OKLCHoklch(50.08% 0.133 274.5)
XYZxyz(14.4356, 11.9870, 41.5892)
Luminance0.1199 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5AAE #AEA24E
analogous
#4E8AAE #4E5AAE #724EAE
triadic
#4E5AAE #AE4E5A #5AAE4E
tetradic
#4E5AAE #AE4E8A #AEA24E #4EAE72
square
#4E5AAE #AE4E8A #AEA24E #4EAE72
split-complementary
#4E5AAE #AE724E #8AAE4E
monochromatic
#282E59 #3B4484 #4E5AAE #7780C2 #A1A8D5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E5AAE#FFFFFF#000000##FFFFFF
##4E5AAE1.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)
#3365B1
Deuteranopia (green-blind)
#265DAC
Tritanopia (blue-blind)
#1D6D7B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4e5aae;
/* rgb */ color: rgb(78, 90, 174);
/* oklch */ color: oklch(50.1% 0.133 274.5);
Tailwind
colors: {
  custom: {
    50: '#8788c7',
    500: '#4e5aae',
    950: '#000000',
  },
}
SCSS
$custom: #4e5aae;
$custom-light: #8788c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5aae",
  "rgb": {
    "r": 78,
    "g": 90,
    "b": 174
  },
  "hsl": {
    "h": 232.5,
    "s": 38.095,
    "l": 49.412
  },
  "oklch": {
    "l": 0.50076,
    "c": 0.13298,
    "h": 274.5
  },
  "luminance": 0.11988
}

Semantic roles & 50–950 ramp

primary
#4E5AAE
secondary
#C2BD96
accent
#C05ACE
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #4E5AAE

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

Preview Lab → · Contrast checker → · Palette generator →

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