#4E54C9#4E54C9

#4E54C9 is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.9% C 0.179 H 275.8°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#4E54C9
RGBrgb(78, 84, 201)
HSLhsl(237, 53%, 55%)
HSVhsv(237, 61%, 79%)
CMYKcmyk(61.2%, 58.2%, 0%, 21.2%)
CIE-LABlab(41.49, 33.07, -61.79)
CIE-LCHlch(41.49, 70.08, 298.16°)
OKLaboklab(50.89% 0.0181 -0.1776)
OKLCHoklch(50.89% 0.179 275.8)
XYZxyz(16.8514, 12.1761, 56.7092)
Luminance0.1218 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E54C9 #C9C34E
analogous
#4E92C9 #4E54C9 #854EC9
triadic
#4E54C9 #C94E54 #54C94E
tetradic
#4E54C9 #C94E92 #C9C34E #4EC985
square
#4E54C9 #C94E92 #C9C34E #4EC985
split-complementary
#4E54C9 #C9854E #92C94E
monochromatic
#252978 #3339A7 #4E54C9 #7D81D7 #ACAFE6

Accessibility & contrast

On white

6.11
#4E54C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#4E54C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E54C9
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E54C9#FFFFFF#000000##FFFFFF
##4E54C91.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e54c9;
/* rgb */ color: rgb(78, 84, 201);
/* oklch */ color: oklch(50.9% 0.179 275.8);
Tailwind
colors: {
  custom: {
    50: '#8c84da',
    500: '#4e54c9',
    950: '#000000',
  },
}
SCSS
$custom: #4e54c9;
$custom-light: #8c84da;
$custom-dark: #000000;
JSON
{
  "hex": "#4e54c9",
  "rgb": {
    "r": 78,
    "g": 84,
    "b": 201
  },
  "hsl": {
    "h": 237.073,
    "s": 53.247,
    "l": 54.706
  },
  "oklch": {
    "l": 0.50885,
    "c": 0.17852,
    "h": 275.8
  },
  "luminance": 0.12177
}

Semantic roles & 50–950 ramp

primary
#4E54C9
secondary
#D3D19F
accent
#D64BDD
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4E54C9

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

Preview Lab → · Contrast checker → · Palette generator →

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