#4F50EB#4F50EB

#4F50EB is a mid, highly saturated blue. Relative luminance 0.134; OKLCH L 53.1% C 0.227 H 275.2°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#4F50EB
RGBrgb(79, 80, 235)
HSLhsl(240, 80%, 62%)
HSVhsv(240, 66%, 92%)
CMYKcmyk(66.4%, 66%, 0%, 7.8%)
CIE-LABlab(43.35, 46.84, -78.18)
CIE-LCHlch(43.35, 91.13, 300.93°)
OKLaboklab(53.11% 0.0205 -0.2257)
OKLCHoklch(53.11% 0.227 275.2)
XYZxyz(21.0836, 13.3959, 80.0557)
Luminance0.1340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F50EB #EBEA4F
analogous
#4F9EEB #4F50EB #9C4FEB
triadic
#4F50EB #EB4F50 #50EB4F
tetradic
#4F50EB #EB4F9E #EBEA4F #4FEB9C
square
#4F50EB #EB4F9E #EBEA4F #4FEB9C
split-complementary
#4F50EB #EB9C4F #9EEB4F
monochromatic
#1415AC #1A1BE3 #4F50EB #8687F1 #BDBDF7

Accessibility & contrast

On white

5.71
#4F50EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#4F50EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F50EB
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F50EB#FFFFFF#000000##FFFFFF
##4F50EB1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EF0
Deuteranopia (green-blind)
#005FE8
Tritanopia (blue-blind)
#007997
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4f50eb;
/* rgb */ color: rgb(79, 80, 235);
/* oklch */ color: oklch(53.1% 0.227 275.2);
Tailwind
colors: {
  custom: {
    50: '#9382f3',
    500: '#4f50eb',
    950: '#000000',
  },
}
SCSS
$custom: #4f50eb;
$custom-light: #9382f3;
$custom-dark: #000000;
JSON
{
  "hex": "#4f50eb",
  "rgb": {
    "r": 79,
    "g": 80,
    "b": 235
  },
  "hsl": {
    "h": 239.615,
    "s": 79.592,
    "l": 61.569
  },
  "oklch": {
    "l": 0.53108,
    "c": 0.22664,
    "h": 275.2
  },
  "luminance": 0.13398
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4F50EB

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

Preview Lab → · Contrast checker → · Palette generator →

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