#4F50CD#4F50CD

#4F50CD is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.6% C 0.189 H 276.9°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#4F50CD
RGBrgb(79, 80, 205)
HSLhsl(240, 56%, 56%)
HSVhsv(240, 61%, 80%)
CMYKcmyk(61.5%, 61%, 0%, 19.6%)
CIE-LABlab(40.91, 37.03, -65.05)
CIE-LCHlch(40.91, 74.85, 299.65°)
OKLaboklab(50.56% 0.0227 -0.1872)
OKLCHoklch(50.56% 0.189 276.9)
XYZxyz(17.1090, 11.8060, 59.1230)
Luminance0.1181 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F50CD #CDCC4F
analogous
#4F8FCD #4F50CD #8D4FCD
triadic
#4F50CD #CD4F50 #50CD4F
tetradic
#4F50CD #CD4F8F #CDCC4F #4FCD8D
square
#4F50CD #CD4F8F #CDCC4F #4FCD8D
split-complementary
#4F50CD #CD8D4F #8FCD4F
monochromatic
#24247E #3132AE #4F50CD #7F7FDB #AEAFE8

Accessibility & contrast

On white

6.25
#4F50CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#4F50CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F50CD
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F50CD#FFFFFF#000000##FFFFFF
##4F50CD1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D1
Deuteranopia (green-blind)
#005BCB
Tritanopia (blue-blind)
#006F87
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4f50cd;
/* rgb */ color: rgb(79, 80, 205);
/* oklch */ color: oklch(50.6% 0.189 276.9);
Tailwind
colors: {
  custom: {
    50: '#8d81dd',
    500: '#4f50cd',
    950: '#000000',
  },
}
SCSS
$custom: #4f50cd;
$custom-light: #8d81dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4f50cd",
  "rgb": {
    "r": 79,
    "g": 80,
    "b": 205
  },
  "hsl": {
    "h": 239.524,
    "s": 55.752,
    "l": 55.686
  },
  "oklch": {
    "l": 0.50563,
    "c": 0.18858,
    "h": 276.9
  },
  "luminance": 0.11807
}

Semantic roles & 50–950 ramp

primary
#4F50CD
secondary
#D6D6A2
accent
#DE49DF
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4F50CD

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

Preview Lab → · Contrast checker → · Palette generator →

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