#4E54BC#4E54BC

#4E54BC is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.9% C 0.161 H 276.4°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#4E54BC
RGBrgb(78, 84, 188)
HSLhsl(237, 45%, 52%)
HSVhsv(237, 59%, 74%)
CMYKcmyk(58.5%, 55.3%, 0%, 26.3%)
CIE-LABlab(40.56, 28.72, -55.75)
CIE-LCHlch(40.56, 62.71, 297.26°)
OKLaboklab(49.89% 0.0179 -0.1598)
OKLCHoklch(49.89% 0.161 276.4)
XYZxyz(15.3864, 11.5901, 48.9935)
Luminance0.1159 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E54BC #BCB64E
analogous
#4E8BBC #4E54BC #7F4EBC
triadic
#4E54BC #BC4E54 #54BC4E
tetradic
#4E54BC #BC4E8B #BCB64E #4EBC7F
square
#4E54BC #BC4E8B #BCB64E #4EBC7F
split-complementary
#4E54BC #BC7F4E #8BBC4E
monochromatic
#272B68 #383D95 #4E54BC #7A7FCD #A7AADE

Accessibility & contrast

On white

6.33
#4E54BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#4E54BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E54BC
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E54BC#FFFFFF#000000##FFFFFF
##4E54BC1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0664C0
Deuteranopia (green-blind)
#005BBA
Tritanopia (blue-blind)
#006C80
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4e54bc;
/* rgb */ color: rgb(78, 84, 188);
/* oklch */ color: oklch(49.9% 0.161 276.4);
Tailwind
colors: {
  custom: {
    50: '#8984d1',
    500: '#4e54bc',
    950: '#000000',
  },
}
SCSS
$custom: #4e54bc;
$custom-light: #8984d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e54bc",
  "rgb": {
    "r": 78,
    "g": 84,
    "b": 188
  },
  "hsl": {
    "h": 236.727,
    "s": 45.082,
    "l": 52.157
  },
  "oklch": {
    "l": 0.49891,
    "c": 0.16083,
    "h": 276.4
  },
  "luminance": 0.11591
}

Semantic roles & 50–950 ramp

primary
#4E54BC
secondary
#CBC89B
accent
#CE53D5
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0D0A14
muted
#7D7C82

Preview Lab

Preview with #4E54BC

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

Preview Lab → · Contrast checker → · Palette generator →

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