#4F50D7#4F50D7

#4F50D7 is a mid, highly saturated blue. Relative luminance 0.123; OKLCH L 51.4% C 0.202 H 276.3°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#4F50D7
RGBrgb(79, 80, 215)
HSLhsl(240, 63%, 58%)
HSVhsv(240, 63%, 84%)
CMYKcmyk(63.3%, 62.8%, 0%, 15.7%)
CIE-LABlab(41.70, 40.32, -69.52)
CIE-LCHlch(41.70, 80.36, 300.11°)
OKLaboklab(51.39% 0.0222 -0.2003)
OKLCHoklch(51.39% 0.202 276.3)
XYZxyz(18.3549, 12.3044, 65.6845)
Luminance0.1231 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F50D7 #D7D64F
analogous
#4F94D7 #4F50D7 #924FD7
triadic
#4F50D7 #D74F50 #50D74F
tetradic
#4F50D7 #D74F94 #D7D64F #4FD792
square
#4F50D7 #D74F94 #D7D64F #4FD792
split-complementary
#4F50D7 #D7924F #94D74F
monochromatic
#20218C #2B2CBE #4F50D7 #8182E2 #B3B3EE

Accessibility & contrast

On white

6.07
#4F50D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#4F50D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F50D7
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F50D7#FFFFFF#000000##FFFFFF
##4F50D71.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DB
Deuteranopia (green-blind)
#005CD4
Tritanopia (blue-blind)
#00728C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4f50d7;
/* rgb */ color: rgb(79, 80, 215);
/* oklch */ color: oklch(51.4% 0.202 276.3);
Tailwind
colors: {
  custom: {
    50: '#8f81e4',
    500: '#4f50d7',
    950: '#000000',
  },
}
SCSS
$custom: #4f50d7;
$custom-light: #8f81e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4f50d7",
  "rgb": {
    "r": 79,
    "g": 80,
    "b": 215
  },
  "hsl": {
    "h": 239.559,
    "s": 62.963,
    "l": 57.647
  },
  "oklch": {
    "l": 0.51389,
    "c": 0.20154,
    "h": 276.3
  },
  "luminance": 0.12306
}

Semantic roles & 50–950 ramp

primary
#4F50D7
secondary
#DCDCA6
accent
#E542E6
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4F50D7

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

Preview Lab → · Contrast checker → · Palette generator →

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