#4C50CD#4C50CD

#4C50CD is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.4% C 0.189 H 275.8°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#4C50CD
RGBrgb(76, 80, 205)
HSLhsl(238, 56%, 55%)
HSVhsv(238, 63%, 80%)
CMYKcmyk(62.9%, 61%, 0%, 19.6%)
CIE-LABlab(40.70, 36.55, -65.39)
CIE-LCHlch(40.70, 74.91, 299.21°)
OKLaboklab(50.36% 0.0192 -0.1883)
OKLCHoklch(50.36% 0.189 275.8)
XYZxyz(16.8650, 11.6802, 59.1115)
Luminance0.1168 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C50CD #CDC94C
analogous
#4C90CD #4C50CD #894CCD
triadic
#4C50CD #CD4C50 #50CD4C
tetradic
#4C50CD #CD4C90 #CDC94C #4CCD89
square
#4C50CD #CD4C90 #CDC94C #4CCD89
split-complementary
#4C50CD #CD894C #90CD4C
monochromatic
#23257C #3034AC #4C50CD #7C7FDA #ACAEE8

Accessibility & contrast

On white

6.29
#4C50CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#4C50CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C50CD
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C50CD#FFFFFF#000000##FFFFFF
##4C50CD1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D1
Deuteranopia (green-blind)
#005ACB
Tritanopia (blue-blind)
#006F87
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4c50cd;
/* rgb */ color: rgb(76, 80, 205);
/* oklch */ color: oklch(50.4% 0.189 275.8);
Tailwind
colors: {
  custom: {
    50: '#8c81dd',
    500: '#4c50cd',
    950: '#000000',
  },
}
SCSS
$custom: #4c50cd;
$custom-light: #8c81dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4c50cd",
  "rgb": {
    "r": 76,
    "g": 80,
    "b": 205
  },
  "hsl": {
    "h": 238.14,
    "s": 56.332,
    "l": 55.098
  },
  "oklch": {
    "l": 0.50361,
    "c": 0.18926,
    "h": 275.8
  },
  "luminance": 0.11682
}

Semantic roles & 50–950 ramp

primary
#4C50CD
secondary
#D5D49F
accent
#DB48E0
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4C50CD

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

Preview Lab → · Contrast checker → · Palette generator →

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