#4E54BD#4E54BD

#4E54BD is a mid, vivid blue. Relative luminance 0.116; OKLCH L 50.0% C 0.162 H 276.3°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#4E54BD
RGBrgb(78, 84, 189)
HSLhsl(237, 46%, 52%)
HSVhsv(237, 59%, 74%)
CMYKcmyk(58.7%, 55.6%, 0%, 25.9%)
CIE-LABlab(40.63, 29.06, -56.22)
CIE-LCHlch(40.63, 63.28, 297.33°)
OKLaboklab(49.97% 0.0179 -0.1612)
OKLCHoklch(49.97% 0.162 276.3)
XYZxyz(15.4946, 11.6333, 49.5632)
Luminance0.1163 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E54BD #BDB74E
analogous
#4E8BBD #4E54BD #804EBD
triadic
#4E54BD #BD4E54 #54BD4E
tetradic
#4E54BD #BD4E8B #BDB74E #4EBD80
square
#4E54BD #BD4E8B #BDB74E #4EBD80
split-complementary
#4E54BD #BD804E #8BBD4E
monochromatic
#272B69 #383D96 #4E54BD #7B7FCE #A7AADE

Accessibility & contrast

On white

6.31
#4E54BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#4E54BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E54BD
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E54BD#FFFFFF#000000##FFFFFF
##4E54BD1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0265C1
Deuteranopia (green-blind)
#005BBB
Tritanopia (blue-blind)
#006D80
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4e54bd;
/* rgb */ color: rgb(78, 84, 189);
/* oklch */ color: oklch(50.0% 0.162 276.3);
Tailwind
colors: {
  custom: {
    50: '#8a84d2',
    500: '#4e54bd',
    950: '#000000',
  },
}
SCSS
$custom: #4e54bd;
$custom-light: #8a84d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e54bd",
  "rgb": {
    "r": 78,
    "g": 84,
    "b": 189
  },
  "hsl": {
    "h": 236.757,
    "s": 45.679,
    "l": 52.353
  },
  "oklch": {
    "l": 0.49966,
    "c": 0.1622,
    "h": 276.3
  },
  "luminance": 0.11634
}

Semantic roles & 50–950 ramp

primary
#4E54BD
secondary
#CCC99B
accent
#CE52D5
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0D0A14
muted
#7D7C83

Preview Lab

Preview with #4E54BD

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

Preview Lab → · Contrast checker → · Palette generator →

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