#4C50CF#4C50CF

#4C50CF is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.5% C 0.192 H 275.7°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#4C50CF
RGBrgb(76, 80, 207)
HSLhsl(238, 58%, 55%)
HSVhsv(238, 63%, 81%)
CMYKcmyk(63.3%, 61.4%, 0%, 18.8%)
CIE-LABlab(40.86, 37.22, -66.29)
CIE-LCHlch(40.86, 76.02, 299.31°)
OKLaboklab(50.53% 0.0191 -0.1909)
OKLCHoklch(50.53% 0.192 275.7)
XYZxyz(17.1080, 11.7774, 60.3911)
Luminance0.1178 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C50CF #CFCB4C
analogous
#4C91CF #4C50CF #894CCF
triadic
#4C50CF #CF4C50 #50CF4C
tetradic
#4C50CF #CF4C91 #CFCB4C #4CCF89
square
#4C50CF #CF4C91 #CFCB4C #4CCF89
split-complementary
#4C50CF #CF894C #91CF4C
monochromatic
#22257F #2F33AF #4C50CF #7C7FDC #ADAEE9

Accessibility & contrast

On white

6.26
#4C50CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#4C50CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C50CF
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C50CF#FFFFFF#000000##FFFFFF
##4C50CF1.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D3
Deuteranopia (green-blind)
#005BCC
Tritanopia (blue-blind)
#007088
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4c50cf;
/* rgb */ color: rgb(76, 80, 207);
/* oklch */ color: oklch(50.5% 0.192 275.7);
Tailwind
colors: {
  custom: {
    50: '#8c81df',
    500: '#4c50cf',
    950: '#000000',
  },
}
SCSS
$custom: #4c50cf;
$custom-light: #8c81df;
$custom-dark: #000000;
JSON
{
  "hex": "#4c50cf",
  "rgb": {
    "r": 76,
    "g": 80,
    "b": 207
  },
  "hsl": {
    "h": 238.168,
    "s": 57.709,
    "l": 55.49
  },
  "oklch": {
    "l": 0.50526,
    "c": 0.19188,
    "h": 275.7
  },
  "luminance": 0.11779
}

Semantic roles & 50–950 ramp

primary
#4C50CF
secondary
#D7D5A0
accent
#DC47E1
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4C50CF

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

Preview Lab → · Contrast checker → · Palette generator →

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