#4F50EC#4F50EC

#4F50EC is a mid, highly saturated blue. Relative luminance 0.135; OKLCH L 53.2% C 0.228 H 275.1°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#4F50EC
RGBrgb(79, 80, 236)
HSLhsl(240, 81%, 62%)
HSVhsv(240, 67%, 93%)
CMYKcmyk(66.5%, 66.1%, 0%, 7.5%)
CIE-LABlab(43.44, 47.16, -78.60)
CIE-LCHlch(43.44, 91.66, 300.96°)
OKLaboklab(53.2% 0.0204 -0.2269)
OKLCHoklch(53.2% 0.228 275.1)
XYZxyz(21.2284, 13.4538, 80.8187)
Luminance0.1346 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F50EC #ECEB4F
analogous
#4F9FEC #4F50EC #9D4FEC
triadic
#4F50EC #EC4F50 #50EC4F
tetradic
#4F50EC #EC4F9F #ECEB4F #4FEC9D
square
#4F50EC #EC4F9F #ECEB4F #4FEC9D
split-complementary
#4F50EC #EC9D4F #9FEC4F
monochromatic
#1314AE #191AE5 #4F50EC #8687F2 #BDBEF8

Accessibility & contrast

On white

5.69
#4F50EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#4F50EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F50EC
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F50EC#FFFFFF#000000##FFFFFF
##4F50EC1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EF1
Deuteranopia (green-blind)
#005FE9
Tritanopia (blue-blind)
#007997
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4f50ec;
/* rgb */ color: rgb(79, 80, 236);
/* oklch */ color: oklch(53.2% 0.228 275.1);
Tailwind
colors: {
  custom: {
    50: '#9382f3',
    500: '#4f50ec',
    950: '#000000',
  },
}
SCSS
$custom: #4f50ec;
$custom-light: #9382f3;
$custom-dark: #000000;
JSON
{
  "hex": "#4f50ec",
  "rgb": {
    "r": 79,
    "g": 80,
    "b": 236
  },
  "hsl": {
    "h": 239.618,
    "s": 80.513,
    "l": 61.765
  },
  "oklch": {
    "l": 0.53196,
    "c": 0.22786,
    "h": 275.1
  },
  "luminance": 0.13456
}

Semantic roles & 50–950 ramp

primary
#4F50EC
secondary
#E8E8AE
accent
#DB09DD
background
#F9F8FF
surface
#F2EFFE
border
#CCCAD6
text
#0F0A17
muted
#7E7C85

Preview Lab

Preview with #4F50EC

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

Preview Lab → · Contrast checker → · Palette generator →

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