#4C50CA#4C50CA

#4C50CA is a mid, vivid blue. Relative luminance 0.115; OKLCH L 50.1% C 0.185 H 276.0°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#4C50CA
RGBrgb(76, 80, 202)
HSLhsl(238, 54%, 55%)
HSVhsv(238, 62%, 79%)
CMYKcmyk(62.4%, 60.4%, 0%, 20.8%)
CIE-LABlab(40.47, 35.55, -64.04)
CIE-LCHlch(40.47, 73.24, 299.04°)
OKLaboklab(50.12% 0.0193 -0.1843)
OKLCHoklch(50.12% 0.185 276)
XYZxyz(16.5063, 11.5368, 57.2226)
Luminance0.1154 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C50CA #CAC64C
analogous
#4C8FCA #4C50CA #874CCA
triadic
#4C50CA #CA4C50 #50CA4C
tetradic
#4C50CA #CA4C8F #CAC64C #4CCA87
square
#4C50CA #CA4C8F #CAC64C #4CCA87
split-complementary
#4C50CA #CA874C #8FCA4C
monochromatic
#242678 #3235A7 #4C50CA #7B7ED8 #AAACE6

Accessibility & contrast

On white

6.35
#4C50CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#4C50CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C50CA
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C50CA#FFFFFF#000000##FFFFFF
##4C50CA1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CE
Deuteranopia (green-blind)
#005AC8
Tritanopia (blue-blind)
#006E85
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4c50ca;
/* rgb */ color: rgb(76, 80, 202);
/* oklch */ color: oklch(50.1% 0.185 276.0);
Tailwind
colors: {
  custom: {
    50: '#8b81db',
    500: '#4c50ca',
    950: '#000000',
  },
}
SCSS
$custom: #4c50ca;
$custom-light: #8b81db;
$custom-dark: #000000;
JSON
{
  "hex": "#4c50ca",
  "rgb": {
    "r": 76,
    "g": 80,
    "b": 202
  },
  "hsl": {
    "h": 238.095,
    "s": 54.31,
    "l": 54.51
  },
  "oklch": {
    "l": 0.50117,
    "c": 0.18531,
    "h": 276
  },
  "luminance": 0.11538
}

Semantic roles & 50–950 ramp

primary
#4C50CA
secondary
#D4D29E
accent
#D94ADE
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4C50CA

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

Preview Lab → · Contrast checker → · Palette generator →

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