#4C50CC#4C50CC

#4C50CC is a mid, vivid blue. Relative luminance 0.116; OKLCH L 50.3% C 0.188 H 275.9°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#4C50CC
RGBrgb(76, 80, 204)
HSLhsl(238, 56%, 55%)
HSVhsv(238, 63%, 80%)
CMYKcmyk(62.7%, 60.8%, 0%, 20%)
CIE-LABlab(40.63, 36.22, -64.94)
CIE-LCHlch(40.63, 74.36, 299.15°)
OKLaboklab(50.28% 0.0193 -0.1869)
OKLCHoklch(50.28% 0.188 275.9)
XYZxyz(16.7447, 11.6321, 58.4778)
Luminance0.1163 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C50CC #CCC84C
analogous
#4C90CC #4C50CC #884CCC
triadic
#4C50CC #CC4C50 #50CC4C
tetradic
#4C50CC #CC4C90 #CCC84C #4CCC88
square
#4C50CC #CC4C90 #CCC84C #4CCC88
split-complementary
#4C50CC #CC884C #90CC4C
monochromatic
#23267B #3134AA #4C50CC #7C7FDA #ABADE7

Accessibility & contrast

On white

6.31
#4C50CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#4C50CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C50CC
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C50CC#FFFFFF#000000##FFFFFF
##4C50CC1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D0
Deuteranopia (green-blind)
#005ACA
Tritanopia (blue-blind)
#006F86
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4c50cc;
/* rgb */ color: rgb(76, 80, 204);
/* oklch */ color: oklch(50.3% 0.188 275.9);
Tailwind
colors: {
  custom: {
    50: '#8b81dc',
    500: '#4c50cc',
    950: '#000000',
  },
}
SCSS
$custom: #4c50cc;
$custom-light: #8b81dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4c50cc",
  "rgb": {
    "r": 76,
    "g": 80,
    "b": 204
  },
  "hsl": {
    "h": 238.125,
    "s": 55.652,
    "l": 54.902
  },
  "oklch": {
    "l": 0.5028,
    "c": 0.18794,
    "h": 275.9
  },
  "luminance": 0.11633
}

Semantic roles & 50–950 ramp

primary
#4C50CC
secondary
#D5D39F
accent
#DA49DF
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4C50CC

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

Preview Lab → · Contrast checker → · Palette generator →

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