#4D50CD#4D50CD

#4D50CD is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.4% C 0.189 H 276.2°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#4D50CD
RGBrgb(77, 80, 205)
HSLhsl(239, 56%, 55%)
HSVhsv(239, 62%, 80%)
CMYKcmyk(62.4%, 61%, 0%, 19.6%)
CIE-LABlab(40.77, 36.71, -65.28)
CIE-LCHlch(40.77, 74.89, 299.35°)
OKLaboklab(50.43% 0.0204 -0.1879)
OKLCHoklch(50.43% 0.189 276.2)
XYZxyz(16.9451, 11.7215, 59.1153)
Luminance0.1172 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D50CD #CDCA4D
analogous
#4D90CD #4D50CD #8A4DCD
triadic
#4D50CD #CD4D50 #50CD4D
tetradic
#4D50CD #CD4D90 #CDCA4D #4DCD8A
square
#4D50CD #CD4D90 #CDCA4D #4DCD8A
split-complementary
#4D50CD #CD8A4D #90CD4D
monochromatic
#23257D #3033AC #4D50CD #7D7FDA #ADAEE8

Accessibility & contrast

On white

6.28
#4D50CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#4D50CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D50CD
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D50CD#FFFFFF#000000##FFFFFF
##4D50CD1.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.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: #4d50cd;
/* rgb */ color: rgb(77, 80, 205);
/* oklch */ color: oklch(50.4% 0.189 276.2);
Tailwind
colors: {
  custom: {
    50: '#8c81dd',
    500: '#4d50cd',
    950: '#000000',
  },
}
SCSS
$custom: #4d50cd;
$custom-light: #8c81dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4d50cd",
  "rgb": {
    "r": 77,
    "g": 80,
    "b": 205
  },
  "hsl": {
    "h": 238.594,
    "s": 56.14,
    "l": 55.294
  },
  "oklch": {
    "l": 0.50428,
    "c": 0.18902,
    "h": 276.2
  },
  "luminance": 0.11723
}

Semantic roles & 50–950 ramp

primary
#4D50CD
secondary
#D6D4A0
accent
#DC48DF
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4D50CD

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

Preview Lab → · Contrast checker → · Palette generator →

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