#4F50CE#4F50CE

#4F50CE is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.6% C 0.190 H 276.9°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#4F50CE
RGBrgb(79, 80, 206)
HSLhsl(240, 56%, 56%)
HSVhsv(240, 62%, 81%)
CMYKcmyk(61.7%, 61.2%, 0%, 19.2%)
CIE-LABlab(40.98, 37.36, -65.50)
CIE-LCHlch(40.98, 75.41, 299.70°)
OKLaboklab(50.65% 0.0227 -0.1885)
OKLCHoklch(50.65% 0.19 276.9)
XYZxyz(17.2301, 11.8545, 59.7607)
Luminance0.1186 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F50CE #CECD4F
analogous
#4F8FCE #4F50CE #8E4FCE
triadic
#4F50CE #CE4F50 #50CE4F
tetradic
#4F50CE #CE4F8F #CECD4F #4FCE8E
square
#4F50CE #CE4F8F #CECD4F #4FCE8E
split-complementary
#4F50CE #CE8E4F #8FCE4F
monochromatic
#23247F #3132AF #4F50CE #7F80DB #AFAFE9

Accessibility & contrast

On white

6.23
#4F50CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#4F50CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F50CE
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F50CE#FFFFFF#000000##FFFFFF
##4F50CE1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D2
Deuteranopia (green-blind)
#005BCC
Tritanopia (blue-blind)
#006F87
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4f50ce;
/* rgb */ color: rgb(79, 80, 206);
/* oklch */ color: oklch(50.6% 0.190 276.9);
Tailwind
colors: {
  custom: {
    50: '#8d81de',
    500: '#4f50ce',
    950: '#000000',
  },
}
SCSS
$custom: #4f50ce;
$custom-light: #8d81de;
$custom-dark: #000000;
JSON
{
  "hex": "#4f50ce",
  "rgb": {
    "r": 79,
    "g": 80,
    "b": 206
  },
  "hsl": {
    "h": 239.528,
    "s": 56.444,
    "l": 55.882
  },
  "oklch": {
    "l": 0.50645,
    "c": 0.18988,
    "h": 276.9
  },
  "luminance": 0.11856
}

Semantic roles & 50–950 ramp

primary
#4F50CE
secondary
#D7D6A2
accent
#DF48E0
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4F50CE

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

Preview Lab → · Contrast checker → · Palette generator →

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