#4F50D2#4F50D2

#4F50D2 is a mid, vivid blue. Relative luminance 0.121; OKLCH L 51.0% C 0.195 H 276.6°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#4F50D2
RGBrgb(79, 80, 210)
HSLhsl(240, 59%, 57%)
HSVhsv(240, 62%, 82%)
CMYKcmyk(62.4%, 61.9%, 0%, 17.6%)
CIE-LABlab(41.30, 38.67, -67.30)
CIE-LCHlch(41.30, 77.62, 299.89°)
OKLaboklab(50.97% 0.0225 -0.1938)
OKLCHoklch(50.97% 0.195 276.6)
XYZxyz(17.7222, 12.0513, 62.3525)
Luminance0.1205 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F50D2 #D2D14F
analogous
#4F92D2 #4F50D2 #904FD2
triadic
#4F50D2 #D24F50 #50D24F
tetradic
#4F50D2 #D24F92 #D2D14F #4FD290
square
#4F50D2 #D24F92 #D2D14F #4FD290
split-complementary
#4F50D2 #D2904F #92D24F
monochromatic
#222385 #2E2FB5 #4F50D2 #8080DE #B0B1EB

Accessibility & contrast

On white

6.16
#4F50D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#4F50D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F50D2
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F50D2#FFFFFF#000000##FFFFFF
##4F50D21.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D6
Deuteranopia (green-blind)
#005CCF
Tritanopia (blue-blind)
#007189
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4f50d2;
/* rgb */ color: rgb(79, 80, 210);
/* oklch */ color: oklch(51.0% 0.195 276.6);
Tailwind
colors: {
  custom: {
    50: '#8e81e1',
    500: '#4f50d2',
    950: '#000000',
  },
}
SCSS
$custom: #4f50d2;
$custom-light: #8e81e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4f50d2",
  "rgb": {
    "r": 79,
    "g": 80,
    "b": 210
  },
  "hsl": {
    "h": 239.542,
    "s": 59.276,
    "l": 56.667
  },
  "oklch": {
    "l": 0.50973,
    "c": 0.19509,
    "h": 276.6
  },
  "luminance": 0.12053
}

Semantic roles & 50–950 ramp

primary
#4F50D2
secondary
#D9D9A4
accent
#E145E2
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #4F50D2

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

Preview Lab → · Contrast checker → · Palette generator →

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