#4F50CF#4F50CF

#4F50CF is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.7% C 0.191 H 276.8°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#4F50CF
RGBrgb(79, 80, 207)
HSLhsl(240, 57%, 56%)
HSVhsv(240, 62%, 81%)
CMYKcmyk(61.8%, 61.4%, 0%, 18.8%)
CIE-LABlab(41.06, 37.69, -65.95)
CIE-LCHlch(41.06, 75.96, 299.75°)
OKLaboklab(50.73% 0.0227 -0.1898)
OKLCHoklch(50.73% 0.191 276.8)
XYZxyz(17.3519, 11.9032, 60.4025)
Luminance0.1191 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F50CF #CFCE4F
analogous
#4F90CF #4F50CF #8E4FCF
triadic
#4F50CF #CF4F50 #50CF4F
tetradic
#4F50CF #CF4F90 #CFCE4F #4FCF8E
square
#4F50CF #CF4F90 #CFCE4F #4FCF8E
split-complementary
#4F50CF #CF8E4F #90CF4F
monochromatic
#232481 #3031B1 #4F50CF #7F80DC #AFB0E9

Accessibility & contrast

On white

6.21
#4F50CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#4F50CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F50CF
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F50CF#FFFFFF#000000##FFFFFF
##4F50CF1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D3
Deuteranopia (green-blind)
#005BCC
Tritanopia (blue-blind)
#007088
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4f50cf;
/* rgb */ color: rgb(79, 80, 207);
/* oklch */ color: oklch(50.7% 0.191 276.8);
Tailwind
colors: {
  custom: {
    50: '#8d81df',
    500: '#4f50cf',
    950: '#000000',
  },
}
SCSS
$custom: #4f50cf;
$custom-light: #8d81df;
$custom-dark: #000000;
JSON
{
  "hex": "#4f50cf",
  "rgb": {
    "r": 79,
    "g": 80,
    "b": 207
  },
  "hsl": {
    "h": 239.531,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.50726,
    "c": 0.1912,
    "h": 276.8
  },
  "luminance": 0.11905
}

Semantic roles & 50–950 ramp

primary
#4F50CF
secondary
#D7D7A2
accent
#DF47E0
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4F50CF

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

Preview Lab → · Contrast checker → · Palette generator →

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