#4C54E5#4C54E5

#4C54E5 is a mid, highly saturated blue. Relative luminance 0.135; OKLCH L 53.1% C 0.215 H 273.9°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#4C54E5
RGBrgb(76, 84, 229)
HSLhsl(237, 75%, 60%)
HSVhsv(237, 67%, 90%)
CMYKcmyk(66.8%, 63.3%, 0%, 10.2%)
CIE-LABlab(43.55, 42.12, -74.46)
CIE-LCHlch(43.55, 85.55, 299.49°)
OKLaboklab(53.05% 0.0148 -0.2149)
OKLCHoklch(53.05% 0.215 273.9)
XYZxyz(20.2890, 13.5324, 75.6564)
Luminance0.1353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C54E5 #E5DD4C
analogous
#4CA0E5 #4C54E5 #914CE5
triadic
#4C54E5 #E54C54 #54E54C
tetradic
#4C54E5 #E54CA0 #E5DD4C #4CE591
square
#4C54E5 #E54CA0 #E5DD4C #4CE591
split-complementary
#4C54E5 #E5914C #A0E54C
monochromatic
#171E9F #1F28D5 #4C54E5 #8187ED #B7BAF5

Accessibility & contrast

On white

5.67
#4C54E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#4C54E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C54E5
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C54E5#FFFFFF#000000##FFFFFF
##4C54E51.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EEA
Deuteranopia (green-blind)
#0060E2
Tritanopia (blue-blind)
#007995
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4c54e5;
/* rgb */ color: rgb(76, 84, 229);
/* oklch */ color: oklch(53.1% 0.215 273.9);
Tailwind
colors: {
  custom: {
    50: '#9084ee',
    500: '#4c54e5',
    950: '#000000',
  },
}
SCSS
$custom: #4c54e5;
$custom-light: #9084ee;
$custom-dark: #000000;
JSON
{
  "hex": "#4c54e5",
  "rgb": {
    "r": 76,
    "g": 84,
    "b": 229
  },
  "hsl": {
    "h": 236.863,
    "s": 74.634,
    "l": 59.804
  },
  "oklch": {
    "l": 0.53051,
    "c": 0.21539,
    "h": 273.9
  },
  "luminance": 0.13534
}

Semantic roles & 50–950 ramp

primary
#4C54E5
secondary
#E4E1A9
accent
#E737F1
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #4C54E5

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

Preview Lab → · Contrast checker → · Palette generator →

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