#4F50E2#4F50E2

#4F50E2 is a mid, highly saturated blue. Relative luminance 0.129; OKLCH L 52.3% C 0.215 H 275.7°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#4F50E2
RGBrgb(79, 80, 226)
HSLhsl(240, 72%, 60%)
HSVhsv(240, 65%, 89%)
CMYKcmyk(65%, 64.6%, 0%, 11.4%)
CIE-LABlab(42.60, 43.91, -74.32)
CIE-LCHlch(42.60, 86.33, 300.58°)
OKLaboklab(52.32% 0.0213 -0.2144)
OKLCHoklch(52.32% 0.215 275.7)
XYZxyz(19.8161, 12.8889, 73.3803)
Luminance0.1289 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F50E2 #E2E14F
analogous
#4F99E2 #4F50E2 #984FE2
triadic
#4F50E2 #E24F50 #50E24F
tetradic
#4F50E2 #E24F99 #E2E14F #4FE298
square
#4F50E2 #E24F99 #E2E14F #4FE298
split-complementary
#4F50E2 #E2984F #99E24F
monochromatic
#1A1B9D #2224D1 #4F50E2 #8484EB #B8B8F3

Accessibility & contrast

On white

5.87
#4F50E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#4F50E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F50E2
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F50E2#FFFFFF#000000##FFFFFF
##4F50E21.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE7
Deuteranopia (green-blind)
#005EDF
Tritanopia (blue-blind)
#007692
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4f50e2;
/* rgb */ color: rgb(79, 80, 226);
/* oklch */ color: oklch(52.3% 0.215 275.7);
Tailwind
colors: {
  custom: {
    50: '#9182ec',
    500: '#4f50e2',
    950: '#000000',
  },
}
SCSS
$custom: #4f50e2;
$custom-light: #9182ec;
$custom-dark: #000000;
JSON
{
  "hex": "#4f50e2",
  "rgb": {
    "r": 79,
    "g": 80,
    "b": 226
  },
  "hsl": {
    "h": 239.592,
    "s": 71.707,
    "l": 59.804
  },
  "oklch": {
    "l": 0.52324,
    "c": 0.21547,
    "h": 275.7
  },
  "luminance": 0.12891
}

Semantic roles & 50–950 ramp

primary
#4F50E2
secondary
#E3E2AA
accent
#ED39EE
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4F50E2

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

Preview Lab → · Contrast checker → · Palette generator →

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