#4F50E4#4F50E4

#4F50E4 is a mid, highly saturated blue. Relative luminance 0.130; OKLCH L 52.5% C 0.218 H 275.6°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#4F50E4
RGBrgb(79, 80, 228)
HSLhsl(240, 73%, 60%)
HSVhsv(240, 65%, 89%)
CMYKcmyk(65.4%, 64.9%, 0%, 10.6%)
CIE-LABlab(42.76, 44.57, -75.19)
CIE-LCHlch(42.76, 87.40, 300.66°)
OKLaboklab(52.5% 0.0212 -0.2169)
OKLCHoklch(52.5% 0.218 275.6)
XYZxyz(20.0921, 12.9993, 74.8340)
Luminance0.1300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F50E4 #E4E34F
analogous
#4F9BE4 #4F50E4 #984FE4
triadic
#4F50E4 #E44F50 #50E44F
tetradic
#4F50E4 #E44F9B #E4E34F #4FE498
square
#4F50E4 #E44F9B #E4E34F #4FE498
split-complementary
#4F50E4 #E4984F #9BE44F
monochromatic
#1919A0 #2122D5 #4F50E4 #8485EC #B9BAF4

Accessibility & contrast

On white

5.83
#4F50E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#4F50E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F50E4
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F50E4#FFFFFF#000000##FFFFFF
##4F50E41.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE9
Deuteranopia (green-blind)
#005EE1
Tritanopia (blue-blind)
#007793
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4f50e4;
/* rgb */ color: rgb(79, 80, 228);
/* oklch */ color: oklch(52.5% 0.218 275.6);
Tailwind
colors: {
  custom: {
    50: '#9182ee',
    500: '#4f50e4',
    950: '#000000',
  },
}
SCSS
$custom: #4f50e4;
$custom-light: #9182ee;
$custom-dark: #000000;
JSON
{
  "hex": "#4f50e4",
  "rgb": {
    "r": 79,
    "g": 80,
    "b": 228
  },
  "hsl": {
    "h": 239.597,
    "s": 73.399,
    "l": 60.196
  },
  "oklch": {
    "l": 0.52496,
    "c": 0.21797,
    "h": 275.6
  },
  "luminance": 0.13001
}

Semantic roles & 50–950 ramp

primary
#4F50E4
secondary
#E4E4AB
accent
#D410D6
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4F50E4

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

Preview Lab → · Contrast checker → · Palette generator →

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