#4D50C8#4D50C8

#4D50C8 is a mid, vivid blue. Relative luminance 0.115; OKLCH L 50.0% C 0.182 H 276.5°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#4D50C8
RGBrgb(77, 80, 200)
HSLhsl(239, 53%, 54%)
HSVhsv(239, 62%, 78%)
CMYKcmyk(61.5%, 60%, 0%, 21.6%)
CIE-LABlab(40.38, 35.05, -63.02)
CIE-LCHlch(40.38, 72.11, 299.08°)
OKLaboklab(50.02% 0.0206 -0.1813)
OKLCHoklch(50.02% 0.182 276.5)
XYZxyz(16.3512, 11.4839, 55.9873)
Luminance0.1148 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D50C8 #C8C54D
analogous
#4D8DC8 #4D50C8 #884DC8
triadic
#4D50C8 #C84D50 #50C84D
tetradic
#4D50C8 #C84D8D #C8C54D #4DC888
square
#4D50C8 #C84D8D #C8C54D #4DC888
split-complementary
#4D50C8 #C8884D #8DC84D
monochromatic
#242676 #3336A5 #4D50C8 #7C7ED6 #ABACE5

Accessibility & contrast

On white

6.37
#4D50C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#4D50C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D50C8
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D50C8#FFFFFF#000000##FFFFFF
##4D50C81.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CC
Deuteranopia (green-blind)
#005AC6
Tritanopia (blue-blind)
#006D84
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4d50c8;
/* rgb */ color: rgb(77, 80, 200);
/* oklch */ color: oklch(50.0% 0.182 276.5);
Tailwind
colors: {
  custom: {
    50: '#8b81da',
    500: '#4d50c8',
    950: '#000000',
  },
}
SCSS
$custom: #4d50c8;
$custom-light: #8b81da;
$custom-dark: #000000;
JSON
{
  "hex": "#4d50c8",
  "rgb": {
    "r": 77,
    "g": 80,
    "b": 200
  },
  "hsl": {
    "h": 238.537,
    "s": 52.79,
    "l": 54.314
  },
  "oklch": {
    "l": 0.50023,
    "c": 0.18243,
    "h": 276.5
  },
  "luminance": 0.11485
}

Semantic roles & 50–950 ramp

primary
#4D50C8
secondary
#D2D19E
accent
#D94CDC
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4D50C8

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

Preview Lab → · Contrast checker → · Palette generator →

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