#4C4FDE#4C4FDE

#4C4FDE is a mid, highly saturated blue. Relative luminance 0.124; OKLCH L 51.6% C 0.212 H 275.1°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#4C4FDE
RGBrgb(76, 79, 222)
HSLhsl(239, 69%, 58%)
HSVhsv(239, 66%, 87%)
CMYKcmyk(65.8%, 64.4%, 0%, 12.9%)
CIE-LABlab(41.85, 42.80, -73.28)
CIE-LCHlch(41.85, 84.86, 300.29°)
OKLaboklab(51.63% 0.019 -0.2114)
OKLCHoklch(51.63% 0.212 275.1)
XYZxyz(18.9569, 12.4007, 70.4876)
Luminance0.1240 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4FDE #DEDB4C
analogous
#4C98DE #4C4FDE #924CDE
triadic
#4C4FDE #DE4C4F #4FDE4C
tetradic
#4C4FDE #DE4C98 #DEDB4C #4CDE92
square
#4C4FDE #DE4C98 #DEDB4C #4CDE92
split-complementary
#4C4FDE #DE924C #98DE4C
monochromatic
#1B1E94 #2528C8 #4C4FDE #8082E8 #B3B5F1

Accessibility & contrast

On white

6.03
#4C4FDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#4C4FDE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C4FDE
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4FDE#FFFFFF#000000##FFFFFF
##4C4FDE1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E3
Deuteranopia (green-blind)
#005CDB
Tritanopia (blue-blind)
#00748F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4c4fde;
/* rgb */ color: rgb(76, 79, 222);
/* oklch */ color: oklch(51.6% 0.212 275.1);
Tailwind
colors: {
  custom: {
    50: '#8f81e9',
    500: '#4c4fde',
    950: '#000000',
  },
}
SCSS
$custom: #4c4fde;
$custom-light: #8f81e9;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4fde",
  "rgb": {
    "r": 76,
    "g": 79,
    "b": 222
  },
  "hsl": {
    "h": 238.767,
    "s": 68.868,
    "l": 58.431
  },
  "oklch": {
    "l": 0.51625,
    "c": 0.21228,
    "h": 275.1
  },
  "luminance": 0.12402
}

Semantic roles & 50–950 ramp

primary
#4C4FDE
secondary
#E0DFA6
accent
#E83CEC
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4C4FDE

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

Preview Lab → · Contrast checker → · Palette generator →

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