#4D50D3#4D50D3

#4D50D3 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.9% C 0.197 H 275.9°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#4D50D3
RGBrgb(77, 80, 211)
HSLhsl(239, 60%, 56%)
HSVhsv(239, 64%, 83%)
CMYKcmyk(63.5%, 62.1%, 0%, 17.3%)
CIE-LABlab(41.24, 38.70, -67.97)
CIE-LCHlch(41.24, 78.21, 299.66°)
OKLaboklab(50.92% 0.0201 -0.1958)
OKLCHoklch(50.92% 0.197 275.9)
XYZxyz(17.6833, 12.0168, 63.0030)
Luminance0.1202 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D50D3 #D3D04D
analogous
#4D93D3 #4D50D3 #8D4DD3
triadic
#4D50D3 #D34D50 #50D34D
tetradic
#4D50D3 #D34D93 #D3D04D #4DD38D
square
#4D50D3 #D34D93 #D3D04D #4DD38D
split-complementary
#4D50D3 #D38D4D #93D34D
monochromatic
#212385 #2D30B6 #4D50D3 #7E80DF #AFB0EB

Accessibility & contrast

On white

6.17
#4D50D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#4D50D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D50D3
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D50D3#FFFFFF#000000##FFFFFF
##4D50D31.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D7
Deuteranopia (green-blind)
#005BD0
Tritanopia (blue-blind)
#00718A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4d50d3;
/* rgb */ color: rgb(77, 80, 211);
/* oklch */ color: oklch(50.9% 0.197 275.9);
Tailwind
colors: {
  custom: {
    50: '#8d81e1',
    500: '#4d50d3',
    950: '#000000',
  },
}
SCSS
$custom: #4d50d3;
$custom-light: #8d81e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4d50d3",
  "rgb": {
    "r": 77,
    "g": 80,
    "b": 211
  },
  "hsl": {
    "h": 238.657,
    "s": 60.36,
    "l": 56.471
  },
  "oklch": {
    "l": 0.50923,
    "c": 0.19684,
    "h": 275.9
  },
  "luminance": 0.12018
}

Semantic roles & 50–950 ramp

primary
#4D50D3
secondary
#D9D8A2
accent
#E044E4
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #4D50D3

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

Preview Lab → · Contrast checker → · Palette generator →

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