#4C54D8#4C54D8

#4C54D8 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 52.0% C 0.199 H 274.5°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#4C54D8
RGBrgb(76, 84, 216)
HSLhsl(237, 64%, 57%)
HSVhsv(237, 65%, 85%)
CMYKcmyk(64.8%, 61.1%, 0%, 15.3%)
CIE-LABlab(42.51, 37.78, -68.77)
CIE-LCHlch(42.51, 78.46, 298.78°)
OKLaboklab(51.96% 0.0155 -0.1982)
OKLCHoklch(51.96% 0.199 274.5)
XYZxyz(18.5414, 12.8334, 66.4524)
Luminance0.1283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C54D8 #D8D04C
analogous
#4C9AD8 #4C54D8 #8A4CD8
triadic
#4C54D8 #D84C54 #54D84C
tetradic
#4C54D8 #D84C9A #D8D04C #4CD88A
square
#4C54D8 #D84C9A #D8D04C #4CD88A
split-complementary
#4C54D8 #D88A4C #9AD84C
monochromatic
#1E258B #2932BE #4C54D8 #7E84E3 #B1B4EE

Accessibility & contrast

On white

5.89
#4C54D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#4C54D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C54D8
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C54D8#FFFFFF#000000##FFFFFF
##4C54D81.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDC
Deuteranopia (green-blind)
#005ED5
Tritanopia (blue-blind)
#00758E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4c54d8;
/* rgb */ color: rgb(76, 84, 216);
/* oklch */ color: oklch(52.0% 0.199 274.5);
Tailwind
colors: {
  custom: {
    50: '#8d84e5',
    500: '#4c54d8',
    950: '#000000',
  },
}
SCSS
$custom: #4c54d8;
$custom-light: #8d84e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4c54d8",
  "rgb": {
    "r": 76,
    "g": 84,
    "b": 216
  },
  "hsl": {
    "h": 236.571,
    "s": 64.22,
    "l": 57.255
  },
  "oklch": {
    "l": 0.51961,
    "c": 0.19876,
    "h": 274.5
  },
  "luminance": 0.12835
}

Semantic roles & 50–950 ramp

primary
#4C54D8
secondary
#DCD9A4
accent
#DE41E7
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4C54D8

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

Preview Lab → · Contrast checker → · Palette generator →

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