#4C4DEB#4C4DEB

#4C4DEB is a mid, highly saturated blue. Relative luminance 0.128; OKLCH L 52.5% C 0.231 H 274.7°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#4C4DEB
RGBrgb(76, 77, 235)
HSLhsl(240, 80%, 61%)
HSVhsv(240, 68%, 92%)
CMYKcmyk(67.7%, 67.2%, 0%, 7.8%)
CIE-LABlab(42.52, 48.21, -79.55)
CIE-LCHlch(42.52, 93.02, 301.22°)
OKLaboklab(52.46% 0.019 -0.2298)
OKLCHoklch(52.46% 0.231 274.7)
XYZxyz(20.6248, 12.8405, 79.9727)
Luminance0.1284 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4DEB #EBEA4C
analogous
#4C9CEB #4C4DEB #9A4CEB
triadic
#4C4DEB #EB4C4D #4DEB4C
tetradic
#4C4DEB #EB4C9C #EBEA4C #4CEB9A
square
#4C4DEB #EB4C9C #EBEA4C #4CEB9A
split-complementary
#4C4DEB #EB9A4C #9CEB4C
monochromatic
#1314AA #191AE1 #4C4DEB #8384F1 #BABAF7

Accessibility & contrast

On white

5.88
#4C4DEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4C4DEB
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4DEB#FFFFFF#000000##FFFFFF
##4C4DEB1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CF0
Deuteranopia (green-blind)
#005DE8
Tritanopia (blue-blind)
#007796
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4c4deb;
/* rgb */ color: rgb(76, 77, 235);
/* oklch */ color: oklch(52.5% 0.231 274.7);
Tailwind
colors: {
  custom: {
    50: '#9280f3',
    500: '#4c4deb',
    950: '#000000',
  },
}
SCSS
$custom: #4c4deb;
$custom-light: #9280f3;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4deb",
  "rgb": {
    "r": 76,
    "g": 77,
    "b": 235
  },
  "hsl": {
    "h": 239.623,
    "s": 79.899,
    "l": 60.98
  },
  "oklch": {
    "l": 0.52456,
    "c": 0.23058,
    "h": 274.7
  },
  "luminance": 0.12842
}

Semantic roles & 50–950 ramp

primary
#4C4DEB
secondary
#E7E7AB
accent
#DB09DC
background
#F9F7FF
surface
#F2EEFE
border
#CCC9D6
text
#0F0A17
muted
#7E7C85

Preview Lab

Preview with #4C4DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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