#4F50DC#4F50DC

#4F50DC is a mid, highly saturated blue. Relative luminance 0.126; OKLCH L 51.8% C 0.208 H 276.0°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#4F50DC
RGBrgb(79, 80, 220)
HSLhsl(240, 67%, 59%)
HSVhsv(240, 64%, 86%)
CMYKcmyk(64.1%, 63.6%, 0%, 13.7%)
CIE-LABlab(42.10, 41.96, -71.71)
CIE-LCHlch(42.10, 83.09, 300.33°)
OKLaboklab(51.81% 0.0218 -0.2068)
OKLCHoklch(51.81% 0.208 276)
XYZxyz(19.0072, 12.5653, 69.1200)
Luminance0.1257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F50DC #DCDB4F
analogous
#4F96DC #4F50DC #944FDC
triadic
#4F50DC #DC4F50 #50DC4F
tetradic
#4F50DC #DC4F96 #DCDB4F #4FDC94
square
#4F50DC #DC4F96 #DCDB4F #4FDC94
split-complementary
#4F50DC #DC944F #96DC4F
monochromatic
#1D1E93 #2729C6 #4F50DC #8283E6 #B5B6F0

Accessibility & contrast

On white

5.98
#4F50DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#4F50DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F50DC
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F50DC#FFFFFF#000000##FFFFFF
##4F50DC1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE0
Deuteranopia (green-blind)
#005DD9
Tritanopia (blue-blind)
#00748F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4f50dc;
/* rgb */ color: rgb(79, 80, 220);
/* oklch */ color: oklch(51.8% 0.208 276.0);
Tailwind
colors: {
  custom: {
    50: '#9081e8',
    500: '#4f50dc',
    950: '#000000',
  },
}
SCSS
$custom: #4f50dc;
$custom-light: #9081e8;
$custom-dark: #000000;
JSON
{
  "hex": "#4f50dc",
  "rgb": {
    "r": 79,
    "g": 80,
    "b": 220
  },
  "hsl": {
    "h": 239.574,
    "s": 66.825,
    "l": 58.627
  },
  "oklch": {
    "l": 0.5181,
    "c": 0.20791,
    "h": 276
  },
  "luminance": 0.12567
}

Semantic roles & 50–950 ramp

primary
#4F50DC
secondary
#DFDFA8
accent
#E93EEA
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4F50DC

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

Preview Lab → · Contrast checker → · Palette generator →

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