#4E54C8#4E54C8

#4E54C8 is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.8% C 0.177 H 275.9°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#4E54C8
RGBrgb(78, 84, 200)
HSLhsl(237, 53%, 55%)
HSVhsv(237, 61%, 78%)
CMYKcmyk(61%, 58%, 0%, 21.6%)
CIE-LABlab(41.42, 32.73, -61.33)
CIE-LCHlch(41.42, 69.52, 298.09°)
OKLaboklab(50.81% 0.0181 -0.1762)
OKLCHoklch(50.81% 0.177 275.9)
XYZxyz(16.7341, 12.1292, 56.0917)
Luminance0.1213 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E54C8 #C8C24E
analogous
#4E91C8 #4E54C8 #854EC8
triadic
#4E54C8 #C84E54 #54C84E
tetradic
#4E54C8 #C84E91 #C8C24E #4EC885
square
#4E54C8 #C84E91 #C8C24E #4EC885
split-complementary
#4E54C8 #C8854E #91C84E
monochromatic
#252977 #3339A5 #4E54C8 #7D81D7 #ABAEE5

Accessibility & contrast

On white

6.13
#4E54C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#4E54C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E54C8
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E54C8#FFFFFF#000000##FFFFFF
##4E54C81.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CC
Deuteranopia (green-blind)
#005DC6
Tritanopia (blue-blind)
#007086
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4e54c8;
/* rgb */ color: rgb(78, 84, 200);
/* oklch */ color: oklch(50.8% 0.177 275.9);
Tailwind
colors: {
  custom: {
    50: '#8b84da',
    500: '#4e54c8',
    950: '#000000',
  },
}
SCSS
$custom: #4e54c8;
$custom-light: #8b84da;
$custom-dark: #000000;
JSON
{
  "hex": "#4e54c8",
  "rgb": {
    "r": 78,
    "g": 84,
    "b": 200
  },
  "hsl": {
    "h": 237.049,
    "s": 52.586,
    "l": 54.51
  },
  "oklch": {
    "l": 0.50807,
    "c": 0.17717,
    "h": 275.9
  },
  "luminance": 0.1213
}

Semantic roles & 50–950 ramp

primary
#4E54C8
secondary
#D3D09F
accent
#D54CDC
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4E54C8

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

Preview Lab → · Contrast checker → · Palette generator →

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