#4D50CA#4D50CA

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

Color values

HEX#4D50CA
RGBrgb(77, 80, 202)
HSLhsl(239, 54%, 55%)
HSVhsv(239, 62%, 79%)
CMYKcmyk(61.9%, 60.4%, 0%, 20.8%)
CIE-LABlab(40.54, 35.71, -63.92)
CIE-LCHlch(40.54, 73.22, 299.19°)
OKLaboklab(50.18% 0.0205 -0.1839)
OKLCHoklch(50.18% 0.185 276.4)
XYZxyz(16.5864, 11.5781, 57.2264)
Luminance0.1158 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D50CA #CAC74D
analogous
#4D8FCA #4D50CA #894DCA
triadic
#4D50CA #CA4D50 #50CA4D
tetradic
#4D50CA #CA4D8F #CAC74D #4DCA89
square
#4D50CA #CA4D8F #CAC74D #4DCA89
split-complementary
#4D50CA #CA894D #8FCA4D
monochromatic
#242679 #3235A8 #4D50CA #7C7ED8 #ABADE6

Accessibility & contrast

On white

6.33
#4D50CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#4D50CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D50CA
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D50CA#FFFFFF#000000##FFFFFF
##4D50CA1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CE
Deuteranopia (green-blind)
#005AC8
Tritanopia (blue-blind)
#006E85
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4d50ca;
/* rgb */ color: rgb(77, 80, 202);
/* oklch */ color: oklch(50.2% 0.185 276.4);
Tailwind
colors: {
  custom: {
    50: '#8c81db',
    500: '#4d50ca',
    950: '#000000',
  },
}
SCSS
$custom: #4d50ca;
$custom-light: #8c81db;
$custom-dark: #000000;
JSON
{
  "hex": "#4d50ca",
  "rgb": {
    "r": 77,
    "g": 80,
    "b": 202
  },
  "hsl": {
    "h": 238.56,
    "s": 54.113,
    "l": 54.706
  },
  "oklch": {
    "l": 0.50184,
    "c": 0.18508,
    "h": 276.4
  },
  "luminance": 0.11579
}

Semantic roles & 50–950 ramp

primary
#4D50CA
secondary
#D4D29F
accent
#DA4ADD
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4D50CA

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

Preview Lab → · Contrast checker → · Palette generator →

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