#4F50C8#4F50C8

#4F50C8 is a mid, vivid blue. Relative luminance 0.116; OKLCH L 50.2% C 0.182 H 277.2°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#4F50C8
RGBrgb(79, 80, 200)
HSLhsl(240, 52%, 55%)
HSVhsv(240, 61%, 78%)
CMYKcmyk(60.5%, 60%, 0%, 21.6%)
CIE-LABlab(40.52, 35.38, -62.78)
CIE-LCHlch(40.52, 72.07, 299.40°)
OKLaboklab(50.16% 0.0229 -0.1805)
OKLCHoklch(50.16% 0.182 277.2)
XYZxyz(16.5151, 11.5685, 55.9950)
Luminance0.1157 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F50C8 #C8C74F
analogous
#4F8DC8 #4F50C8 #8B4FC8
triadic
#4F50C8 #C84F50 #50C84F
tetradic
#4F50C8 #C84F8D #C8C74F #4FC88B
square
#4F50C8 #C84F8D #C8C74F #4FC88B
split-complementary
#4F50C8 #C88B4F #8DC84F
monochromatic
#252677 #3435A6 #4F50C8 #7E7ED7 #ACADE5

Accessibility & contrast

On white

6.34
#4F50C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#4F50C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F50C8
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F50C8#FFFFFF#000000##FFFFFF
##4F50C81.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CC
Deuteranopia (green-blind)
#005AC6
Tritanopia (blue-blind)
#006D84
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4f50c8;
/* rgb */ color: rgb(79, 80, 200);
/* oklch */ color: oklch(50.2% 0.182 277.2);
Tailwind
colors: {
  custom: {
    50: '#8c81da',
    500: '#4f50c8',
    950: '#000000',
  },
}
SCSS
$custom: #4f50c8;
$custom-light: #8c81da;
$custom-dark: #000000;
JSON
{
  "hex": "#4f50c8",
  "rgb": {
    "r": 79,
    "g": 80,
    "b": 200
  },
  "hsl": {
    "h": 239.504,
    "s": 52.381,
    "l": 54.706
  },
  "oklch": {
    "l": 0.5016,
    "c": 0.18199,
    "h": 277.2
  },
  "luminance": 0.1157
}

Semantic roles & 50–950 ramp

primary
#4F50C8
secondary
#D3D2A0
accent
#DB4CDC
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4F50C8

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

Preview Lab → · Contrast checker → · Palette generator →

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