#4E54CD#4E54CD

#4E54CD is a mid, vivid blue. Relative luminance 0.124; OKLCH L 51.2% C 0.184 H 275.6°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#4E54CD
RGBrgb(78, 84, 205)
HSLhsl(237, 56%, 55%)
HSVhsv(237, 62%, 80%)
CMYKcmyk(62%, 59%, 0%, 19.6%)
CIE-LABlab(41.79, 34.41, -63.61)
CIE-LCHlch(41.79, 72.32, 298.41°)
OKLaboklab(51.2% 0.018 -0.183)
OKLCHoklch(51.2% 0.184 275.6)
XYZxyz(17.3281, 12.3667, 59.2196)
Luminance0.1237 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E54CD #CDC74E
analogous
#4E94CD #4E54CD #874ECD
triadic
#4E54CD #CD4E54 #54CD4E
tetradic
#4E54CD #CD4E94 #CDC74E #4ECD87
square
#4E54CD #CD4E94 #CDC74E #4ECD87
split-complementary
#4E54CD #CD874E #94CD4E
monochromatic
#23287D #3137AD #4E54CD #7E82DA #ADB0E8

Accessibility & contrast

On white

6.05
#4E54CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#4E54CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E54CD
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E54CD#FFFFFF#000000##FFFFFF
##4E54CD1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D1
Deuteranopia (green-blind)
#005DCB
Tritanopia (blue-blind)
#007188
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4e54cd;
/* rgb */ color: rgb(78, 84, 205);
/* oklch */ color: oklch(51.2% 0.184 275.6);
Tailwind
colors: {
  custom: {
    50: '#8c84dd',
    500: '#4e54cd',
    950: '#000000',
  },
}
SCSS
$custom: #4e54cd;
$custom-light: #8c84dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e54cd",
  "rgb": {
    "r": 78,
    "g": 84,
    "b": 205
  },
  "hsl": {
    "h": 237.165,
    "s": 55.947,
    "l": 55.49
  },
  "oklch": {
    "l": 0.512,
    "c": 0.18385,
    "h": 275.6
  },
  "luminance": 0.12368
}

Semantic roles & 50–950 ramp

primary
#4E54CD
secondary
#D6D3A1
accent
#D849DF
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4E54CD

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

Preview Lab → · Contrast checker → · Palette generator →

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