#4D50CB#4D50CB

#4D50CB is a mid, vivid blue. Relative luminance 0.116; OKLCH L 50.3% C 0.186 H 276.3°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#4D50CB
RGBrgb(77, 80, 203)
HSLhsl(239, 55%, 55%)
HSVhsv(239, 62%, 80%)
CMYKcmyk(62.1%, 60.6%, 0%, 20.4%)
CIE-LABlab(40.61, 36.05, -64.38)
CIE-LCHlch(40.61, 73.78, 299.25°)
OKLaboklab(50.27% 0.0205 -0.1853)
OKLCHoklch(50.27% 0.186 276.3)
XYZxyz(16.7052, 11.6256, 57.8520)
Luminance0.1163 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D50CB #CBC84D
analogous
#4D8FCB #4D50CB #894DCB
triadic
#4D50CB #CB4D50 #50CB4D
tetradic
#4D50CB #CB4D8F #CBC84D #4DCB89
square
#4D50CB #CB4D8F #CBC84D #4DCB89
split-complementary
#4D50CB #CB894D #8FCB4D
monochromatic
#24267A #3134A9 #4D50CB #7C7FD9 #ACADE7

Accessibility & contrast

On white

6.32
#4D50CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#4D50CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D50CB
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D50CB#FFFFFF#000000##FFFFFF
##4D50CB1.006.323.336.32
#FFFFFF6.321.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CF
Deuteranopia (green-blind)
#005AC9
Tritanopia (blue-blind)
#006E86
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4d50cb;
/* rgb */ color: rgb(77, 80, 203);
/* oklch */ color: oklch(50.3% 0.186 276.3);
Tailwind
colors: {
  custom: {
    50: '#8c81dc',
    500: '#4d50cb',
    950: '#000000',
  },
}
SCSS
$custom: #4d50cb;
$custom-light: #8c81dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4d50cb",
  "rgb": {
    "r": 77,
    "g": 80,
    "b": 203
  },
  "hsl": {
    "h": 238.571,
    "s": 54.783,
    "l": 54.902
  },
  "oklch": {
    "l": 0.50265,
    "c": 0.1864,
    "h": 276.3
  },
  "luminance": 0.11627
}

Semantic roles & 50–950 ramp

primary
#4D50CB
secondary
#D4D39F
accent
#DB4ADE
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4D50CB

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

Preview Lab → · Contrast checker → · Palette generator →

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