#4E54C7#4E54C7

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

Color values

HEX#4E54C7
RGBrgb(78, 84, 199)
HSLhsl(237, 52%, 54%)
HSVhsv(237, 61%, 78%)
CMYKcmyk(60.8%, 57.8%, 0%, 22%)
CIE-LABlab(41.35, 32.40, -60.87)
CIE-LCHlch(41.35, 68.95, 298.03°)
OKLaboklab(50.73% 0.0181 -0.1749)
OKLCHoklch(50.73% 0.176 275.9)
XYZxyz(16.6177, 12.0826, 55.4782)
Luminance0.1208 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E54C7 #C7C14E
analogous
#4E91C7 #4E54C7 #854EC7
triadic
#4E54C7 #C74E54 #54C74E
tetradic
#4E54C7 #C74E91 #C7C14E #4EC785
square
#4E54C7 #C74E91 #C7C14E #4EC785
split-complementary
#4E54C7 #C7854E #91C74E
monochromatic
#252975 #3439A4 #4E54C7 #7C81D6 #ABAEE4

Accessibility & contrast

On white

6.15
#4E54C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#4E54C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E54C7
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E54C7#FFFFFF#000000##FFFFFF
##4E54C71.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CB
Deuteranopia (green-blind)
#005CC5
Tritanopia (blue-blind)
#007085
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4e54c7;
/* rgb */ color: rgb(78, 84, 199);
/* oklch */ color: oklch(50.7% 0.176 275.9);
Tailwind
colors: {
  custom: {
    50: '#8b84d9',
    500: '#4e54c7',
    950: '#000000',
  },
}
SCSS
$custom: #4e54c7;
$custom-light: #8b84d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e54c7",
  "rgb": {
    "r": 78,
    "g": 84,
    "b": 199
  },
  "hsl": {
    "h": 237.025,
    "s": 51.931,
    "l": 54.314
  },
  "oklch": {
    "l": 0.50729,
    "c": 0.17583,
    "h": 275.9
  },
  "luminance": 0.12084
}

Semantic roles & 50–950 ramp

primary
#4E54C7
secondary
#D2D09F
accent
#D44CDB
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4E54C7

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

Preview Lab → · Contrast checker → · Palette generator →

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