#4E54B7#4E54B7

#4E54B7 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.5% C 0.154 H 276.6°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#4E54B7
RGBrgb(78, 84, 183)
HSLhsl(237, 42%, 51%)
HSVhsv(237, 57%, 72%)
CMYKcmyk(57.4%, 54.1%, 0%, 28.2%)
CIE-LABlab(40.21, 27.05, -53.38)
CIE-LCHlch(40.21, 59.84, 296.88°)
OKLaboklab(49.52% 0.0177 -0.1529)
OKLCHoklch(49.52% 0.154 276.6)
XYZxyz(14.8567, 11.3782, 46.2039)
Luminance0.1138 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E54B7 #B7B14E
analogous
#4E88B7 #4E54B7 #7C4EB7
triadic
#4E54B7 #B74E54 #54B74E
tetradic
#4E54B7 #B74E88 #B7B14E #4EB77C
square
#4E54B7 #B74E88 #B7B14E #4EB77C
split-complementary
#4E54B7 #B77C4E #88B74E
monochromatic
#282B63 #3A3F8E #4E54B7 #7A7EC9 #A5A8DA

Accessibility & contrast

On white

6.41
#4E54B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#4E54B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E54B7
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E54B7#FFFFFF#000000##FFFFFF
##4E54B71.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1663BA
Deuteranopia (green-blind)
#005AB5
Tritanopia (blue-blind)
#0D6B7D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4e54b7;
/* rgb */ color: rgb(78, 84, 183);
/* oklch */ color: oklch(49.5% 0.154 276.6);
Tailwind
colors: {
  custom: {
    50: '#8984cd',
    500: '#4e54b7',
    950: '#000000',
  },
}
SCSS
$custom: #4e54b7;
$custom-light: #8984cd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e54b7",
  "rgb": {
    "r": 78,
    "g": 84,
    "b": 183
  },
  "hsl": {
    "h": 236.571,
    "s": 42.169,
    "l": 51.176
  },
  "oklch": {
    "l": 0.49522,
    "c": 0.15388,
    "h": 276.6
  },
  "luminance": 0.11379
}

Semantic roles & 50–950 ramp

primary
#4E54B7
secondary
#C8C599
accent
#CB56D2
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #4E54B7

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

Preview Lab → · Contrast checker → · Palette generator →

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