#4C50D2#4C50D2

#4C50D2 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.8% C 0.196 H 275.6°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#4C50D2
RGBrgb(76, 80, 210)
HSLhsl(238, 60%, 56%)
HSVhsv(238, 64%, 82%)
CMYKcmyk(63.8%, 61.9%, 0%, 17.6%)
CIE-LABlab(41.10, 38.22, -67.63)
CIE-LCHlch(41.10, 77.68, 299.47°)
OKLaboklab(50.77% 0.019 -0.1948)
OKLCHoklch(50.77% 0.196 275.6)
XYZxyz(17.4782, 11.9255, 62.3411)
Luminance0.1193 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C50D2 #D2CE4C
analogous
#4C93D2 #4C50D2 #8B4CD2
triadic
#4C50D2 #D24C50 #50D24C
tetradic
#4C50D2 #D24C93 #D2CE4C #4CD28B
square
#4C50D2 #D24C93 #D2CE4C #4CD28B
split-complementary
#4C50D2 #D28B4C #93D24C
monochromatic
#212483 #2D31B4 #4C50D2 #7D80DE #AEB0EB

Accessibility & contrast

On white

6.20
#4C50D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#4C50D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C50D2
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C50D2#FFFFFF#000000##FFFFFF
##4C50D21.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D6
Deuteranopia (green-blind)
#005BCF
Tritanopia (blue-blind)
#007189
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4c50d2;
/* rgb */ color: rgb(76, 80, 210);
/* oklch */ color: oklch(50.8% 0.196 275.6);
Tailwind
colors: {
  custom: {
    50: '#8d81e1',
    500: '#4c50d2',
    950: '#000000',
  },
}
SCSS
$custom: #4c50d2;
$custom-light: #8d81e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4c50d2",
  "rgb": {
    "r": 76,
    "g": 80,
    "b": 210
  },
  "hsl": {
    "h": 238.209,
    "s": 59.821,
    "l": 56.078
  },
  "oklch": {
    "l": 0.50774,
    "c": 0.19577,
    "h": 275.6
  },
  "luminance": 0.11927
}

Semantic roles & 50–950 ramp

primary
#4C50D2
secondary
#D9D7A1
accent
#DE45E3
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4C50D2

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

Preview Lab → · Contrast checker → · Palette generator →

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