#4F50D9#4F50D9

#4F50D9 is a mid, highly saturated blue. Relative luminance 0.124; OKLCH L 51.6% C 0.204 H 276.2°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#4F50D9
RGBrgb(79, 80, 217)
HSLhsl(240, 64%, 58%)
HSVhsv(240, 64%, 85%)
CMYKcmyk(63.6%, 63.1%, 0%, 14.9%)
CIE-LABlab(41.86, 40.97, -70.40)
CIE-LCHlch(41.86, 81.45, 300.20°)
OKLaboklab(51.56% 0.0221 -0.2029)
OKLCHoklch(51.56% 0.204 276.2)
XYZxyz(18.6134, 12.4078, 67.0462)
Luminance0.1241 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F50D9 #D9D84F
analogous
#4F95D9 #4F50D9 #934FD9
triadic
#4F50D9 #D94F50 #50D94F
tetradic
#4F50D9 #D94F95 #D9D84F #4FD993
square
#4F50D9 #D94F95 #D9D84F #4FD993
split-complementary
#4F50D9 #D9934F #95D94F
monochromatic
#1F208F #2A2BC1 #4F50D9 #8182E4 #B4B4EF

Accessibility & contrast

On white

6.03
#4F50D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#4F50D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F50D9
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F50D9#FFFFFF#000000##FFFFFF
##4F50D91.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DD
Deuteranopia (green-blind)
#005DD6
Tritanopia (blue-blind)
#00738D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4f50d9;
/* rgb */ color: rgb(79, 80, 217);
/* oklch */ color: oklch(51.6% 0.204 276.2);
Tailwind
colors: {
  custom: {
    50: '#8f81e6',
    500: '#4f50d9',
    950: '#000000',
  },
}
SCSS
$custom: #4f50d9;
$custom-light: #8f81e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4f50d9",
  "rgb": {
    "r": 79,
    "g": 80,
    "b": 217
  },
  "hsl": {
    "h": 239.565,
    "s": 64.486,
    "l": 58.039
  },
  "oklch": {
    "l": 0.51557,
    "c": 0.20409,
    "h": 276.2
  },
  "luminance": 0.12409
}

Semantic roles & 50–950 ramp

primary
#4F50D9
secondary
#DDDDA6
accent
#E640E7
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4F50D9

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

Preview Lab → · Contrast checker → · Palette generator →

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