#4C4DDA#4C4DDA

#4C4DDA is a mid, highly saturated blue. Relative luminance 0.119; OKLCH L 51.0% C 0.210 H 275.7°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#4C4DDA
RGBrgb(76, 77, 218)
HSLhsl(240, 66%, 58%)
HSVhsv(240, 65%, 85%)
CMYKcmyk(65.1%, 64.7%, 0%, 14.5%)
CIE-LABlab(41.06, 42.67, -72.27)
CIE-LCHlch(41.06, 83.93, 300.56°)
OKLaboklab(50.95% 0.0208 -0.2085)
OKLCHoklch(50.95% 0.21 275.7)
XYZxyz(18.2851, 11.9046, 67.6503)
Luminance0.1191 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4DDA #DAD94C
analogous
#4C94DA #4C4DDA #924CDA
triadic
#4C4DDA #DA4C4D #4DDA4C
tetradic
#4C4DDA #DA4C94 #DAD94C #4CDA92
square
#4C4DDA #DA4C94 #DAD94C #4CDA92
split-complementary
#4C4DDA #DA924C #94DA4C
monochromatic
#1D1E8E #2829C1 #4C4DDA #7F7FE4 #B1B2EF

Accessibility & contrast

On white

6.21
#4C4DDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#4C4DDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C4DDA
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4DDA#FFFFFF#000000##FFFFFF
##4C4DDA1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DE
Deuteranopia (green-blind)
#005AD7
Tritanopia (blue-blind)
#00728D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4c4dda;
/* rgb */ color: rgb(76, 77, 218);
/* oklch */ color: oklch(51.0% 0.210 275.7);
Tailwind
colors: {
  custom: {
    50: '#8e7fe7',
    500: '#4c4dda',
    950: '#000000',
  },
}
SCSS
$custom: #4c4dda;
$custom-light: #8e7fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4dda",
  "rgb": {
    "r": 76,
    "g": 77,
    "b": 218
  },
  "hsl": {
    "h": 239.577,
    "s": 65.741,
    "l": 57.647
  },
  "oklch": {
    "l": 0.50952,
    "c": 0.20952,
    "h": 275.7
  },
  "luminance": 0.11906
}

Semantic roles & 50–950 ramp

primary
#4C4DDA
secondary
#DDDDA4
accent
#E73FE9
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4C4DDA

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

Preview Lab → · Contrast checker → · Palette generator →

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