#4F50E6#4F50E6

#4F50E6 is a mid, highly saturated blue. Relative luminance 0.131; OKLCH L 52.7% C 0.220 H 275.5°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#4F50E6
RGBrgb(79, 80, 230)
HSLhsl(240, 75%, 61%)
HSVhsv(240, 66%, 90%)
CMYKcmyk(65.7%, 65.2%, 0%, 9.8%)
CIE-LABlab(42.93, 45.22, -76.04)
CIE-LCHlch(42.93, 88.47, 300.74°)
OKLaboklab(52.67% 0.021 -0.2195)
OKLCHoklch(52.67% 0.22 275.5)
XYZxyz(20.3713, 13.1110, 76.3047)
Luminance0.1311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F50E6 #E6E54F
analogous
#4F9BE6 #4F50E6 #9A4FE6
triadic
#4F50E6 #E64F50 #50E64F
tetradic
#4F50E6 #E64F9B #E6E54F #4FE69A
square
#4F50E6 #E64F9B #E6E54F #4FE69A
split-complementary
#4F50E6 #E69A4F #9BE64F
monochromatic
#1718A3 #1F20D9 #4F50E6 #8585EE #BABBF5

Accessibility & contrast

On white

5.80
#4F50E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#4F50E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F50E6
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F50E6#FFFFFF#000000##FFFFFF
##4F50E61.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CEB
Deuteranopia (green-blind)
#005FE3
Tritanopia (blue-blind)
#007794
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4f50e6;
/* rgb */ color: rgb(79, 80, 230);
/* oklch */ color: oklch(52.7% 0.220 275.5);
Tailwind
colors: {
  custom: {
    50: '#9282ef',
    500: '#4f50e6',
    950: '#000000',
  },
}
SCSS
$custom: #4f50e6;
$custom-light: #9282ef;
$custom-dark: #000000;
JSON
{
  "hex": "#4f50e6",
  "rgb": {
    "r": 79,
    "g": 80,
    "b": 230
  },
  "hsl": {
    "h": 239.603,
    "s": 75.124,
    "l": 60.588
  },
  "oklch": {
    "l": 0.5267,
    "c": 0.22046,
    "h": 275.5
  },
  "luminance": 0.13113
}

Semantic roles & 50–950 ramp

primary
#4F50E6
secondary
#E5E5AC
accent
#D60ED7
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A17
muted
#7E7C85

Preview Lab

Preview with #4F50E6

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

Preview Lab → · Contrast checker → · Palette generator →

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