#4E5CAA#4E5CAA

#4E5CAA is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.2% C 0.124 H 273.4°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#4E5CAA
RGBrgb(78, 92, 170)
HSLhsl(231, 37%, 49%)
HSVhsv(231, 54%, 67%)
CMYKcmyk(54.1%, 45.9%, 0%, 33.3%)
CIE-LABlab(41.49, 17.63, -43.66)
CIE-LCHlch(41.49, 47.09, 291.99°)
OKLaboklab(50.22% 0.0075 -0.1242)
OKLCHoklch(50.22% 0.124 273.4)
XYZxyz(14.2224, 12.1753, 39.6230)
Luminance0.1218 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5CAA #AA9C4E
analogous
#4E8AAA #4E5CAA #6E4EAA
triadic
#4E5CAA #AA4E5C #5CAA4E
tetradic
#4E5CAA #AA4E8A #AA9C4E #4EAA6E
square
#4E5CAA #AA4E8A #AA9C4E #4EAA6E
split-complementary
#4E5CAA #AA6E4E #8AAA4E
monochromatic
#282F56 #3B4580 #4E5CAA #7581C0 #9FA7D3

Accessibility & contrast

On white

6.11
#4E5CAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#4E5CAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5CAA
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5CAA#FFFFFF#000000##FFFFFF
##4E5CAA1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A66AD
Deuteranopia (green-blind)
#2F5EA8
Tritanopia (blue-blind)
#216D7B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4e5caa;
/* rgb */ color: rgb(78, 92, 170);
/* oklch */ color: oklch(50.2% 0.124 273.4);
Tailwind
colors: {
  custom: {
    50: '#8689c4',
    500: '#4e5caa',
    950: '#000000',
  },
}
SCSS
$custom: #4e5caa;
$custom-light: #8689c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5caa",
  "rgb": {
    "r": 78,
    "g": 92,
    "b": 170
  },
  "hsl": {
    "h": 230.87,
    "s": 37.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.50224,
    "c": 0.12445,
    "h": 273.4
  },
  "luminance": 0.12176
}

Semantic roles & 50–950 ramp

primary
#4E5CAA
secondary
#C0B994
accent
#BC5BCD
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0B12
muted
#7D7C81

Preview Lab

Preview with #4E5CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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