#4E54B3#4E54B3

#4E54B3 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.2% C 0.148 H 276.8°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#4E54B3
RGBrgb(78, 84, 179)
HSLhsl(236, 40%, 50%)
HSVhsv(236, 56%, 70%)
CMYKcmyk(56.4%, 53.1%, 0%, 29.8%)
CIE-LABlab(39.94, 25.72, -51.47)
CIE-LCHlch(39.94, 57.53, 296.55°)
OKLaboklab(49.23% 0.0175 -0.1472)
OKLCHoklch(49.23% 0.148 276.8)
XYZxyz(14.4463, 11.2140, 44.0424)
Luminance0.1121 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E54B3 #B3AD4E
analogous
#4E86B3 #4E54B3 #7B4EB3
triadic
#4E54B3 #B34E54 #54B34E
tetradic
#4E54B3 #B34E86 #B3AD4E #4EB37B
square
#4E54B3 #B34E86 #B3AD4E #4EB37B
split-complementary
#4E54B3 #B37B4E #86B34E
monochromatic
#282C5E #3B3F89 #4E54B3 #797DC5 #A4A7D8

Accessibility & contrast

On white

6.48
#4E54B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#4E54B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E54B3
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E54B3#FFFFFF#000000##FFFFFF
##4E54B31.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D62B6
Deuteranopia (green-blind)
#055AB1
Tritanopia (blue-blind)
#166A7B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4e54b3;
/* rgb */ color: rgb(78, 84, 179);
/* oklch */ color: oklch(49.2% 0.148 276.8);
Tailwind
colors: {
  custom: {
    50: '#8884ca',
    500: '#4e54b3',
    950: '#000000',
  },
}
SCSS
$custom: #4e54b3;
$custom-light: #8884ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4e54b3",
  "rgb": {
    "r": 78,
    "g": 84,
    "b": 179
  },
  "hsl": {
    "h": 236.436,
    "s": 39.921,
    "l": 50.392
  },
  "oklch": {
    "l": 0.49231,
    "c": 0.14827,
    "h": 276.8
  },
  "luminance": 0.11215
}

Semantic roles & 50–950 ramp

primary
#4E54B3
secondary
#C5C298
accent
#C958D0
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #4E54B3

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

Preview Lab → · Contrast checker → · Palette generator →

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