#4C50CB#4C50CB

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

Color values

HEX#4C50CB
RGBrgb(76, 80, 203)
HSLhsl(238, 55%, 55%)
HSVhsv(238, 63%, 80%)
CMYKcmyk(62.6%, 60.6%, 0%, 20.4%)
CIE-LABlab(40.55, 35.89, -64.49)
CIE-LCHlch(40.55, 73.80, 299.10°)
OKLaboklab(50.2% 0.0193 -0.1856)
OKLCHoklch(50.2% 0.187 275.9)
XYZxyz(16.6251, 11.5843, 57.8482)
Luminance0.1159 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C50CB #CBC74C
analogous
#4C90CB #4C50CB #874CCB
triadic
#4C50CB #CB4C50 #50CB4C
tetradic
#4C50CB #CB4C90 #CBC74C #4CCB87
square
#4C50CB #CB4C90 #CBC74C #4CCB87
split-complementary
#4C50CB #CB874C #90CB4C
monochromatic
#232679 #3135A9 #4C50CB #7B7ED9 #ABADE7

Accessibility & contrast

On white

6.33
#4C50CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#4C50CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C50CB
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C50CB#FFFFFF#000000##FFFFFF
##4C50CB1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CF
Deuteranopia (green-blind)
#005AC9
Tritanopia (blue-blind)
#006E86
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4c50cb;
/* rgb */ color: rgb(76, 80, 203);
/* oklch */ color: oklch(50.2% 0.187 275.9);
Tailwind
colors: {
  custom: {
    50: '#8b81dc',
    500: '#4c50cb',
    950: '#000000',
  },
}
SCSS
$custom: #4c50cb;
$custom-light: #8b81dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4c50cb",
  "rgb": {
    "r": 76,
    "g": 80,
    "b": 203
  },
  "hsl": {
    "h": 238.11,
    "s": 54.978,
    "l": 54.706
  },
  "oklch": {
    "l": 0.50198,
    "c": 0.18663,
    "h": 275.9
  },
  "luminance": 0.11586
}

Semantic roles & 50–950 ramp

primary
#4C50CB
secondary
#D4D29F
accent
#DA49DE
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4C50CB

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

Preview Lab → · Contrast checker → · Palette generator →

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