#4D50CF#4D50CF

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

Color values

HEX#4D50CF
RGBrgb(77, 80, 207)
HSLhsl(239, 58%, 56%)
HSVhsv(239, 63%, 81%)
CMYKcmyk(62.8%, 61.4%, 0%, 18.8%)
CIE-LABlab(40.93, 37.37, -66.18)
CIE-LCHlch(40.93, 76.00, 299.46°)
OKLaboklab(50.59% 0.0203 -0.1906)
OKLCHoklch(50.59% 0.192 276.1)
XYZxyz(17.1880, 11.8187, 60.3949)
Luminance0.1182 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D50CF #CFCC4D
analogous
#4D91CF #4D50CF #8B4DCF
triadic
#4D50CF #CF4D50 #50CF4D
tetradic
#4D50CF #CF4D91 #CFCC4D #4DCF8B
square
#4D50CF #CF4D91 #CFCC4D #4DCF8B
split-complementary
#4D50CF #CF8B4D #91CF4D
monochromatic
#22247F #2F32AF #4D50CF #7D7FDC #ADAFE9

Accessibility & contrast

On white

6.24
#4D50CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4D50CF
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D50CF#FFFFFF#000000##FFFFFF
##4D50CF1.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d50cf;
/* rgb */ color: rgb(77, 80, 207);
/* oklch */ color: oklch(50.6% 0.192 276.1);
Tailwind
colors: {
  custom: {
    50: '#8c81df',
    500: '#4d50cf',
    950: '#000000',
  },
}
SCSS
$custom: #4d50cf;
$custom-light: #8c81df;
$custom-dark: #000000;
JSON
{
  "hex": "#4d50cf",
  "rgb": {
    "r": 77,
    "g": 80,
    "b": 207
  },
  "hsl": {
    "h": 238.615,
    "s": 57.522,
    "l": 55.686
  },
  "oklch": {
    "l": 0.50592,
    "c": 0.19164,
    "h": 276.1
  },
  "luminance": 0.1182
}

Semantic roles & 50–950 ramp

primary
#4D50CF
secondary
#D7D6A1
accent
#DD47E1
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4D50CF

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

Preview Lab → · Contrast checker → · Palette generator →

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