#4C54DA#4C54DA

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

Color values

HEX#4C54DA
RGBrgb(76, 84, 218)
HSLhsl(237, 66%, 58%)
HSVhsv(237, 65%, 85%)
CMYKcmyk(65.1%, 61.5%, 0%, 14.5%)
CIE-LABlab(42.67, 38.45, -69.65)
CIE-LCHlch(42.67, 79.56, 298.90°)
OKLaboklab(52.13% 0.0154 -0.2008)
OKLCHoklch(52.13% 0.201 274.4)
XYZxyz(18.8015, 12.9375, 67.8224)
Luminance0.1294 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C54DA #DAD24C
analogous
#4C9BDA #4C54DA #8B4CDA
triadic
#4C54DA #DA4C54 #54DA4C
tetradic
#4C54DA #DA4C9B #DAD24C #4CDA8B
square
#4C54DA #DA4C9B #DAD24C #4CDA8B
split-complementary
#4C54DA #DA8B4C #9BDA4C
monochromatic
#1D248E #2830C1 #4C54DA #7F84E4 #B1B5EF

Accessibility & contrast

On white

5.85
#4C54DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#4C54DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C54DA
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C54DA#FFFFFF#000000##FFFFFF
##4C54DA1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDE
Deuteranopia (green-blind)
#005ED7
Tritanopia (blue-blind)
#00768F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4c54da;
/* rgb */ color: rgb(76, 84, 218);
/* oklch */ color: oklch(52.1% 0.201 274.4);
Tailwind
colors: {
  custom: {
    50: '#8e84e6',
    500: '#4c54da',
    950: '#000000',
  },
}
SCSS
$custom: #4c54da;
$custom-light: #8e84e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4c54da",
  "rgb": {
    "r": 76,
    "g": 84,
    "b": 218
  },
  "hsl": {
    "h": 236.62,
    "s": 65.741,
    "l": 57.647
  },
  "oklch": {
    "l": 0.52126,
    "c": 0.20135,
    "h": 274.4
  },
  "luminance": 0.12939
}

Semantic roles & 50–950 ramp

primary
#4C54DA
secondary
#DDDAA4
accent
#DF3FE9
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4C54DA

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

Preview Lab → · Contrast checker → · Palette generator →

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