#4E54BB#4E54BB

#4E54BB is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.8% C 0.159 H 276.4°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#4E54BB
RGBrgb(78, 84, 187)
HSLhsl(237, 44%, 52%)
HSVhsv(237, 58%, 73%)
CMYKcmyk(58.3%, 55.1%, 0%, 26.7%)
CIE-LABlab(40.49, 28.39, -55.27)
CIE-LCHlch(40.49, 62.14, 297.18°)
OKLaboklab(49.82% 0.0179 -0.1584)
OKLCHoklch(49.82% 0.159 276.4)
XYZxyz(15.2790, 11.5471, 48.4277)
Luminance0.1155 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E54BB #BBB54E
analogous
#4E8BBB #4E54BB #7F4EBB
triadic
#4E54BB #BB4E54 #54BB4E
tetradic
#4E54BB #BB4E8B #BBB54E #4EBB7F
square
#4E54BB #BB4E8B #BBB54E #4EBB7F
split-complementary
#4E54BB #BB7F4E #8BBB4E
monochromatic
#282B67 #393E93 #4E54BB #7A7FCC #A6A9DD

Accessibility & contrast

On white

6.35
#4E54BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#4E54BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E54BB
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E54BB#FFFFFF#000000##FFFFFF
##4E54BB1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A64BF
Deuteranopia (green-blind)
#005BB9
Tritanopia (blue-blind)
#006C7F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4e54bb;
/* rgb */ color: rgb(78, 84, 187);
/* oklch */ color: oklch(49.8% 0.159 276.4);
Tailwind
colors: {
  custom: {
    50: '#8984d0',
    500: '#4e54bb',
    950: '#000000',
  },
}
SCSS
$custom: #4e54bb;
$custom-light: #8984d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e54bb",
  "rgb": {
    "r": 78,
    "g": 84,
    "b": 187
  },
  "hsl": {
    "h": 236.697,
    "s": 44.49,
    "l": 51.961
  },
  "oklch": {
    "l": 0.49817,
    "c": 0.15944,
    "h": 276.4
  },
  "luminance": 0.11548
}

Semantic roles & 50–950 ramp

primary
#4E54BB
secondary
#CAC89B
accent
#CD54D4
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0A14
muted
#7D7C82

Preview Lab

Preview with #4E54BB

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

Preview Lab → · Contrast checker → · Palette generator →

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