#4C54D9#4C54D9

#4C54D9 is a mid, highly saturated blue. Relative luminance 0.129; OKLCH L 52.0% C 0.200 H 274.4°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#4C54D9
RGBrgb(76, 84, 217)
HSLhsl(237, 65%, 57%)
HSVhsv(237, 65%, 85%)
CMYKcmyk(65%, 61.3%, 0%, 14.9%)
CIE-LABlab(42.59, 38.11, -69.21)
CIE-LCHlch(42.59, 79.01, 298.84°)
OKLaboklab(52.04% 0.0154 -0.1995)
OKLCHoklch(52.04% 0.2 274.4)
XYZxyz(18.6711, 12.8853, 67.1354)
Luminance0.1289 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C54D9 #D9D14C
analogous
#4C9AD9 #4C54D9 #8B4CD9
triadic
#4C54D9 #D94C54 #54D94C
tetradic
#4C54D9 #D94C9A #D9D14C #4CD98B
square
#4C54D9 #D94C9A #D9D14C #4CD98B
split-complementary
#4C54D9 #D98B4C #9AD94C
monochromatic
#1E248D #2931BF #4C54D9 #7E84E4 #B1B4EE

Accessibility & contrast

On white

5.87
#4C54D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#4C54D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C54D9
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C54D9#FFFFFF#000000##FFFFFF
##4C54D91.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDD
Deuteranopia (green-blind)
#005ED6
Tritanopia (blue-blind)
#00758E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4c54d9;
/* rgb */ color: rgb(76, 84, 217);
/* oklch */ color: oklch(52.0% 0.200 274.4);
Tailwind
colors: {
  custom: {
    50: '#8e84e6',
    500: '#4c54d9',
    950: '#000000',
  },
}
SCSS
$custom: #4c54d9;
$custom-light: #8e84e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4c54d9",
  "rgb": {
    "r": 76,
    "g": 84,
    "b": 217
  },
  "hsl": {
    "h": 236.596,
    "s": 64.977,
    "l": 57.451
  },
  "oklch": {
    "l": 0.52044,
    "c": 0.20006,
    "h": 274.4
  },
  "luminance": 0.12887
}

Semantic roles & 50–950 ramp

primary
#4C54D9
secondary
#DDDAA4
accent
#DE40E8
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4C54D9

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

Preview Lab → · Contrast checker → · Palette generator →

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