#4F50E1#4F50E1

#4F50E1 is a mid, highly saturated blue. Relative luminance 0.128; OKLCH L 52.2% C 0.214 H 275.7°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#4F50E1
RGBrgb(79, 80, 225)
HSLhsl(240, 71%, 60%)
HSVhsv(240, 65%, 88%)
CMYKcmyk(64.9%, 64.4%, 0%, 11.8%)
CIE-LABlab(42.51, 43.59, -73.89)
CIE-LCHlch(42.51, 85.79, 300.54°)
OKLaboklab(52.24% 0.0214 -0.2131)
OKLCHoklch(52.24% 0.214 275.7)
XYZxyz(19.6793, 12.8341, 72.6597)
Luminance0.1284 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F50E1 #E1E04F
analogous
#4F99E1 #4F50E1 #974FE1
triadic
#4F50E1 #E14F50 #50E14F
tetradic
#4F50E1 #E14F99 #E1E04F #4FE197
square
#4F50E1 #E14F99 #E1E04F #4FE197
split-complementary
#4F50E1 #E1974F #99E14F
monochromatic
#1A1B9B #2325CF #4F50E1 #8384EA #B8B8F3

Accessibility & contrast

On white

5.89
#4F50E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#4F50E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F50E1
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F50E1#FFFFFF#000000##FFFFFF
##4F50E11.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE6
Deuteranopia (green-blind)
#005EDE
Tritanopia (blue-blind)
#007691
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4f50e1;
/* rgb */ color: rgb(79, 80, 225);
/* oklch */ color: oklch(52.2% 0.214 275.7);
Tailwind
colors: {
  custom: {
    50: '#9182ec',
    500: '#4f50e1',
    950: '#000000',
  },
}
SCSS
$custom: #4f50e1;
$custom-light: #9182ec;
$custom-dark: #000000;
JSON
{
  "hex": "#4f50e1",
  "rgb": {
    "r": 79,
    "g": 80,
    "b": 225
  },
  "hsl": {
    "h": 239.589,
    "s": 70.874,
    "l": 59.608
  },
  "oklch": {
    "l": 0.52238,
    "c": 0.21421,
    "h": 275.7
  },
  "luminance": 0.12836
}

Semantic roles & 50–950 ramp

primary
#4F50E1
secondary
#E2E2AA
accent
#EC3AEE
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4F50E1

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

Preview Lab → · Contrast checker → · Palette generator →

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